From 6c9eb1b024e629cc856d3414a96c863a13671a60 Mon Sep 17 00:00:00 2001 From: Graeme Geldenhuys Date: Mon, 27 Sep 2010 17:06:14 +0200 Subject: docs: Moved additional topics into separate xml description files. * So the changing default fpgui language topic has now moved out of fpg_constants into its own xml file. * Started a new topic related to drag and drop support. --- docs/xml/corelib/fpg_constants.xml | 23 +---------------------- docs/xml/fpgui_topic_defaultlanguage.xml | 31 +++++++++++++++++++++++++++++++ docs/xml/fpgui_topic_dnd.xml | 32 ++++++++++++++++++++++++++++++++ 3 files changed, 64 insertions(+), 22 deletions(-) create mode 100644 docs/xml/fpgui_topic_defaultlanguage.xml create mode 100644 docs/xml/fpgui_topic_dnd.xml (limited to 'docs') diff --git a/docs/xml/corelib/fpg_constants.xml b/docs/xml/corelib/fpg_constants.xml index 3f66acbe..52377575 100644 --- a/docs/xml/corelib/fpg_constants.xml +++ b/docs/xml/corelib/fpg_constants.xml @@ -20,7 +20,7 @@ has translations for:

To change the default (compiled in) language used by fpGUI, simply enabled one of the language DEFINES in the interface section of the fpg_constants unit.

For more details on changing the default language of fpGUI Toolkit, see the topic -"Changing the default language".

+"Changing the default language".

A utility function to add a colon at the correct location in a string @@ -37,27 +37,6 @@ one of the language DEFINES in the interface section of the fpg_constants unit.< Maximum distance a mouse pointer can move between two left-clicks and still trigger a double click event - -Changing the default language -

Inside the fpg_constants.pas unit there are a few commented language -defines. If no language specific Define is set, then fpGUI defaults to the English -language. So say you want to change the default language to German, simply uncomment -the de define, and recompile fpGUI. -

-

Here is a list of current supported languages and their commented defines as they -appear in the fpg_constants unit.

- -{.$DEFINE de} // German -{.$DEFINE ru} // Russian -{.$DEFINE fr} // French -{.$DEFINE pt} // Portuguese (Brazil) -{.$DEFINE af} // Afrikaans -{.$DEFINE it} // Italian -{.$DEFINE es} // Spanish - -
-
- diff --git a/docs/xml/fpgui_topic_defaultlanguage.xml b/docs/xml/fpgui_topic_defaultlanguage.xml new file mode 100644 index 00000000..a4d3fa79 --- /dev/null +++ b/docs/xml/fpgui_topic_defaultlanguage.xml @@ -0,0 +1,31 @@ + + + + +Additional Topics + + +Changing the default language +

Inside the fpg_constants.pas unit there are a few commented language +defines. If no language specific Define is set, then fpGUI defaults to the English +language. So say you want to change the default language to German, simply uncomment +the de define, and recompile fpGUI. +

+

Here is a list of current supported languages and their commented defines as they +appear in the fpg_constants unit.

+ +{.$DEFINE de} // German +{.$DEFINE ru} // Russian +{.$DEFINE fr} // French +{.$DEFINE pt} // Portuguese (Brazil) +{.$DEFINE af} // Afrikaans +{.$DEFINE it} // Italian +{.$DEFINE es} // Spanish + +
+ + +
+
+
+
diff --git a/docs/xml/fpgui_topic_dnd.xml b/docs/xml/fpgui_topic_dnd.xml new file mode 100644 index 00000000..3c0f4346 --- /dev/null +++ b/docs/xml/fpgui_topic_dnd.xml @@ -0,0 +1,32 @@ + + + + +Additional Topics + + +Drag and Drop + +

Drag and drop provides a simple visual mechanism which users can use +to transfer information between and within applications. [In the literature this +is referred to as a "direct manipulation model".] Drag and drop is similar in +function to the clipboard's cut and paste mechanism. +

+

This topic describes the basic drag and drop mechanism and outlines the +approach used to enable it in custom widgets. +

+

Drag and Drop Classes

+

These classes deal with drag and drop and the necessary mime type encoding and +decoding.

+
+
TfpgDrag
The Object that initializes the drag and drop action, and +that manages the lifespan of the TfpgMimeData instance.
+
TfpgMimeData
This class manages data and a mime type describing that +data.
+
+
+ +
+
+
+
-- cgit v1.2.3-54-g00ecf