From 1e00430227e56fd2691f8374418f352c171039b1 Mon Sep 17 00:00:00 2001 From: graemeg Date: Mon, 23 Jul 2007 08:54:39 +0000 Subject: The first part of removing the obsolete fpGUI and replacing it with the new multi-handle design from the prototypes directory. --- docs/xml/gui/examples/TComboBox.ex1.pas | 10 - docs/xml/gui/examples/TGroupBox.ex1.pas | 20 - .../gui/examples/TStyleManager.RegisterClass.pas | 6 - docs/xml/gui/fpgui.xml | 9063 -------------------- docs/xml/gui/motifstyle.xml | 103 - docs/xml/gui/opensoftstyle.xml | 159 - docs/xml/gui/stylemanager.xml | 198 - docs/xml/gui/windowsstyle.xml | 46 - 8 files changed, 9605 deletions(-) delete mode 100644 docs/xml/gui/examples/TComboBox.ex1.pas delete mode 100644 docs/xml/gui/examples/TGroupBox.ex1.pas delete mode 100644 docs/xml/gui/examples/TStyleManager.RegisterClass.pas delete mode 100644 docs/xml/gui/fpgui.xml delete mode 100644 docs/xml/gui/motifstyle.xml delete mode 100644 docs/xml/gui/opensoftstyle.xml delete mode 100644 docs/xml/gui/stylemanager.xml delete mode 100644 docs/xml/gui/windowsstyle.xml (limited to 'docs/xml/gui') diff --git a/docs/xml/gui/examples/TComboBox.ex1.pas b/docs/xml/gui/examples/TComboBox.ex1.pas deleted file mode 100644 index 8414a9d6..00000000 --- a/docs/xml/gui/examples/TComboBox.ex1.pas +++ /dev/null @@ -1,10 +0,0 @@ -{ This example shows how we can setup a static TComboBox } - cbStyle := TComboBox.Create(self); - cbStyle.CanExpandWidth := True; - cbStyle.Items.Add('Windows'); // insert items into the combobox - cbStyle.Items.Add('WindowsXP'); - cbStyle.Items.Add('Motif'); - cbStyle.Items.Add('ClearLooks'); - cbStyle.Items.Add('OpenSoft'); - cbStyle.OnChange := @cbStyleChanged; // setup an event handler - cbStyle.ItemIndex := 0; // select the first item diff --git a/docs/xml/gui/examples/TGroupBox.ex1.pas b/docs/xml/gui/examples/TGroupBox.ex1.pas deleted file mode 100644 index 86c2eeba..00000000 --- a/docs/xml/gui/examples/TGroupBox.ex1.pas +++ /dev/null @@ -1,20 +0,0 @@ -{ The following example shows how we can set up a TGroupBox with a layout } - grpOne := TGroupBox.Create('Group Box 1', self); - grpOne.CanExpandWidth := True; - - VBox1 := TFBoxLayout.Create(self); - VBox1.Orientation := Vertical; - grpOne.InsertChild(VBox1); - - Radio1 := TRadioButton.Create('Radio button 1', self); - Radio2 := TRadioButton.Create('Radio button 2', self); - Radio3 := TRadioButton.Create('Radio button 3', self); - - Radio1.Checked := True; - Radio1.CanExpandWidth := True; - Radio2.CanExpandWidth := True; - Radio3.CanExpandWidth := True; - - VBox1.InsertChild(Radio1); - VBox1.InsertChild(Radio2); - VBox1.InsertChild(Radio3); diff --git a/docs/xml/gui/examples/TStyleManager.RegisterClass.pas b/docs/xml/gui/examples/TStyleManager.RegisterClass.pas deleted file mode 100644 index 5518386f..00000000 --- a/docs/xml/gui/examples/TStyleManager.RegisterClass.pas +++ /dev/null @@ -1,6 +0,0 @@ -initialization - gStyleManager.RegisterClass(cDefaultStyle, TWindowsStyle); - gStyleManager.RegisterClass('Windows', TWindowsStyle); - gStyleManager.RegisterClass('OpenSoft', TOpenSoftStyle); - gStyleManager.RegisterClass('Motif', TMotifStyle); - diff --git a/docs/xml/gui/fpgui.xml b/docs/xml/gui/fpgui.xml deleted file mode 100644 index 5a1cd297..00000000 --- a/docs/xml/gui/fpgui.xml +++ /dev/null @@ -1,9063 +0,0 @@ - - - - - - fpGUI is a GUI (graphical user interface) library for - Free Pascal - - . It is fully object-oriented; its - main goal is to provide its services independent of any - operating system or graphics environment. All painting is - done using fpGFX, while fpGUI provides a comfortable widget - set and other high-level classes. - - - - - - - - - - - - - - - - - - - - - Base unit from the fpGFX package. - - - - Abstract unit interfacing to the correct widget set. - Part of fpGFX package. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - The states a widget can be in. - - - - Is the widget currently enabled or disabled? - - - - Widget and parents are visible - - - - If the current size has been forced - no auto - resizes - - - - Widget has the input focus - - - - Mouse cursor is inside this widget - - - - User currently clicked on this widget - - - - - - - - - - - - - - - - - - Internal Button flags or states - - - - - - - - - - - - - - - - - - - - - - - - - - Internal CheckBox flags or states - - - - - - - - - - - - - - - - - - - - - - Enumerated list of message dialog buttons - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Enumerated arrow directions. - This gets used in drawing the arrow in ComboBox - butons or Scrollbar buttons. - - - - - - - - - - - - - - - - - - - - - The TStyleAbs class is an abstract base class that - encapsulates the look and feel of a GUI. - fpGUI contains a set of TStyleAbs subclasses that - emulate the styles of the different platforms supported by - fpGUI (TWindowsStyle, TMotifStyle, etc.). By default, these - styles are built into the fpGUI library. Styles are - preferably applied application wide, but can also be - applied per widget. fpGUI's built-in widgets use TStyleAbs to - perform all of their drawing, ensuring that they look - exactly like the equivalent native widgets. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Mouse event - - . This is a base event - being used by any mouse related events. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Mouse button press event - - . This occurs when - one of the mouse buttons are being depressed. - - - - Mouse button release event - - . This occurs - when the mouse button was pressed and is now being - released. - - - - - - - - - - - - - - - - - - - - - - - - - - Mouse enter event - - . This occurs when - the mouse enters a Window or a Widget. - - - - - - - - - - Mouse leave event - - . This occurs when - the mouse leaves the Window or Widget. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - The TWidget class is the base class of all user - interface objects. - -

Widgets are components that are normally visual and - the user can see them and possibly interact with them at - runtime. All widgets have properties, methods and events - that describe aspects of their appearance, such as the - position of the widget, the cursor or hint associated - with the widget, methods to paint or move the widget and - events that respond to user actions.

-

TWidget has many protected properties and methods that - are used or published by its descendants.

-

If you want to use a TWidget to hold child widgets you - will probably want to add a layout to the parent - TWidget.

-
- - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Processes all incoming event objects - -

- . Inside this - event you normally verify the type of event object and - pass it to a private event handler method, to do further - processing.

-

This method gets called before the - DistributeEventmethod.

-
- - - -
- - - - - - - - - - - Distributes event objects to it's children - - . This event - occurs after the - ProcessEvent. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Specifies the image used to represent the mouse - pointer when it passes into the region covered by the - widget. - Change the value of Cursor to provide feedback to - the user when the mouse pointer enters the widget. The - value of Cursor is the enumerated type of the cursor in the - set of cursors maintained by fpGFX (fpGFXBase - unit). - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Sets or Gets the widget's GUI style - -

Sets or Gets the widget's GUI style. The ownership of - the style object is not transferred.

-

If no style is set, the widget uses the application's - style default style, return by the gStyleManager.

-

- Warning:This function is particularly useful for - demonstration purposes, where you want to show fpGUI's - styling capabilities. Real applications should avoid it - and use one consistent GUI style instead.

-
- - - -
- - - Controls whether the widget responds to mouse, - keyboard and timer events. - Use Enabled to change the availability of the widget - to the user. To disable a control, set Enabled to false. - Disabled controls appear dimmed. If Enabled is false, the - control ignores mouse, keyboard and timer events. - - - - - - - - - - TContainerWidget is an abstract class that defines - the interface for containing other widgets - - . It also implements - the distribution of events to child widgets. You can't - create an instance of this class, as it contains abstract - methods, and doesn't actually define internally how to - store references to child widgets. It purely defines the - interface in doing so. This class is a decendant of - TWidgetand must be used as a base - for container widgets. - TLayoutis an example of a - container class that can hold multiple children. - TBinWidgetis an example of a - container class that can hold only a single child widget - - normally a TLayout descendant. - - - - - - - - - Distributes - Event objectsto all children - widgets - - . - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - This is a concrete class that implements all the - TContainerWidget's abstract methods - - . This class adds the ability - to contain a single child widget - normally a TLayout - descendant. Examples of such classes are the - TFormand - TGroupBox. For examples of - container classes that can hold multiple children, look at - TLayoutand it's - descendants. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - A data class used internall for TBoxLayout - - . It also serves as the base - class for other layout items. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - The fpGUI layout system provides a simple and - powerful way of specifying the layout of child - widgets - -

- .

-

By specifying the logical layout once, you get the - following benefits:

-
    -
  • Positioning of child widgets.
  • -
  • Sensible default sizes for windows.
  • -
  • Sensible minimum sizes for windows.
  • -
  • Resize handling.
  • -
  • -

    Automatic update when contents change:

    -
      -
    • Font size, text or other contents of child - widgets.
    • -
    • Hiding or showing a child widget.
    • -
    • Removal of child widgets.
    • -
    -
  • -
-
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - A data class used internally for - TFixedLayout - - . - - - - - - - - - - - - - - - - The TFixedLayout allows you to arrange widgets at - set x and y co-ordinates - - . This is like the current - Form Designers of Lazarus and Borland Delphi works. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Lays out widgets in a horizontal or vertical - position. - A TBoxLayout lays out widgets in a horizontal row, - from left to right, or in a vertical column, from top to - bottom. By default, the TBoxLayout uses the horizontal - layout. You can toggle between horizontal and vertical - layouts, by using the Orientation property. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Toggle the layout of the TBoxLayout class. - Two possible orientations exist - Horizontal (the - default) or Vertical. - - - - - - - - - - - - - - - - A data class used internally for TGridLayout - - . - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - The TGridLayout class lays out widgets in a - grid. - -

TGridLayout takes the space made available to it (by - its parent layout or by the Parent), divides it up into - rows and columns, and puts each widget it manages into - the correct cell.

-

Columns and rows behave identically. A TGridLayout - lays out widgets in a two-dimensional grid. Widgets can - also occupy multiple cells.

- - - - - - - - - - - - - - - - -
0,00,10,2
1,01,11,2
2,02,12,2
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Base Edit component with no published - properties. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Position of cursor in the edit widget - - . If CursorPos = 0 - then the cursor in infront of the first character of text. - If CursorPos = 1 then the cursor is after the first - character of text, etc. - - - - - - - - - - - - - - - - - - - - - The TEdit widget is a one-line text editor - -

- . A TEdit allows the user to - enter and edit a single line of plain text.

-

By changing the - PasswordCharproperty - of a TEdit, it can also be used as a "write-only" field, - for inputs such as passwords.

-
- - - -
- - - - - - - - - - - - - - - Character to use when masking the text input - - . The default is - ascii char 0, which will then display the TEdit text as - normal. Changing it to any other character, will show the - TEdit text masked with this character. The most used - PasswordChar is the '*' character for password - fields. - - - - - - - - - - - - - - - - Defines a button that could be embedded in another - component. - This class defines a button that could be embedded - in another component. No default minimum size gets applied - either. This is the most basic button you can use. Example - of usage: The TScrollbar and TComboBox components use - TGenericButtons. - - - - - - - - - - - - - - - Draw the blank button face on the canvas. - This method draws a blank button face on the canvas. - Nothing else gets drawn. This method also takes into - account if the button is Embedded on not, which will affect - the buttons look in some ways. eg: Must it have a Focus - Rectangle or not. - - - - - - - - - - - - - - - - - - - - - - - - - - - Used to create new custom type of button - components - Used to create new custom type of buttons normally - used in dialogs and windows. There are also no properties - published in this component and in has a default minimum - width set to 75 pixels. - - - - - - - - This draws the Text on the already draw button - face. - This draws the Text on the already draw button - face. - - - - - - - - - - Calculates the size of the button. - This method calculates the size of the button and - also applies the default minimum size of 75 pixels - wide. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Resets the Position to its maximum or minimum - size - - . This is - a helper function used internally. The way it works is as - follows. Say the Max Size of the scrollbar is 10 and the - current Position is 10. Now if the user tries to scroll - even further, 11 gets passed to the method. The - ClipPosition sees that 11 is past the Max value, so clips - in back to 10. The oposite is true for the Min - value. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - The scrollbar orientation - This can be either Vertical or Horizontal. - - - - Minimum position - This is the minimum position the the scrollbar can - move to. - - - - Maximum position - This is the maximum position the scrollbar can move - to. - - - - - - - - - - Current position of scrollbar - This is the current position of the - scrollbar. - - - - Determines how much - Positionchanges when - the user clicks the arrow buttons on the scroll bar or - presses the arrow keys on the keyboard. - -

Set SmallChange to specify how much to change the - value of Position when the user clicks on the arrow - buttons. The Max and Min properties define the total - range over which Position can vary.

-

For example, if Max is 100 and Min is 0, the scroll - box can assume 100 positions. If the SmallChange property - setting is 5 and the Position property is 0, the user can - click the down or right arrow button 20 times before the - thumb tab is moved all the way to the end of the scroll - bar.

-
- -
- - - Determines how much - Positionchanges when - the user clicks the scroll bar on either side of the thumb - tab or presses PgUp or PgDn. - -

Set LargeChange to specify how much to change the - value of - Positionwhen the - user clicks on the side of the thumb tab (that is, on the - thumb tab track, but not on the thumb tab itself). The - Max and Min properties define the total range over which - Position can vary.

-

For example, if Max is 100 and Min is 0, the scroll - box can assume 100 positions. If the LargeChange property - setting is 20 and the Position property is 0, the user - can click the scroll bar track five times after the thumb - tab before it moves all the way to the end of the scroll - bar (100 / 20 = 5).

-
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - The TGroupBox widget provides a group box frame with - a title - - . TGroupBox doesn't - automatically lay out the child widgets (which are often - TCheckBoxes or TRadioButtons but can be any - widgets). - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - The TComboBox widget is a combined button and popup - list. - -

A TComboBox provides a means of presenting a list of - options to the user in a way that takes up the minimum - amount of screen space.

-

A combobox is a selection widget that displays the - current item, and can pop up a list of selectable items. - A combobox may be editable, allowing the user to modify - each item in the list.

-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - TCustomForm is a base class from which to derive a - window such as a form or dialog. - Derive from TCustomForm to create a custom window. - The TCustomForm descendant can contain other objects, such - as TButton, TCheckBox and TComboBox objects, but they have - to be placed into a Layout Manager class. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - A descendant of TCustomForm with published - properties - - . - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - The TApplication class manages the GUI application's - control flow and main settings - - . For any GUI application - that uses fpGUI, there is precisely one TApplication - object, no matter whether the application has 0, 1, 2 or - more windows at any time. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Global TApplication instance - - is a object that holds all - the different parts together. It stores the instance - variables for the TStyle, TScreen, etc. - - - - Returns the smallest value of the two - - - - - - - - - - - - - - - - Returns the greater of two values. - - - - - - - - - - - - - - - - Clip the value until it is between min and - max - - . It is currently used - internally in the TScrollBarSlider.EvMouseMove to limit the - amount the user can scroll the scrollbar thumb - button. - - - - the clipped result value - - - - value to be tested - - - - minimum allowed value - - - - maximum allowed value - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - The TMotifStyle class provides Motif look and - feel. - This class implements the Motif look and feel. It - closely resembles the original Motif look as defined by the - Open Group, but with some minor improvements. The Motif - style is fpGUI's default GUI style on Unix - platforms. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - A container for TMenuItem objects - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
-
diff --git a/docs/xml/gui/motifstyle.xml b/docs/xml/gui/motifstyle.xml deleted file mode 100644 index 0374d286..00000000 --- a/docs/xml/gui/motifstyle.xml +++ /dev/null @@ -1,103 +0,0 @@ - - - - - - Defines a Motif GUI Style. - . The traditional Unix GUI style. - - - - - - - - - - - - - - - - - - - - - - - - - - - Defines a Motif GUI Style. - . The traditional Unix GUI style. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/docs/xml/gui/opensoftstyle.xml b/docs/xml/gui/opensoftstyle.xml deleted file mode 100644 index 3dc27776..00000000 --- a/docs/xml/gui/opensoftstyle.xml +++ /dev/null @@ -1,159 +0,0 @@ - - - - - - Defines a custom GUI Style called OpenSoft. - . This started as a proof-of-concept - on how a custom style can be created. In the future this will be used - as the default style in my company products. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Defines a custom GUI Style called OpenSoft. - . This started as a proof-of-concept - on how a custom style can be created. In the future this will be used - as the default style in my company products. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/docs/xml/gui/stylemanager.xml b/docs/xml/gui/stylemanager.xml deleted file mode 100644 index f3f6bc60..00000000 --- a/docs/xml/gui/stylemanager.xml +++ /dev/null @@ -1,198 +0,0 @@ - - - - - - Defines a class that manages all the GUI Styles. - . All the different styles - must register with the Style Manager to be used at runtime. - - - - - - - - - - - - - - - - - - - - Defines the default style the system will use. - - - - - - - - - - Class that manages the different styles - . It's function is to register new style classes, create instances of the style classes and many more functions. - - - - - - - - - - - - - - - Returns a instance of the default style - . At the moment the default style is hard-coded to the Windows Style, but in the future it will be auto-detected based on the OS and Desktop Manager used. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Singleton function to access the Style Manager - . Never create a instance of TStyleManager, always access in through the singleton function. - - - - - - - Class to map a string name to a style class - . Used internally as a data class to map a user friendly style name to a style class. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - User friendly style name - . - - - Class reference to the Style Class - . - - - - - - - - - - - - - - - - - - - Method used to register a new style with the Style Manager - - - - - - - - - - - - - Creates an instance of the named style - . - - - An instance of the named style - . - - - The style name - . This name will be used and looked up internally in the style manager and if found, a instance of that style will be returned. - - - - - - - - - - - - - - - - diff --git a/docs/xml/gui/windowsstyle.xml b/docs/xml/gui/windowsstyle.xml deleted file mode 100644 index 96fd9690..00000000 --- a/docs/xml/gui/windowsstyle.xml +++ /dev/null @@ -1,46 +0,0 @@ - - - - - - Defines the Windows 9x/2000 GUI Style - . Currently this is the default - style under all platforms. In the future the Style Manager will be - able to detect the OS and Desktop Manager and then pick a more - appropriate style. - - - - - - - - - - - - - - - - - - - - - Defines the Windows 9x/2000 GUI Style. - . Currently this is the default - style under all platforms. In the future the Style Manager will be - able to detect the OS and Desktop Manager and then pick a more - appropriate style. - - - - - - - -- cgit v1.2.3-70-g09d2