summaryrefslogtreecommitdiff
path: root/docs/xml/gui/fpg_button.xml
blob: 0058968ab546c41542b38b42b75a346e6ab269e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<?xml version="1.0"?>
<fpdoc-descriptions>
  <package name="fpGUI">
    <module name="fpg_button">
      <short>This unit defines the push button classes.</short>
      <element name="TImageLayout">
        <short>Enum type defining the position of images inside a Button</short>
      </element>
      <element name="TImageLayout.ilImageLeft">
        <short>Image to the left of the button text.</short>
      </element>
      <element name="TImageLayout.ilImageTop">
        <short>Image above the button text.</short>
      </element>
      <element name="TImageLayout.ilImageRight">
        <short>Image to the right of the button text.</short>
      </element>
      <element name="TImageLayout.ilImageBottom">
        <short>Image below the button text.</short>
      </element>
      <element name="TfpgBaseButton">
        <short>Base class the represents a push button control</short>
      </element>
      <element name="TfpgBaseButton.ImageLayout">
        <short>Defines where on the button the image will be displayed</short>
      </element>
      <element name="TfpgBaseButton.ImageSpacing">
        <short>The spacing between the Image and the Text</short>
        <descr>The <var>ImageSpacing</var> value is in pixels. The value range
is from -1 to any positive value. -1 has a special meaning and is also the
default value. When ImageSpacing equals -1, then the spacing between the button
image and the button text is automatically calculated so that the button text
is centred in the available horizontal space of the button.</descr>
      </element>
      <element name="TfpgBaseButton.ImageName">
        <short>The registered name of a image to display on the button</short>
        <descr>
          <printshort id="TfpgBaseButton.ImageName"/>. This is the name used when
a image resource was registered with the global <link id="#fpgui.fpg_main.fpgImages">fpgImages</link> instance.</descr>
      </element>
    </module>
  </package>
</fpdoc-descriptions>