fxruby 1.6.22-x86-mingw32 → 1.6.23-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +14 -0
- data/.yardopts +8 -0
- data/History.txt +6 -0
- data/Manifest.txt +317 -24
- data/README.git +3 -0
- data/README.rdoc +537 -0
- data/Rakefile +62 -46
- data/Rakefile.cross +397 -0
- data/doap.rdf +3 -3
- data/doap.rdf.erb +87 -0
- data/examples/WhatAQuietStiff.rb +356 -0
- data/examples/canvasdemo.rb +88 -0
- data/examples/gdchart.rb +76 -0
- data/examples/gembrowser.rb +289 -0
- data/examples/rmagick.rb +44 -0
- data/lib/1.8/fox16.so +0 -0
- data/lib/1.9/fox16.so +0 -0
- data/lib/fox16/canvas.rb +606 -0
- data/lib/fox16/irb.rb +1 -0
- data/lib/fox16/splashscreen.rb +1 -0
- data/lib/fox16/tkcompat.rb +56 -0
- data/lib/fox16/version.rb +1 -1
- data/rdoc-sources/FX4Splitter.rb +44 -44
- data/rdoc-sources/FX7Segment.rb +3 -3
- data/rdoc-sources/FXAccelTable.rb +1 -1
- data/rdoc-sources/FXApp.rb +51 -51
- data/rdoc-sources/FXArrowButton.rb +6 -6
- data/rdoc-sources/FXBMPIcon.rb +12 -12
- data/rdoc-sources/FXBMPImage.rb +6 -6
- data/rdoc-sources/FXBitmap.rb +9 -9
- data/rdoc-sources/FXBitmapFrame.rb +3 -3
- data/rdoc-sources/FXBitmapView.rb +12 -12
- data/rdoc-sources/FXButton.rb +5 -5
- data/rdoc-sources/FXCanvas.rb +4 -4
- data/rdoc-sources/FXCheckButton.rb +7 -7
- data/rdoc-sources/FXChoiceBox.rb +16 -16
- data/rdoc-sources/FXColorBar.rb +9 -9
- data/rdoc-sources/FXColorDialog.rb +4 -4
- data/rdoc-sources/FXColorList.rb +1 -1
- data/rdoc-sources/FXColorRing.rb +4 -4
- data/rdoc-sources/FXColorSelector.rb +38 -38
- data/rdoc-sources/FXColorWell.rb +15 -15
- data/rdoc-sources/FXColorWheel.rb +8 -8
- data/rdoc-sources/FXComboBox.rb +24 -24
- data/rdoc-sources/FXCursor.rb +12 -12
- data/rdoc-sources/FXDC.rb +176 -176
- data/rdoc-sources/FXDCPrint.rb +20 -20
- data/rdoc-sources/FXDCWindow.rb +2 -2
- data/rdoc-sources/FXDataTarget.rb +1 -1
- data/rdoc-sources/FXDebugTarget.rb +1 -1
- data/rdoc-sources/FXDelegator.rb +2 -2
- data/rdoc-sources/FXDial.rb +9 -9
- data/rdoc-sources/FXDialogBox.rb +3 -3
- data/rdoc-sources/FXDict.rb +2 -3
- data/rdoc-sources/FXDirBox.rb +2 -2
- data/rdoc-sources/FXDirList.rb +14 -14
- data/rdoc-sources/FXDirSelector.rb +14 -14
- data/rdoc-sources/FXDockBar.rb +35 -35
- data/rdoc-sources/FXDockHandler.rb +2 -2
- data/rdoc-sources/FXDockSite.rb +11 -11
- data/rdoc-sources/FXDockTitle.rb +2 -2
- data/rdoc-sources/FXDocument.rb +2 -2
- data/rdoc-sources/FXDragCorner.rb +2 -2
- data/rdoc-sources/FXDrawable.rb +5 -5
- data/rdoc-sources/FXDriveBox.rb +3 -3
- data/rdoc-sources/FXFileDialog.rb +24 -24
- data/rdoc-sources/FXFileDict.rb +11 -11
- data/rdoc-sources/FXFileList.rb +25 -25
- data/rdoc-sources/FXFileSelector.rb +31 -31
- data/rdoc-sources/FXFileStream.rb +3 -3
- data/rdoc-sources/FXFoldingList.rb +76 -76
- data/rdoc-sources/FXFont.rb +133 -133
- data/rdoc-sources/FXFontDialog.rb +1 -1
- data/rdoc-sources/FXFontSelector.rb +14 -14
- data/rdoc-sources/FXFrame.rb +5 -5
- data/rdoc-sources/FXGIFCursor.rb +6 -6
- data/rdoc-sources/FXGIFIcon.rb +6 -6
- data/rdoc-sources/FXGIFImage.rb +5 -5
- data/rdoc-sources/FXGLContext.rb +1 -1
- data/rdoc-sources/FXGLObject.rb +8 -8
- data/rdoc-sources/FXGLShape.rb +23 -23
- data/rdoc-sources/FXGLViewer.rb +51 -51
- data/rdoc-sources/FXGLVisual.rb +1 -0
- data/rdoc-sources/FXGradientBar.rb +31 -31
- data/rdoc-sources/FXGroupBox.rb +6 -6
- data/rdoc-sources/FXHeader.rb +30 -33
- data/rdoc-sources/FXHorizontalFrame.rb +12 -12
- data/rdoc-sources/FXICOIcon.rb +14 -14
- data/rdoc-sources/FXICOImage.rb +5 -5
- data/rdoc-sources/FXIcon.rb +7 -7
- data/rdoc-sources/FXIconDict.rb +1 -0
- data/rdoc-sources/FXIconList.rb +60 -60
- data/rdoc-sources/FXId.rb +1 -1
- data/rdoc-sources/FXImage.rb +49 -49
- data/rdoc-sources/FXImageFrame.rb +12 -12
- data/rdoc-sources/FXImageView.rb +10 -10
- data/rdoc-sources/FXInputDialog.rb +4 -4
- data/rdoc-sources/FXJPGIcon.rb +13 -13
- data/rdoc-sources/FXJPGImage.rb +5 -5
- data/rdoc-sources/FXKnob.rb +12 -12
- data/rdoc-sources/FXLabel.rb +3 -3
- data/rdoc-sources/FXList.rb +31 -31
- data/rdoc-sources/FXListBox.rb +7 -7
- data/rdoc-sources/FXMDIChild.rb +24 -24
- data/rdoc-sources/FXMDIClient.rb +1 -1
- data/rdoc-sources/FXMatrix.rb +2 -2
- data/rdoc-sources/FXMemoryBuffer.rb +1 -1
- data/rdoc-sources/FXMemoryStream.rb +1 -1
- data/rdoc-sources/FXMenuButton.rb +20 -19
- data/rdoc-sources/FXMenuCaption.rb +9 -9
- data/rdoc-sources/FXMenuCascade.rb +1 -1
- data/rdoc-sources/FXMenuCheck.rb +2 -2
- data/rdoc-sources/FXMenuCommand.rb +1 -1
- data/rdoc-sources/FXMenuRadio.rb +2 -2
- data/rdoc-sources/FXMenuSeparator.rb +2 -2
- data/rdoc-sources/FXMenuTitle.rb +5 -5
- data/rdoc-sources/FXMessageBox.rb +16 -16
- data/rdoc-sources/FXOptionMenu.rb +14 -14
- data/rdoc-sources/FXPCXIcon.rb +12 -12
- data/rdoc-sources/FXPCXImage.rb +5 -5
- data/rdoc-sources/FXPNGIcon.rb +12 -12
- data/rdoc-sources/FXPNGImage.rb +5 -5
- data/rdoc-sources/FXPPMIcon.rb +6 -6
- data/rdoc-sources/FXPPMImage.rb +5 -5
- data/rdoc-sources/FXPacker.rb +4 -4
- data/rdoc-sources/FXPopup.rb +5 -5
- data/rdoc-sources/FXPrintDialog.rb +21 -21
- data/rdoc-sources/FXProgressBar.rb +10 -10
- data/rdoc-sources/FXProgressDialog.rb +3 -3
- data/rdoc-sources/FXQuatd.rb +19 -19
- data/rdoc-sources/FXQuatf.rb +23 -23
- data/rdoc-sources/FXRGBIcon.rb +13 -13
- data/rdoc-sources/FXRGBImage.rb +5 -5
- data/rdoc-sources/FXRadioButton.rb +10 -10
- data/rdoc-sources/FXRanged.rb +2 -2
- data/rdoc-sources/FXRangef.rb +2 -2
- data/rdoc-sources/FXRealSlider.rb +33 -33
- data/rdoc-sources/FXRealSpinner.rb +31 -31
- data/rdoc-sources/FXRecentFiles.rb +14 -14
- data/rdoc-sources/FXRectangle.rb +22 -22
- data/rdoc-sources/FXRegistry.rb +3 -3
- data/rdoc-sources/FXReplaceDialog.rb +20 -20
- data/rdoc-sources/FXRootWindow.rb +2 -2
- data/rdoc-sources/FXRuler.rb +28 -28
- data/rdoc-sources/FXRulerView.rb +5 -5
- data/rdoc-sources/FXScrollArea.rb +27 -27
- data/rdoc-sources/FXScrollBar.rb +26 -26
- data/rdoc-sources/FXScrollPane.rb +3 -3
- data/rdoc-sources/FXScrollWindow.rb +6 -6
- data/rdoc-sources/FXSearchDialog.rb +8 -8
- data/rdoc-sources/FXSeparator.rb +24 -24
- data/rdoc-sources/FXSettings.rb +44 -44
- data/rdoc-sources/FXShutter.rb +35 -35
- data/rdoc-sources/FXSize.rb +14 -14
- data/rdoc-sources/FXSlider.rb +33 -33
- data/rdoc-sources/FXSphered.rb +2 -2
- data/rdoc-sources/FXSpheref.rb +2 -2
- data/rdoc-sources/FXSpinner.rb +30 -30
- data/rdoc-sources/FXSplashWindow.rb +5 -5
- data/rdoc-sources/FXSplitter.rb +18 -18
- data/rdoc-sources/FXSpring.rb +15 -15
- data/rdoc-sources/FXStatusBar.rb +14 -14
- data/rdoc-sources/FXStatusLine.rb +7 -7
- data/rdoc-sources/FXStream.rb +20 -20
- data/rdoc-sources/FXSwitcher.rb +23 -23
- data/rdoc-sources/FXTGAIcon.rb +12 -12
- data/rdoc-sources/FXTGAImage.rb +5 -5
- data/rdoc-sources/FXTIFIcon.rb +13 -13
- data/rdoc-sources/FXTIFImage.rb +5 -5
- data/rdoc-sources/FXTabBar.rb +31 -31
- data/rdoc-sources/FXTabBook.rb +13 -13
- data/rdoc-sources/FXTabItem.rb +22 -22
- data/rdoc-sources/FXTable.rb +148 -148
- data/rdoc-sources/FXText.rb +91 -91
- data/rdoc-sources/FXTextField.rb +39 -39
- data/rdoc-sources/FXToggleButton.rb +32 -32
- data/rdoc-sources/FXToolBar.rb +25 -25
- data/rdoc-sources/FXToolBarGrip.rb +12 -12
- data/rdoc-sources/FXToolBarShell.rb +13 -13
- data/rdoc-sources/FXToolBarTab.rb +16 -16
- data/rdoc-sources/FXTopWindow.rb +18 -18
- data/rdoc-sources/FXTranslator.rb +1 -1
- data/rdoc-sources/FXTreeList.rb +66 -66
- data/rdoc-sources/FXTreeListBox.rb +20 -20
- data/rdoc-sources/FXTriStateButton.rb +23 -23
- data/rdoc-sources/FXVec2d.rb +1 -1
- data/rdoc-sources/FXVec2f.rb +1 -1
- data/rdoc-sources/FXVec3d.rb +1 -1
- data/rdoc-sources/FXVec3f.rb +1 -1
- data/rdoc-sources/FXVec4d.rb +1 -1
- data/rdoc-sources/FXVec4f.rb +1 -1
- data/rdoc-sources/FXVerticalFrame.rb +12 -12
- data/rdoc-sources/FXVisual.rb +19 -19
- data/rdoc-sources/FXWindow.rb +96 -96
- data/rdoc-sources/FXWizard.rb +9 -9
- data/rdoc-sources/FXXBMIcon.rb +7 -7
- data/rdoc-sources/FXXBMImage.rb +6 -6
- data/rdoc-sources/FXXPMIcon.rb +13 -13
- data/rdoc-sources/FXXPMImage.rb +5 -5
- data/rdoc-sources/Makefile +3 -3
- metadata +44 -31
- data/README +0 -39
- data/README.txt +0 -483
data/rdoc-sources/FXMenuTitle.rb
CHANGED
@@ -7,14 +7,14 @@ module Fox
|
|
7
7
|
#
|
8
8
|
# The following messages are sent by FXMenuTitle to its target:
|
9
9
|
#
|
10
|
-
# +SEL_KEYPRESS+::
|
11
|
-
# +SEL_KEYRELEASE+::
|
12
|
-
# +SEL_LEFTBUTTONPRESS+::
|
13
|
-
# +SEL_LEFTBUTTONRELEASE+::
|
10
|
+
# +SEL_KEYPRESS+:: sent when a key goes down; the message data is an FXEvent instance.
|
11
|
+
# +SEL_KEYRELEASE+:: sent when a key goes up; the message data is an FXEvent instance.
|
12
|
+
# +SEL_LEFTBUTTONPRESS+:: sent when the left mouse button goes down; the message data is an FXEvent instance.
|
13
|
+
# +SEL_LEFTBUTTONRELEASE+:: sent when the left mouse button goes up; the message data is an FXEvent instance.
|
14
14
|
#
|
15
15
|
class FXMenuTitle < FXMenuCaption
|
16
16
|
|
17
|
-
# The popup menu
|
17
|
+
# The popup menu {FXPopup}
|
18
18
|
attr_accessor :menu
|
19
19
|
|
20
20
|
#
|
@@ -10,25 +10,25 @@ module Fox
|
|
10
10
|
#
|
11
11
|
# === Message box buttons
|
12
12
|
#
|
13
|
-
# +MBOX_OK+::
|
14
|
-
# +MBOX_OK_CANCEL+::
|
15
|
-
# +MBOX_YES_NO+::
|
16
|
-
# +MBOX_YES_NO_CANCEL+::
|
17
|
-
# +MBOX_QUIT_CANCEL+::
|
18
|
-
# +MBOX_QUIT_SAVE_CANCEL+::
|
19
|
-
# +MBOX_SKIP_SKIPALL_CANCEL+::
|
20
|
-
# +MBOX_SAVE_CANCEL_DONTSAVE+::
|
13
|
+
# +MBOX_OK+:: Message box has a only an *Ok* button
|
14
|
+
# +MBOX_OK_CANCEL+:: Message box has *Ok* and *Cancel* buttons
|
15
|
+
# +MBOX_YES_NO+:: Message box has *Yes* and *No* buttons
|
16
|
+
# +MBOX_YES_NO_CANCEL+:: Message box has *Yes*, *No*, and *Cancel* buttons
|
17
|
+
# +MBOX_QUIT_CANCEL+:: Message box has *Quit* and *Cancel* buttons
|
18
|
+
# +MBOX_QUIT_SAVE_CANCEL+:: Message box has *Quit*, *Save*, and *Cancel* buttons
|
19
|
+
# +MBOX_SKIP_SKIPALL_CANCEL+:: Message box has *Skip*, *Skip All* and *Cancel* buttons
|
20
|
+
# +MBOX_SAVE_CANCEL_DONTSAVE+:: Message box has *Don't Save*, *Cancel* and *Save* buttons
|
21
21
|
#
|
22
22
|
# === Return values
|
23
23
|
#
|
24
|
-
# +MBOX_CLICKED_YES+::
|
25
|
-
# +MBOX_CLICKED_NO+::
|
26
|
-
# +MBOX_CLICKED_OK+::
|
27
|
-
# +MBOX_CLICKED_CANCEL+::
|
28
|
-
# +MBOX_CLICKED_QUIT+::
|
29
|
-
# +MBOX_CLICKED_SAVE+::
|
30
|
-
# +MBOX_CLICKED_SKIP+::
|
31
|
-
# +MBOX_CLICKED_SKIPALL+::
|
24
|
+
# +MBOX_CLICKED_YES+:: The *Yes* button was clicked
|
25
|
+
# +MBOX_CLICKED_NO+:: The *No* button was clicked
|
26
|
+
# +MBOX_CLICKED_OK+:: The *Ok* button was clicked
|
27
|
+
# +MBOX_CLICKED_CANCEL+:: The *Cancel* button was clicked
|
28
|
+
# +MBOX_CLICKED_QUIT+:: The *Quit* button was clicked
|
29
|
+
# +MBOX_CLICKED_SAVE+:: The *Save* button was clicked
|
30
|
+
# +MBOX_CLICKED_SKIP+:: The *Skip* button was clicked
|
31
|
+
# +MBOX_CLICKED_SKIPALL+:: The *Skip All* button was clicked
|
32
32
|
# +MBOX_CLICKED_DONTSAVE+:: The *Don't Save* button was clicked (same as +MBOX_CLICKED_NO+)
|
33
33
|
#
|
34
34
|
class FXMessageBox < FXDialogBox
|
@@ -6,17 +6,17 @@ module Fox
|
|
6
6
|
#
|
7
7
|
# The following messages are sent by FXOption to its target:
|
8
8
|
#
|
9
|
-
# +SEL_KEYPRESS+::
|
10
|
-
# +SEL_KEYRELEASE+::
|
11
|
-
# +SEL_LEFTBUTTONPRESS+::
|
12
|
-
# +SEL_LEFTBUTTONRELEASE+::
|
13
|
-
# +SEL_COMMAND+::
|
9
|
+
# +SEL_KEYPRESS+:: sent when a key goes down; the message data is an FXEvent instance.
|
10
|
+
# +SEL_KEYRELEASE+:: sent when a key goes up; the message data is an FXEvent instance.
|
11
|
+
# +SEL_LEFTBUTTONPRESS+:: sent when the left mouse button goes down; the message data is an FXEvent instance.
|
12
|
+
# +SEL_LEFTBUTTONRELEASE+:: sent when the left mouse button goes up; the message data is an FXEvent instance.
|
13
|
+
# +SEL_COMMAND+:: sent when this option is clicked; the message data is an FXEvent instance.
|
14
14
|
#
|
15
15
|
class FXOption < FXLabel
|
16
|
-
# Selection background color
|
16
|
+
# Selection background color {FXColor}
|
17
17
|
attr_accessor :selBackColor
|
18
18
|
|
19
|
-
# Selection text color
|
19
|
+
# Selection text color {FXColor}
|
20
20
|
attr_accessor :selTextColor
|
21
21
|
|
22
22
|
#
|
@@ -33,21 +33,21 @@ module Fox
|
|
33
33
|
#
|
34
34
|
# The following messages are sent by FXOptionMenu to its target:
|
35
35
|
#
|
36
|
-
# +SEL_KEYPRESS+::
|
37
|
-
# +SEL_KEYRELEASE+::
|
38
|
-
# +SEL_LEFTBUTTONPRESS+::
|
39
|
-
# +SEL_LEFTBUTTONRELEASE+::
|
40
|
-
# +SEL_COMMAND+::
|
36
|
+
# +SEL_KEYPRESS+:: sent when a key goes down; the message data is an FXEvent instance.
|
37
|
+
# +SEL_KEYRELEASE+:: sent when a key goes up; the message data is an FXEvent instance.
|
38
|
+
# +SEL_LEFTBUTTONPRESS+:: sent when the left mouse button goes down; the message data is an FXEvent instance.
|
39
|
+
# +SEL_LEFTBUTTONRELEASE+:: sent when the left mouse button goes up; the message data is an FXEvent instance.
|
40
|
+
# +SEL_COMMAND+:: sent when this an option is selected; the message data is the option number.
|
41
41
|
#
|
42
42
|
class FXOptionMenu < FXLabel
|
43
43
|
|
44
|
-
# The current option, or +nil+ if none
|
44
|
+
# The current option, or +nil+ if none {FXOption}
|
45
45
|
attr_accessor :current
|
46
46
|
|
47
47
|
# The current option number, or -1 if none [Integer]
|
48
48
|
attr_accessor :currentNo
|
49
49
|
|
50
|
-
# The pane which will be popped up
|
50
|
+
# The pane which will be popped up {FXPopup}
|
51
51
|
attr_accessor :menu
|
52
52
|
|
53
53
|
#
|
data/rdoc-sources/FXPCXIcon.rb
CHANGED
@@ -18,12 +18,12 @@ module Fox
|
|
18
18
|
#
|
19
19
|
# ==== Parameters:
|
20
20
|
#
|
21
|
-
# +a+::
|
22
|
-
# +pix+::
|
23
|
-
# +clr+::
|
24
|
-
# +opts+::
|
25
|
-
# +width+::
|
26
|
-
# +height+::
|
21
|
+
# +a+:: an application instance {FXApp}
|
22
|
+
# +pix+:: a memory buffer formatted in PCX file format [String]
|
23
|
+
# +clr+:: transparency color {FXColor}
|
24
|
+
# +opts+:: options [Integer]
|
25
|
+
# +width+:: width [Integer]
|
26
|
+
# +height+:: height [Integer]
|
27
27
|
#
|
28
28
|
def initialize(a, pix=nil, clr=0, opts=0, width=1, height=1) # :yields: thePCXIcon
|
29
29
|
end
|
@@ -37,7 +37,7 @@ module Fox
|
|
37
37
|
#
|
38
38
|
# ==== Parameters:
|
39
39
|
#
|
40
|
-
# +store+::
|
40
|
+
# +store+:: stream from which to read the file data {FXStream}
|
41
41
|
#
|
42
42
|
def Fox.fxloadPCX(store); end
|
43
43
|
|
@@ -47,11 +47,11 @@ module Fox
|
|
47
47
|
#
|
48
48
|
# ==== Parameters:
|
49
49
|
#
|
50
|
-
# +store+::
|
51
|
-
# +data+::
|
52
|
-
# +transp+::
|
53
|
-
# +width+::
|
54
|
-
# +height+::
|
50
|
+
# +store+:: stream to which to write the image data {FXStream}
|
51
|
+
# +data+:: the image pixel data [String]
|
52
|
+
# +transp+:: transparency color {FXColor}
|
53
|
+
# +width+:: width [Integer]
|
54
|
+
# +height+:: height [Integer]
|
55
55
|
#
|
56
56
|
def Fox.fxsavePCX(store, data, transp, width, height); end
|
57
57
|
|
data/rdoc-sources/FXPCXImage.rb
CHANGED
@@ -18,11 +18,11 @@ module Fox
|
|
18
18
|
#
|
19
19
|
# ==== Parameters:
|
20
20
|
#
|
21
|
-
# +a+::
|
22
|
-
# +pix+::
|
23
|
-
# +opts+::
|
24
|
-
# +width+::
|
25
|
-
# +height+::
|
21
|
+
# +a+:: an application instance {FXApp}
|
22
|
+
# +pix+:: a memory buffer formatted in PCX file format [String]
|
23
|
+
# +opts+:: options [Integer]
|
24
|
+
# +width+:: width [Integer]
|
25
|
+
# +height+:: height [Integer]
|
26
26
|
#
|
27
27
|
def initialize(a, pix=nil, opts=0, width=1, height=1) # :yields: thePCXImage
|
28
28
|
end
|
data/rdoc-sources/FXPNGIcon.rb
CHANGED
@@ -21,12 +21,12 @@ module Fox
|
|
21
21
|
#
|
22
22
|
# ==== Parameters:
|
23
23
|
#
|
24
|
-
# +a+::
|
25
|
-
# +pix+::
|
26
|
-
# +clr+::
|
27
|
-
# +opts+::
|
28
|
-
# +width+::
|
29
|
-
# +height+::
|
24
|
+
# +a+:: an application instance {FXApp}
|
25
|
+
# +pix+:: a memory buffer formatted in PNG file format [String]
|
26
|
+
# +clr+:: transparency color {FXColor}
|
27
|
+
# +opts+:: options [Integer]
|
28
|
+
# +width+:: width [Integer]
|
29
|
+
# +height+:: height [Integer]
|
30
30
|
#
|
31
31
|
def initialize(a, pix=nil, clr=0, opts=0, width=1, height=1) # :yields: thePNGIcon
|
32
32
|
end
|
@@ -40,7 +40,7 @@ module Fox
|
|
40
40
|
#
|
41
41
|
# ==== Parameters:
|
42
42
|
#
|
43
|
-
# +store+::
|
43
|
+
# +store+:: stream from which to read the file data {FXStream}
|
44
44
|
#
|
45
45
|
def Fox.fxloadPNG(store); end
|
46
46
|
|
@@ -50,11 +50,11 @@ module Fox
|
|
50
50
|
#
|
51
51
|
# ==== Parameters:
|
52
52
|
#
|
53
|
-
# +store+::
|
54
|
-
# +data+::
|
55
|
-
# +transp+::
|
56
|
-
# +width+::
|
57
|
-
# +height+::
|
53
|
+
# +store+:: stream to which to write the image data {FXStream}
|
54
|
+
# +data+:: the image pixel data [String]
|
55
|
+
# +transp+:: transparency color {FXColor}
|
56
|
+
# +width+:: width [Integer]
|
57
|
+
# +height+:: height [Integer]
|
58
58
|
#
|
59
59
|
def Fox.fxsavePNG(store, data, transp, width, height); end
|
60
60
|
|
data/rdoc-sources/FXPNGImage.rb
CHANGED
@@ -21,11 +21,11 @@ module Fox
|
|
21
21
|
#
|
22
22
|
# ==== Parameters:
|
23
23
|
#
|
24
|
-
# +a+::
|
25
|
-
# +pix+::
|
26
|
-
# +opts+::
|
27
|
-
# +width+::
|
28
|
-
# +height+::
|
24
|
+
# +a+:: an application instance {FXApp}
|
25
|
+
# +pix+:: a memory buffer formatted in PNG file format [String]
|
26
|
+
# +opts+:: options [Integer]
|
27
|
+
# +width+:: width [Integer]
|
28
|
+
# +height+:: height [Integer]
|
29
29
|
#
|
30
30
|
def initialize(a, pix=nil, opts=0, width=1, height=1) # :yields: thePNGImage
|
31
31
|
end
|
data/rdoc-sources/FXPPMIcon.rb
CHANGED
@@ -18,12 +18,12 @@ module Fox
|
|
18
18
|
#
|
19
19
|
# ==== Parameters:
|
20
20
|
#
|
21
|
-
# +a+::
|
22
|
-
# +pix+::
|
23
|
-
# +clr+::
|
24
|
-
# +opts+::
|
25
|
-
# +width+::
|
26
|
-
# +height+::
|
21
|
+
# +a+:: an application instance {FXApp}
|
22
|
+
# +pix+:: a memory buffer formatted in PPM file format [String]
|
23
|
+
# +clr+:: transparency color {FXColor}
|
24
|
+
# +opts+:: options [Integer]
|
25
|
+
# +width+:: width [Integer]
|
26
|
+
# +height+:: height [Integer]
|
27
27
|
#
|
28
28
|
def initialize(a, pix=nil, clr=0, opts=0, width=1, height=1) # :yields: thePPMIcon
|
29
29
|
end
|
data/rdoc-sources/FXPPMImage.rb
CHANGED
@@ -18,11 +18,11 @@ module Fox
|
|
18
18
|
#
|
19
19
|
# ==== Parameters:
|
20
20
|
#
|
21
|
-
# +a+::
|
22
|
-
# +pix+::
|
23
|
-
# +opts+::
|
24
|
-
# +width+::
|
25
|
-
# +height+::
|
21
|
+
# +a+:: an application instance {FXApp}
|
22
|
+
# +pix+:: a memory buffer formatted in PPM file format [String]
|
23
|
+
# +opts+:: options [Integer]
|
24
|
+
# +width+:: width [Integer]
|
25
|
+
# +height+:: height [Integer]
|
26
26
|
#
|
27
27
|
def initialize(a, pix=nil, opts=0, width=1, height=1) # :yields: thePPMImage
|
28
28
|
end
|
data/rdoc-sources/FXPacker.rb
CHANGED
@@ -35,16 +35,16 @@ module Fox
|
|
35
35
|
# Right padding, in pixels [Integer]
|
36
36
|
attr_accessor :padRight
|
37
37
|
|
38
|
-
# Highlight color
|
38
|
+
# Highlight color {FXColor}
|
39
39
|
attr_accessor :hiliteColor
|
40
40
|
|
41
|
-
# Shadow color
|
41
|
+
# Shadow color {FXColor}
|
42
42
|
attr_accessor :shadowColor
|
43
43
|
|
44
|
-
# Border color
|
44
|
+
# Border color {FXColor}
|
45
45
|
attr_accessor :borderColor
|
46
46
|
|
47
|
-
# Base GUI color
|
47
|
+
# Base GUI color {FXColor}
|
48
48
|
attr_accessor :baseColor
|
49
49
|
|
50
50
|
# Horizontal inter-child spacing, in pixels [Integer]
|
data/rdoc-sources/FXPopup.rb
CHANGED
@@ -16,19 +16,19 @@ module Fox
|
|
16
16
|
# Border width [Integer]
|
17
17
|
attr_reader :borderWidth
|
18
18
|
|
19
|
-
# Highlight color
|
19
|
+
# Highlight color {FXColor}
|
20
20
|
attr_accessor :hiliteColor
|
21
21
|
|
22
|
-
# Shadow color
|
22
|
+
# Shadow color {FXColor}
|
23
23
|
attr_accessor :shadowColor
|
24
24
|
|
25
|
-
# Border color
|
25
|
+
# Border color {FXColor}
|
26
26
|
attr_accessor :borderColor
|
27
27
|
|
28
|
-
# Base color
|
28
|
+
# Base color {FXColor}
|
29
29
|
attr_accessor :baseColor
|
30
30
|
|
31
|
-
# Current grab owner
|
31
|
+
# Current grab owner {FXWindow}
|
32
32
|
attr_reader :grabOwner
|
33
33
|
|
34
34
|
# Popup orientation [Integer]
|
@@ -4,29 +4,29 @@ module Fox
|
|
4
4
|
#
|
5
5
|
# == Message identifiers
|
6
6
|
#
|
7
|
-
# +ID_TO_PRINTER+::
|
8
|
-
# +ID_TO_FILE+::
|
9
|
-
# +ID_PRINTER_NAME+::
|
10
|
-
# +ID_FILE_NAME+::
|
11
|
-
# +ID_LANDSCAPE+::
|
12
|
-
# +ID_PORTRAIT+::
|
13
|
-
# +ID_MEDIA+::
|
14
|
-
# +ID_COLLATE_NORMAL+::
|
15
|
-
# +ID_COLLATE_REVERSED+::
|
16
|
-
# +ID_PAGES_ALL+::
|
17
|
-
# +ID_PAGES_EVEN+::
|
18
|
-
# +ID_PAGES_ODD+::
|
19
|
-
# +ID_PAGES_RANGE+::
|
20
|
-
# +ID_PAGES_FIRST+::
|
21
|
-
# +ID_PAGES_LAST+::
|
22
|
-
# +ID_BROWSE_FILE+::
|
23
|
-
# +ID_PROPERTIES+::
|
24
|
-
# +ID_COLOR_PRINTER+::
|
25
|
-
# +ID_GRAY_PRINTER+::
|
26
|
-
# +ID_NUM_COPIES+::
|
7
|
+
# +ID_TO_PRINTER+:: x
|
8
|
+
# +ID_TO_FILE+:: x
|
9
|
+
# +ID_PRINTER_NAME+:: x
|
10
|
+
# +ID_FILE_NAME+:: x
|
11
|
+
# +ID_LANDSCAPE+:: x
|
12
|
+
# +ID_PORTRAIT+:: x
|
13
|
+
# +ID_MEDIA+:: x
|
14
|
+
# +ID_COLLATE_NORMAL+:: x
|
15
|
+
# +ID_COLLATE_REVERSED+:: x
|
16
|
+
# +ID_PAGES_ALL+:: x
|
17
|
+
# +ID_PAGES_EVEN+:: x
|
18
|
+
# +ID_PAGES_ODD+:: x
|
19
|
+
# +ID_PAGES_RANGE+:: x
|
20
|
+
# +ID_PAGES_FIRST+:: x
|
21
|
+
# +ID_PAGES_LAST+:: x
|
22
|
+
# +ID_BROWSE_FILE+:: x
|
23
|
+
# +ID_PROPERTIES+:: x
|
24
|
+
# +ID_COLOR_PRINTER+:: x
|
25
|
+
# +ID_GRAY_PRINTER+:: x
|
26
|
+
# +ID_NUM_COPIES+:: x
|
27
27
|
#
|
28
28
|
class FXPrintDialog < FXDialogBox
|
29
|
-
# Printer information
|
29
|
+
# Printer information {FXPrinter}
|
30
30
|
attr_accessor :printer
|
31
31
|
|
32
32
|
# Construct print dialog
|
@@ -4,11 +4,11 @@ module Fox
|
|
4
4
|
#
|
5
5
|
# === Progress bar styles
|
6
6
|
#
|
7
|
-
# +PROGRESSBAR_HORIZONTAL+::
|
8
|
-
# +PROGRESSBAR_VERTICAL+::
|
9
|
-
# +PROGRESSBAR_PERCENTAGE+::
|
10
|
-
# +PROGRESSBAR_DIAL+::
|
11
|
-
# +PROGRESSBAR_NORMAL+::
|
7
|
+
# +PROGRESSBAR_HORIZONTAL+:: Horizontal display
|
8
|
+
# +PROGRESSBAR_VERTICAL+:: Vertical display
|
9
|
+
# +PROGRESSBAR_PERCENTAGE+:: Show percentage done
|
10
|
+
# +PROGRESSBAR_DIAL+:: Show as a dial instead of bar
|
11
|
+
# +PROGRESSBAR_NORMAL+:: same as <tt>FRAME_SUNKEN|FRAME_THICK</tt>
|
12
12
|
#
|
13
13
|
class FXProgressBar < FXFrame
|
14
14
|
# Amount of progress [Integer]
|
@@ -20,19 +20,19 @@ module Fox
|
|
20
20
|
# Bar width [Integer]
|
21
21
|
attr_accessor :barSize
|
22
22
|
|
23
|
-
# Bar color
|
23
|
+
# Bar color {FXColor}
|
24
24
|
attr_accessor :barColor
|
25
25
|
|
26
|
-
# Bar background color
|
26
|
+
# Bar background color {FXColor}
|
27
27
|
attr_accessor :barBGColor
|
28
28
|
|
29
|
-
# Text color
|
29
|
+
# Text color {FXColor}
|
30
30
|
attr_accessor :textColor
|
31
31
|
|
32
|
-
# Alternate text color
|
32
|
+
# Alternate text color {FXColor}
|
33
33
|
attr_accessor :textAltColor
|
34
34
|
|
35
|
-
# Text font
|
35
|
+
# Text font {FXFont}
|
36
36
|
attr_accessor :font
|
37
37
|
|
38
38
|
# Progress bar style [Integer]
|
@@ -6,9 +6,9 @@ module Fox
|
|
6
6
|
#
|
7
7
|
# === Options
|
8
8
|
#
|
9
|
-
# +PROGRESSDIALOG_NOCANCEL+::
|
10
|
-
# +PROGRESSDIALOG_CANCEL+::
|
11
|
-
# +PROGRESSDIALOG_NORMAL+::
|
9
|
+
# +PROGRESSDIALOG_NOCANCEL+:: Default is no cancel button
|
10
|
+
# +PROGRESSDIALOG_CANCEL+:: Enable the cancel button
|
11
|
+
# +PROGRESSDIALOG_NORMAL+:: same as <tt>DECOR_TITLE|DECOR_BORDER</tt>
|
12
12
|
#
|
13
13
|
class FXProgressDialog < FXDialogBox
|
14
14
|
# Progress message [String]
|