summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGraeme Geldenhuys <graeme@mastermaths.co.za>2011-07-12 20:35:06 +0200
committerGraeme Geldenhuys <graeme@mastermaths.co.za>2011-07-12 20:40:09 +0200
commitbf484450bf675e209c78dbbaef9d81503530e9a4 (patch)
treeda4a7b9a820ee3d066647727e7d338d53aeab8a2
parent3f55d7982864cf0258868d02e3b072ad96a532e5 (diff)
downloadfpGUI-bf484450bf675e209c78dbbaef9d81503530e9a4.tar.xz
docs: update for fpg_base unit
-rw-r--r--docs/xml/corelib/fpg_base.xml96
1 files changed, 61 insertions, 35 deletions
diff --git a/docs/xml/corelib/fpg_base.xml b/docs/xml/corelib/fpg_base.xml
index a222542e..428eae3e 100644
--- a/docs/xml/corelib/fpg_base.xml
+++ b/docs/xml/corelib/fpg_base.xml
@@ -51,8 +51,8 @@ etc.).
</element>
<!-- record type Visibility: default -->
<element name="TRGBTriple">
- <short>A record structure holding the RGBA values of a color.</short>
- <descr>This is now marked as "deprecated". Please use <link id="fpg_base.TFPColor">TFPColor</link> instead.</descr>
+ <short>A record structure holding the RGBA values of a color</short>
+ <descr><printshort id="TRGBTriple"/>. This is now marked as "deprecated". Please use <link id="fpg_base.TFPColor">TFPColor</link> instead.</descr>
<seealso/>
</element>
<!-- variable Visibility: default -->
@@ -87,32 +87,50 @@ means no titlebar or window borders are going to be created.</short>
<short>This window will normally not have a titlebar or window borders.</short>
<descr>This window will normally not have a titlebar or window borders and will appear above other windows. It is used for example in the dropdown window of a ComboBox or a tooltip window or popup menus. This type of window does not steal focus.</descr>
</element>
- <!-- enumeration type Visibility: default -->
- <element name="TWindowAttribute">
- <short>An enum types defining extra attributes of a window.</short>
- <descr/>
- <seealso/>
- </element>
- <!-- enumeration value Visibility: default -->
- <element name="TWindowAttribute.waSizeable">
- <short>If this attribute is set, the window will be resizeable by the user.</short>
- </element>
- <!-- enumeration value Visibility: default -->
- <element name="TWindowAttribute.waAutoPos">
- <short>If this attribute is set, the underlying window manager will decide where
-the window will be placed on the screen it it becomes visible for the first time.</short>
- </element>
- <!-- enumeration value Visibility: default -->
- <element name="TWindowAttribute.waScreenCenterPos">
- <short>If this attribute is set, the window will be centred on the screen when
-it is shown for the first time.</short>
- </element>
- <!-- set type Visibility: default -->
- <element name="TWindowAttributes">
- <short>A set of TWindowAttribute types.</short>
- <descr/>
- <seealso/>
- </element>
+
+<element name="TWindowAttribute">
+<short>An enum types defining extra attributes of a window.</short>
+</element>
+
+<element name="TWindowAttribute.waSizeable">
+<short>If this attribute is set, the window will be resizeable by the user.</short>
+</element>
+
+<element name="TWindowAttribute.waAutoPos">
+<short>If this attribute is set, the underlying window manager will decide where
+the window will be placed on the screen, when it becomes visible for the first time.</short>
+</element>
+
+<element name="TWindowAttribute.waBorderless">
+<short>The window will have no border painted. This is used in windows like Tooltips, Splash screens etc.</short>
+</element>
+
+<element name="TWindowAttribute.waFullScreen">
+<short>When set, this will tell the window manager to create the window in a full screen state.</short>
+</element>
+
+<element name="TWindowAttribute.waOneThirdDownPos">
+<short>When set, the fpGUI framework will calculate the remaining desktop space (minus the window height), and
+then position the window one third of the way down (from the top of the screen). This is usually a more
+desired position than the screen center.</short>
+</element>
+
+<element name="TWindowAttribute.waScreenCenterPos">
+<short>If this attribute is set, the window will be centered on the screen when it is shown for
+the first time.</short>
+</element>
+
+<element name="TWindowAttribute.waStayOnTop">
+<short>If set, the window will always be above all other windows. This is used for example is Splash Screen windows.</short>
+</element>
+
+<element name="TWindowAttributes">
+<short>A set of TWindowAttribute types.</short>
+<seealso>
+<link id="fpg_base.TWindowAttribute">TWindowAttribute</link>
+</seealso>
+</element>
+
<!-- enumeration type Visibility: default -->
<element name="TMouseCursor">
<short>Enum types of the available mouse cursor shapes.</short>
@@ -919,12 +937,20 @@ set to gdVertical, then it paints from top to bottom.</descr>
<element name="TFileEntry.ModTime">
<short>Last modified timestamp</short>
</element>
-
- <element name="TFPColor">
- <short>A record structure holding the RGBA values of a color.</short>
- <descr>This is the same declaration as the one found in FPImage (include with Free Pascal Compiler). In future when FPImage is integrated with fpGUI, I will remove this declaration.</descr>
- </element>
-
+
+<element name="TFPColor">
+<short>A record structure holding the RGBA values of a color.</short>
+<descr>This is the same declaration as the one found in FPImage (included with the
+Free Pascal Compiler). In future when FPImage is integrated with fpGUI, this declaration
+will be removed.</descr>
+</element>
+
+<element name="TfpgPoint">
+<short>An extension of the FPC TPoint structure</short>
+<descr><p><printshort id="TfpgPoint"/>. This structure is used inside the fpGUI framework, and includes some extra methods like
+calculating lengths between to points etc.</p></descr>
+</element>
+
<element name="TfpgPoint.ManhattanLength">
<short>Quick calculation of the length between points</short>
<descr><p>Returns the sum of the absolute values of X and Y,
@@ -953,7 +979,7 @@ The tradition of "Manhattan length" arises because such distances
apply to travelers who can only travel on a rectangular grid, like
the streets of Manhattan.</p>
<p>For a further explanation of "Manhattan length" see the Wikipedia article on
-<url href="http://en.wikipedia.org/wiki/Taxicab_geometry">Taxicab geometry</url>.</p>
+<url href="http://en.wikipedia.org/wiki/Taxicab_geometry">Taxicab geometry</url>.</p>
</descr>
</element>