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
@@ -21,21 +21,21 @@ module Fox
|
|
21
21
|
#
|
22
22
|
# === Message identifiers
|
23
23
|
#
|
24
|
-
# <tt>ID_CLEAR</tt>::
|
25
|
-
# <tt>ID_ANYFILES</tt>::
|
26
|
-
# <tt>ID_FILE_1</tt>::
|
27
|
-
# <tt>ID_FILE_2</tt>::
|
28
|
-
# <tt>ID_FILE_3</tt>::
|
29
|
-
# <tt>ID_FILE_4</tt>::
|
30
|
-
# <tt>ID_FILE_5</tt>::
|
31
|
-
# <tt>ID_FILE_6</tt>::
|
32
|
-
# <tt>ID_FILE_7</tt>::
|
33
|
-
# <tt>ID_FILE_8</tt>::
|
34
|
-
# <tt>ID_FILE_9</tt>::
|
35
|
-
# <tt>ID_FILE_10</tt>::
|
24
|
+
# <tt>ID_CLEAR</tt>:: Clear the list of files
|
25
|
+
# <tt>ID_ANYFILES</tt>:: x
|
26
|
+
# <tt>ID_FILE_1</tt>:: x
|
27
|
+
# <tt>ID_FILE_2</tt>:: x
|
28
|
+
# <tt>ID_FILE_3</tt>:: x
|
29
|
+
# <tt>ID_FILE_4</tt>:: x
|
30
|
+
# <tt>ID_FILE_5</tt>:: x
|
31
|
+
# <tt>ID_FILE_6</tt>:: x
|
32
|
+
# <tt>ID_FILE_7</tt>:: x
|
33
|
+
# <tt>ID_FILE_8</tt>:: x
|
34
|
+
# <tt>ID_FILE_9</tt>:: x
|
35
|
+
# <tt>ID_FILE_10</tt>:: x
|
36
36
|
#
|
37
37
|
class FXRecentFiles < FXObject
|
38
|
-
# Application associated with this recent files group
|
38
|
+
# Application associated with this recent files group {FXApp}
|
39
39
|
attr_reader :app
|
40
40
|
|
41
41
|
# Maximum number of files to track [Integer]
|
@@ -44,7 +44,7 @@ module Fox
|
|
44
44
|
# Group name [String]
|
45
45
|
attr_accessor :groupName
|
46
46
|
|
47
|
-
# Message target
|
47
|
+
# Message target {FXObject}
|
48
48
|
attr_accessor :target
|
49
49
|
|
50
50
|
# Message identifier [Integer]
|
data/rdoc-sources/FXRectangle.rb
CHANGED
@@ -28,10 +28,10 @@ module Fox
|
|
28
28
|
#
|
29
29
|
# ==== Parameters:
|
30
30
|
#
|
31
|
-
# +xx+::
|
32
|
-
# +yy+::
|
33
|
-
# +ww+::
|
34
|
-
# +hh+::
|
31
|
+
# +xx+:: upper left corner's initial x-coordinate [Integer]
|
32
|
+
# +yy+:: upper left corner's initial y-coordinate [Integer]
|
33
|
+
# +ww+:: initial width [Integer]
|
34
|
+
# +hh+:: initial height [Integer]
|
35
35
|
#
|
36
36
|
def initialize(xx, yy, ww, hh); end
|
37
37
|
|
@@ -40,8 +40,8 @@ module Fox
|
|
40
40
|
#
|
41
41
|
# ==== Parameters:
|
42
42
|
#
|
43
|
-
# +p+::
|
44
|
-
# +s+::
|
43
|
+
# +p+:: upper left corner's initial position {FXPoint}
|
44
|
+
# +s+:: initial size {FXSize}
|
45
45
|
#
|
46
46
|
def initialize(p, s); end
|
47
47
|
|
@@ -50,8 +50,8 @@ module Fox
|
|
50
50
|
#
|
51
51
|
# ==== Parameters:
|
52
52
|
#
|
53
|
-
# +topleft+::
|
54
|
-
# +bottomright+::
|
53
|
+
# +topleft+:: upper left corner's initial position {FXPoint}
|
54
|
+
# +bottomright+:: bottom right corner's initial position {FXPoint}
|
55
55
|
#
|
56
56
|
def initialize(topleft, bottomright); end
|
57
57
|
|
@@ -88,7 +88,7 @@ module Fox
|
|
88
88
|
#
|
89
89
|
# ==== Parameters:
|
90
90
|
#
|
91
|
-
# +margin+::
|
91
|
+
# +margin+:: number of units to grow on each side [Integer]
|
92
92
|
#
|
93
93
|
def grow!(margin); end
|
94
94
|
|
@@ -97,8 +97,8 @@ module Fox
|
|
97
97
|
#
|
98
98
|
# ==== Parameters:
|
99
99
|
#
|
100
|
-
# +hormargin+::
|
101
|
-
# +vermargin+::
|
100
|
+
# +hormargin+:: number of units to grow on the left and right sides [Integer]
|
101
|
+
# +vermargin+:: number of units to grow on the top and bottom sides [Integer]
|
102
102
|
#
|
103
103
|
def grow!(hormargin, vermargin); end
|
104
104
|
|
@@ -107,10 +107,10 @@ module Fox
|
|
107
107
|
#
|
108
108
|
# ==== Parameters:
|
109
109
|
#
|
110
|
-
# +leftmargin+::
|
111
|
-
# +rightmargin+::
|
112
|
-
# +topmargin+::
|
113
|
-
# +bottommargin+::
|
110
|
+
# +leftmargin+:: number of units to grow on the left side [Integer]
|
111
|
+
# +rightmargin+:: number of units to grow on the right side [Integer]
|
112
|
+
# +topmargin+:: number of units to grow on the top side [Integer]
|
113
|
+
# +bottommargin+:: number of units to grow on the bottom side [Integer]
|
114
114
|
#
|
115
115
|
def grow!(leftmargin, rightmargin, topmargin, bottommargin); end
|
116
116
|
|
@@ -119,7 +119,7 @@ module Fox
|
|
119
119
|
#
|
120
120
|
# ==== Parameters:
|
121
121
|
#
|
122
|
-
# +margin+::
|
122
|
+
# +margin+:: number of units to shrink on each side [Integer]
|
123
123
|
#
|
124
124
|
def shrink!(margin); end
|
125
125
|
|
@@ -128,8 +128,8 @@ module Fox
|
|
128
128
|
#
|
129
129
|
# ==== Parameters:
|
130
130
|
#
|
131
|
-
# +hormargin+::
|
132
|
-
# +vermargin+::
|
131
|
+
# +hormargin+:: number of units to shrink on the left and right sides [Integer]
|
132
|
+
# +vermargin+:: number of units to shrink on the top and bottom sides [Integer]
|
133
133
|
#
|
134
134
|
def shrink!(hormargin, vermargin); end
|
135
135
|
|
@@ -138,10 +138,10 @@ module Fox
|
|
138
138
|
#
|
139
139
|
# ==== Parameters:
|
140
140
|
#
|
141
|
-
# +leftmargin+::
|
142
|
-
# +rightmargin+::
|
143
|
-
# +topmargin+::
|
144
|
-
# +bottommargin+::
|
141
|
+
# +leftmargin+:: number of units to shrink on the left side [Integer]
|
142
|
+
# +rightmargin+:: number of units to shrink on the right side [Integer]
|
143
|
+
# +topmargin+:: number of units to shrink on the top side [Integer]
|
144
|
+
# +bottommargin+:: number of units to shrink on the bottom side [Integer]
|
145
145
|
#
|
146
146
|
def shrink!(leftmargin, rightmargin, topmargin, bottommargin); end
|
147
147
|
end
|
data/rdoc-sources/FXRegistry.rb
CHANGED
@@ -23,13 +23,13 @@ module Fox
|
|
23
23
|
class FXRegistry < FXSettings
|
24
24
|
|
25
25
|
# Application key [String]
|
26
|
-
attr_reader
|
26
|
+
attr_reader :appKey
|
27
27
|
|
28
28
|
# Vendor key [String]
|
29
|
-
attr_reader
|
29
|
+
attr_reader :vendorKey
|
30
30
|
|
31
31
|
# Use file-based registry instead of Windows Registry [Boolean]
|
32
|
-
attr_writer
|
32
|
+
attr_writer :asciiMode
|
33
33
|
|
34
34
|
#
|
35
35
|
# Construct registry object; _appKey_ and _vendorKey_ must be string constants.
|
@@ -9,23 +9,23 @@ module Fox
|
|
9
9
|
# +ID_SEARCH_UP+:: x
|
10
10
|
# +ID_SEARCH_DN+:: x
|
11
11
|
# +ID_REPLACE_UP+:: x
|
12
|
-
# +ID_REPLACE_DN+::
|
13
|
-
# +ID_ALL+::
|
14
|
-
# +ID_DIR+::
|
15
|
-
# +ID_SEARCH_TEXT+::
|
16
|
-
# +ID_REPLACE_TEXT+::
|
17
|
-
# +ID_MODE+::
|
12
|
+
# +ID_REPLACE_DN+:: x
|
13
|
+
# +ID_ALL+:: x
|
14
|
+
# +ID_DIR+:: x
|
15
|
+
# +ID_SEARCH_TEXT+:: x
|
16
|
+
# +ID_REPLACE_TEXT+:: x
|
17
|
+
# +ID_MODE+:: x
|
18
18
|
#
|
19
19
|
class FXReplaceDialog < FXDialogBox
|
20
20
|
#
|
21
21
|
# Search matching mode, one of the following:
|
22
22
|
#
|
23
|
-
# +DONE+::
|
24
|
-
# +SEARCH+::
|
25
|
-
# +REPLACE+::
|
26
|
-
# +SEARCH_NEXT+::
|
27
|
-
# +REPLACE_NEXT+::
|
28
|
-
# +REPLACE_ALL+::
|
23
|
+
# +DONE+:: Cancel search
|
24
|
+
# +SEARCH+:: Search first occurrence
|
25
|
+
# +REPLACE+:: Replace first occurrence
|
26
|
+
# +SEARCH_NEXT+:: Search next occurrence
|
27
|
+
# +REPLACE_NEXT+:: Replace next occurrence
|
28
|
+
# +REPLACE_ALL+:: Replace all occurrences
|
29
29
|
#
|
30
30
|
attr_accessor :searchMode
|
31
31
|
|
@@ -40,14 +40,14 @@ module Fox
|
|
40
40
|
#
|
41
41
|
# ==== Parameters:
|
42
42
|
#
|
43
|
-
# +owner+::
|
44
|
-
# +caption+::
|
45
|
-
# +ic+::
|
46
|
-
# +opts+::
|
47
|
-
# +x+::
|
48
|
-
# +y+::
|
49
|
-
# +width+::
|
50
|
-
# +height+::
|
43
|
+
# +owner+:: the owner window for this dialog box {FXWindow}
|
44
|
+
# +caption+:: the caption (title) string for this dialog box [String]
|
45
|
+
# +ic+:: the icon {FXIcon}
|
46
|
+
# +opts+:: the options [Integer]
|
47
|
+
# +x+:: initial x-position [Integer]
|
48
|
+
# +y+:: initial y-position [Integer]
|
49
|
+
# +width+:: initial width [Integer]
|
50
|
+
# +height+:: initial height [Integer]
|
51
51
|
#
|
52
52
|
def initialize(owner, caption, ic=nil, opts=0, x=0, y=0, width=0, height=0) # :yield: theReplaceDialog
|
53
53
|
end
|
data/rdoc-sources/FXRuler.rb
CHANGED
@@ -17,38 +17,38 @@ module Fox
|
|
17
17
|
#
|
18
18
|
# The following messages are sent by FXRuler to its target:
|
19
19
|
#
|
20
|
-
# +SEL_LEFTBUTTONPRESS+::
|
21
|
-
# +SEL_LEFTBUTTONRELEASE+::
|
22
|
-
# +SEL_CHANGED+::
|
20
|
+
# +SEL_LEFTBUTTONPRESS+:: sent when the left mouse button goes down; the message data is an FXEvent instance.
|
21
|
+
# +SEL_LEFTBUTTONRELEASE+:: sent when the left mouse button goes up; the message data is an FXEvent instance.
|
22
|
+
# +SEL_CHANGED+:: sent whenever something about the ruler changes
|
23
23
|
#
|
24
24
|
# === Ruler options
|
25
25
|
#
|
26
|
-
# +RULER_NORMAL+::
|
27
|
-
# +RULER_HORIZONTAL+::
|
28
|
-
# +RULER_VERTICAL+::
|
29
|
-
# +RULER_TICKS_OFF+::
|
30
|
-
# +RULER_TICKS_TOP+::
|
31
|
-
# +RULER_TICKS_BOTTOM+::
|
32
|
-
# +RULER_TICKS_LEFT+::
|
33
|
-
# +RULER_TICKS_RIGHT+::
|
34
|
-
# +RULER_TICKS_CENTER+::
|
35
|
-
# +RULER_NUMBERS+::
|
36
|
-
# +RULER_ARROW+::
|
37
|
-
# +RULER_MARKERS+::
|
38
|
-
# +RULER_METRIC+::
|
39
|
-
# +RULER_ENGLISH+::
|
40
|
-
# +RULER_MARGIN_ADJUST+::
|
41
|
-
# +RULER_ALIGN_CENTER+::
|
42
|
-
# +RULER_ALIGN_LEFT+::
|
43
|
-
# +RULER_ALIGN_RIGHT+::
|
44
|
-
# +RULER_ALIGN_TOP+::
|
45
|
-
# +RULER_ALIGN_BOTTOM+::
|
46
|
-
# +RULER_ALIGN_STRETCH+::
|
47
|
-
# +RULER_ALIGN_NORMAL+::
|
26
|
+
# +RULER_NORMAL+:: Default appearance (default)
|
27
|
+
# +RULER_HORIZONTAL+:: Ruler is horizontal (default)
|
28
|
+
# +RULER_VERTICAL+:: Ruler is vertical
|
29
|
+
# +RULER_TICKS_OFF+:: Tick marks off (default)
|
30
|
+
# +RULER_TICKS_TOP+:: Ticks on the top (if horizontal)
|
31
|
+
# +RULER_TICKS_BOTTOM+:: Ticks on the bottom (if horizontal)
|
32
|
+
# +RULER_TICKS_LEFT+:: Ticks on the left (if vertical)
|
33
|
+
# +RULER_TICKS_RIGHT+:: Ticks on the right (if vertical)
|
34
|
+
# +RULER_TICKS_CENTER+:: Tickmarks centered
|
35
|
+
# +RULER_NUMBERS+:: Show numbers
|
36
|
+
# +RULER_ARROW+:: Draw small arrow for cursor position
|
37
|
+
# +RULER_MARKERS+:: Draw markers for indentation settings
|
38
|
+
# +RULER_METRIC+:: Metric subdivision (default)
|
39
|
+
# +RULER_ENGLISH+:: English subdivision
|
40
|
+
# +RULER_MARGIN_ADJUST+:: Allow margin adjustment
|
41
|
+
# +RULER_ALIGN_CENTER+:: Center document horizontally
|
42
|
+
# +RULER_ALIGN_LEFT+:: Align document to the left
|
43
|
+
# +RULER_ALIGN_RIGHT+:: Align document to the right
|
44
|
+
# +RULER_ALIGN_TOP+:: Align document to the top
|
45
|
+
# +RULER_ALIGN_BOTTOM+:: Align document to the bottom
|
46
|
+
# +RULER_ALIGN_STRETCH+:: Stretch document to fit horizontally
|
47
|
+
# +RULER_ALIGN_NORMAL+:: Normally, document is centered both ways
|
48
48
|
#
|
49
49
|
# === Message identifiers:
|
50
50
|
#
|
51
|
-
# +ID_ARROW+::
|
51
|
+
# +ID_ARROW+:: write me
|
52
52
|
#
|
53
53
|
class FXRuler < FXFrame
|
54
54
|
|
@@ -94,7 +94,7 @@ module Fox
|
|
94
94
|
# Pixels per tick spacing [Float]
|
95
95
|
attr_accessor :pixelsPerTick
|
96
96
|
|
97
|
-
# The text font
|
97
|
+
# The text font {FXFont}
|
98
98
|
attr_accessor :font
|
99
99
|
|
100
100
|
# The slider value [Integer]
|
@@ -106,7 +106,7 @@ module Fox
|
|
106
106
|
# Ruler alignment [Integer]
|
107
107
|
attr_accessor :rulerAlignment
|
108
108
|
|
109
|
-
# The current text color
|
109
|
+
# The current text color {FXColor}
|
110
110
|
attr_accessor :textColor
|
111
111
|
|
112
112
|
# The status line help text for this ruler [String]
|
data/rdoc-sources/FXRulerView.rb
CHANGED
@@ -9,10 +9,10 @@ module Fox
|
|
9
9
|
#
|
10
10
|
class FXRulerView < FXScrollArea
|
11
11
|
|
12
|
-
# Return a reference to the horizontal ruler
|
12
|
+
# Return a reference to the horizontal ruler {FXRuler}
|
13
13
|
attr_reader :horizontalRuler
|
14
14
|
|
15
|
-
# Return a reference to the vertical ruler
|
15
|
+
# Return a reference to the vertical ruler {FXRuler}
|
16
16
|
attr_reader :verticalRuler
|
17
17
|
|
18
18
|
# Get document position X [Integer]
|
@@ -21,7 +21,7 @@ module Fox
|
|
21
21
|
# Get document position Y [Integer]
|
22
22
|
attr_reader :documentY
|
23
23
|
|
24
|
-
# Current document color
|
24
|
+
# Current document color {FXColor}
|
25
25
|
attr_accessor :documentColor
|
26
26
|
|
27
27
|
# X arrow position, relative to document position [Integer]
|
@@ -72,10 +72,10 @@ module Fox
|
|
72
72
|
# Vertical alignment; the default is +RULER_ALIGN_NORMAL+ [Integer]
|
73
73
|
attr_accessor :vAlignment
|
74
74
|
|
75
|
-
# Horizontal ruler font
|
75
|
+
# Horizontal ruler font {FXFont}
|
76
76
|
attr_accessor :hRulerFont
|
77
77
|
|
78
|
-
# Vertical ruler font
|
78
|
+
# Vertical ruler font {FXFont}
|
79
79
|
attr_accessor :vRulerFont
|
80
80
|
|
81
81
|
# Horizontal document number placement [Integer]
|
@@ -15,58 +15,58 @@ module Fox
|
|
15
15
|
#
|
16
16
|
# === Scrollbar options
|
17
17
|
#
|
18
|
-
# +SCROLLERS_NORMAL+::
|
19
|
-
# +HSCROLLER_ALWAYS+::
|
20
|
-
# +HSCROLLER_NEVER+::
|
21
|
-
# +VSCROLLER_ALWAYS+::
|
22
|
-
# +VSCROLLER_NEVER+::
|
23
|
-
# +HSCROLLING_ON+::
|
24
|
-
# +HSCROLLING_OFF+::
|
25
|
-
# +VSCROLLING_ON+::
|
26
|
-
# +VSCROLLING_OFF+::
|
27
|
-
# +SCROLLERS_TRACK+::
|
28
|
-
# +SCROLLERS_DONT_TRACK+::
|
18
|
+
# +SCROLLERS_NORMAL+:: Show the scrollbars when needed
|
19
|
+
# +HSCROLLER_ALWAYS+:: Always show horizontal scrollers
|
20
|
+
# +HSCROLLER_NEVER+:: Never show horizontal scrollers
|
21
|
+
# +VSCROLLER_ALWAYS+:: Always show vertical scrollers
|
22
|
+
# +VSCROLLER_NEVER+:: Never show vertical scrollers
|
23
|
+
# +HSCROLLING_ON+:: Horizontal scrolling turned on (default)
|
24
|
+
# +HSCROLLING_OFF+:: Horizontal scrolling turned off
|
25
|
+
# +VSCROLLING_ON+:: Vertical scrolling turned on (default)
|
26
|
+
# +VSCROLLING_OFF+:: Vertical scrolling turned off
|
27
|
+
# +SCROLLERS_TRACK+:: Scrollers track continuously for smooth scrolling
|
28
|
+
# +SCROLLERS_DONT_TRACK+:: Scrollers don't track continuously
|
29
29
|
#
|
30
30
|
class FXScrollArea < FXComposite
|
31
31
|
|
32
32
|
# Viewport width, in pixels [Integer]
|
33
|
-
attr_reader
|
33
|
+
attr_reader :viewportWidth
|
34
34
|
|
35
35
|
# Viewport height, in pixels [Integer]
|
36
|
-
attr_reader
|
36
|
+
attr_reader :viewportHeight
|
37
37
|
|
38
38
|
# Content width, in pixels [Integer]
|
39
|
-
attr_reader
|
39
|
+
attr_reader :contentWidth
|
40
40
|
|
41
41
|
# Content height, in pixels [Integer]
|
42
|
-
attr_reader
|
42
|
+
attr_reader :contentHeight
|
43
43
|
|
44
44
|
# Scroll style [Integer]
|
45
45
|
attr_accessor :scrollStyle
|
46
46
|
|
47
|
-
# Horizontal scrollbar
|
48
|
-
attr_reader
|
47
|
+
# Horizontal scrollbar {FXScrollBar}
|
48
|
+
attr_reader :horizontalScrollBar
|
49
49
|
|
50
|
-
# Vertical scrollbar
|
51
|
-
attr_reader
|
50
|
+
# Vertical scrollbar {FXScrollBar}
|
51
|
+
attr_reader :verticalScrollBar
|
52
52
|
|
53
53
|
# Current x-position [Integer]
|
54
|
-
attr_reader
|
54
|
+
attr_reader :xPosition
|
55
55
|
|
56
56
|
# Current y-position [Integer]
|
57
|
-
attr_reader
|
57
|
+
attr_reader :yPosition
|
58
58
|
|
59
59
|
#
|
60
60
|
# Return an initialized FXScrollArea instance.
|
61
61
|
#
|
62
62
|
# ==== Parameters:
|
63
63
|
#
|
64
|
-
# +parent+::
|
65
|
-
# +opts+::
|
66
|
-
# +x+::
|
67
|
-
# +y+::
|
68
|
-
# +width+::
|
69
|
-
# +height+::
|
64
|
+
# +parent+:: the parent widget for this scroll area {FXComposite}
|
65
|
+
# +opts+:: the options [Integer]
|
66
|
+
# +x+:: initial x-position, when the +LAYOUT_FIX_X+ layout hint is in effect [Integer]
|
67
|
+
# +y+:: initial y-position, when the +LAYOUT_FIX_Y+ layout hint is in effect [Integer]
|
68
|
+
# +width+:: initial width, when the +LAYOUT_FIX_WIDTH+ layout hint is in effect [Integer]
|
69
|
+
# +height+:: initial height, when the +LAYOUT_FIX_HEIGHT+ layout hint is in effect [Integer]
|
70
70
|
#
|
71
71
|
def initialize(parent, opts=0, x=0, y=0, width=0, height=0) # :yields: theScrollArea
|
72
72
|
end
|
data/rdoc-sources/FXScrollBar.rb
CHANGED
@@ -18,12 +18,12 @@ module Fox
|
|
18
18
|
#
|
19
19
|
# The following messages are sent by FXScrollBar to its target:
|
20
20
|
#
|
21
|
-
# +SEL_LEFTBUTTONPRESS+::
|
22
|
-
# +SEL_LEFTBUTTONRELEASE+::
|
23
|
-
# +SEL_MIDDLEBUTTONPRESS+::
|
24
|
-
# +SEL_MIDDLEBUTTONRELEASE+::
|
25
|
-
# +SEL_RIGHTBUTTONPRESS+::
|
26
|
-
# +SEL_RIGHTBUTTONRELEASE+::
|
21
|
+
# +SEL_LEFTBUTTONPRESS+:: sent when the left mouse button goes down; the message data is an FXEvent instance.
|
22
|
+
# +SEL_LEFTBUTTONRELEASE+:: sent when the left mouse button goes up; the message data is an FXEvent instance.
|
23
|
+
# +SEL_MIDDLEBUTTONPRESS+:: sent when the middle mouse button goes down; the message data is an FXEvent instance.
|
24
|
+
# +SEL_MIDDLEBUTTONRELEASE+:: sent when the middle mouse button goes up; the message data is an FXEvent instance.
|
25
|
+
# +SEL_RIGHTBUTTONPRESS+:: sent when the right mouse button goes down; the message data is an FXEvent instance.
|
26
|
+
# +SEL_RIGHTBUTTONRELEASE+:: sent when the right mouse button goes up; the message data is an FXEvent instance.
|
27
27
|
# +SEL_CHANGED+::
|
28
28
|
# sent continuously while the scroll bar is moving; the message data is an integer
|
29
29
|
# indicating the current position of the scroll bar.
|
@@ -33,18 +33,18 @@ module Fox
|
|
33
33
|
#
|
34
34
|
# === Scrollbar styles
|
35
35
|
#
|
36
|
-
# +SCROLLBAR_HORIZONTAL+::
|
37
|
-
# +SCROLLBAR_VERTICAL+::
|
36
|
+
# +SCROLLBAR_HORIZONTAL+:: Horizontally oriented
|
37
|
+
# +SCROLLBAR_VERTICAL+:: Vertically oriented (the default)
|
38
38
|
#
|
39
39
|
# === Message identifiers
|
40
40
|
#
|
41
|
-
# +ID_TIMEWHEEL+::
|
42
|
-
# +ID_AUTOINC_LINE+::
|
43
|
-
# +ID_AUTODEC_LINE+::
|
44
|
-
# +ID_AUTOINC_PAGE+::
|
45
|
-
# +ID_AUTODEC_PAGE+::
|
46
|
-
# +ID_AUTOINC_PIX+::
|
47
|
-
# +ID_AUTODEC_PIX+::
|
41
|
+
# +ID_TIMEWHEEL+:: x
|
42
|
+
# +ID_AUTOINC_LINE+:: x
|
43
|
+
# +ID_AUTODEC_LINE+:: x
|
44
|
+
# +ID_AUTOINC_PAGE+:: x
|
45
|
+
# +ID_AUTODEC_PAGE+:: x
|
46
|
+
# +ID_AUTOINC_PIX+:: x
|
47
|
+
# +ID_AUTODEC_PIX+:: x
|
48
48
|
#
|
49
49
|
class FXScrollBar < FXWindow
|
50
50
|
# Content size range [Integer]
|
@@ -59,13 +59,13 @@ module Fox
|
|
59
59
|
# Current scroll position [Integer]
|
60
60
|
attr_accessor :position
|
61
61
|
|
62
|
-
# Highlight color
|
62
|
+
# Highlight color {FXColor}
|
63
63
|
attr_accessor :hiliteColor
|
64
64
|
|
65
|
-
# Shadow color
|
65
|
+
# Shadow color {FXColor}
|
66
66
|
attr_accessor :shadowColor
|
67
67
|
|
68
|
-
# Border color
|
68
|
+
# Border color {FXColor}
|
69
69
|
attr_accessor :borderColor
|
70
70
|
|
71
71
|
# Scroll bar style [Integer]
|
@@ -79,14 +79,14 @@ module Fox
|
|
79
79
|
#
|
80
80
|
# ==== Parameters:
|
81
81
|
#
|
82
|
-
# +p+::
|
83
|
-
# +target+::
|
84
|
-
# +selector+::
|
85
|
-
# +opts+::
|
86
|
-
# +x+::
|
87
|
-
# +y+::
|
88
|
-
# +width+::
|
89
|
-
# +height+::
|
82
|
+
# +p+:: the parent widget for this scroll bar {FXComposite}
|
83
|
+
# +target+:: the initial message target (if any) for this scroll bar {FXObject}
|
84
|
+
# +selector+:: the message identifier for this scroll bar [Integer]
|
85
|
+
# +opts+:: the options [Integer]
|
86
|
+
# +x+:: initial x-position, when the +LAYOUT_FIX_X+ layout hint is in effect [Integer]
|
87
|
+
# +y+:: initial y-position, when the +LAYOUT_FIX_Y+ layout hint is in effect [Integer]
|
88
|
+
# +width+:: initial width, when the +LAYOUT_FIX_WIDTH+ layout hint is in effect [Integer]
|
89
|
+
# +height+:: initial height, when the +LAYOUT_FIX_HEIGHT+ layout hint is in effect [Integer]
|
90
90
|
#
|
91
91
|
def initialize(p, target=nil, selector=0, opts=SCROLLBAR_VERTICAL, x=0, y=0, width=0, height=0) # :yields: theScrollBar
|
92
92
|
end
|