fxruby 1.6.22 → 1.6.23
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/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/FXFont.rb
CHANGED
@@ -40,132 +40,132 @@ module Fox
|
|
40
40
|
#
|
41
41
|
# === Font pitch hints
|
42
42
|
#
|
43
|
-
# +Fixed+::
|
44
|
-
# +Variable+::
|
43
|
+
# +Fixed+:: Fixed pitch, mono-spaced
|
44
|
+
# +Variable+:: Variable pitch, proportional spacing
|
45
45
|
#
|
46
46
|
# === Font style hints
|
47
47
|
#
|
48
|
-
# +Decorative+::
|
49
|
-
# +Modern+::
|
50
|
-
# +Roman+::
|
51
|
-
# +Script+::
|
52
|
-
# +Swiss+::
|
53
|
-
# +System+::
|
54
|
-
# +X11+::
|
55
|
-
# +Scalable+::
|
56
|
-
# +Polymorphic+::
|
57
|
-
# +Rotatable+::
|
48
|
+
# +Decorative+:: Fancy fonts
|
49
|
+
# +Modern+:: Monospace typewriter font
|
50
|
+
# +Roman+:: Variable width times-like font, serif
|
51
|
+
# +Script+:: Script or cursive
|
52
|
+
# +Swiss+:: Helvetica/swiss type font, sans-serif
|
53
|
+
# +System+:: System font
|
54
|
+
# +X11+:: Raw X11 font string
|
55
|
+
# +Scalable+:: Scalable fonts
|
56
|
+
# +Polymorphic+:: Polymorphic fonts, e.g. parametric weight, slant, etc.
|
57
|
+
# +Rotatable+:: Rotatable fonts
|
58
58
|
#
|
59
59
|
# === Font slant options
|
60
60
|
#
|
61
|
-
# +ReverseOblique+::
|
62
|
-
# +ReverseItalic+::
|
63
|
-
# +Straight+::
|
64
|
-
# +Italic+::
|
65
|
-
# +Oblique+::
|
61
|
+
# +ReverseOblique+:: Reversed oblique
|
62
|
+
# +ReverseItalic+:: Reversed italic
|
63
|
+
# +Straight+:: Straight, not slanted
|
64
|
+
# +Italic+:: Italics
|
65
|
+
# +Oblique+:: Oblique slant
|
66
66
|
#
|
67
67
|
# === Font weight options
|
68
68
|
#
|
69
|
-
# +Thin+::
|
70
|
-
# +ExtraLight+::
|
71
|
-
# +Light+::
|
72
|
-
# +Normal+::
|
73
|
-
# +Medium+::
|
74
|
-
# +DemiBold+::
|
75
|
-
# +Bold+::
|
76
|
-
# +ExtraBold+::
|
77
|
-
# +Black+::
|
69
|
+
# +Thin+:: Thin
|
70
|
+
# +ExtraLight+:: Extra light
|
71
|
+
# +Light+:: Light
|
72
|
+
# +Normal+:: Normal or regular weight
|
73
|
+
# +Medium+:: Medium bold face
|
74
|
+
# +DemiBold+:: Demi bold face
|
75
|
+
# +Bold+:: Bold face
|
76
|
+
# +ExtraBold+:: Extra
|
77
|
+
# +Black+:: Black
|
78
78
|
#
|
79
79
|
# === Condensed or expanded options
|
80
80
|
#
|
81
|
-
# +UltraCondensed+::
|
82
|
-
# +ExtraCondensed+::
|
83
|
-
# +Condensed+::
|
84
|
-
# +SemiCondensed+::
|
85
|
-
# +NonExpanded+::
|
86
|
-
# +SemiExpanded+::
|
87
|
-
# +Expanded+:;
|
88
|
-
# +ExtraExpanded+::
|
89
|
-
# +UltraExpanded+::
|
81
|
+
# +UltraCondensed+:: Ultra condensed printing
|
82
|
+
# +ExtraCondensed+:: Extra condensed
|
83
|
+
# +Condensed+:: Condensed
|
84
|
+
# +SemiCondensed+:: Semi-condensed
|
85
|
+
# +NonExpanded+:: Regular printing
|
86
|
+
# +SemiExpanded+:: Semi expanded
|
87
|
+
# +Expanded+:; Expanded
|
88
|
+
# +ExtraExpanded+:: Extra expanded
|
89
|
+
# +UltraExpanded+:: Ultra expanded
|
90
90
|
#
|
91
91
|
# === Font character set encoding
|
92
92
|
#
|
93
|
-
# <tt>FONTENCODING_DEFAULT</tt>::
|
94
|
-
# <tt>FONTENCODING_ISO_8859_1</tt>::
|
95
|
-
# <tt>FONTENCODING_ISO_8859_2</tt>::
|
96
|
-
# <tt>FONTENCODING_ISO_8859_3</tt>::
|
97
|
-
# <tt>FONTENCODING_ISO_8859_4</tt>::
|
98
|
-
# <tt>FONTENCODING_ISO_8859_5</tt>::
|
99
|
-
# <tt>FONTENCODING_ISO_8859_6</tt>::
|
100
|
-
# <tt>FONTENCODING_ISO_8859_7</tt>::
|
101
|
-
# <tt>FONTENCODING_ISO_8859_8</tt>::
|
102
|
-
# <tt>FONTENCODING_ISO_8859_9</tt>::
|
103
|
-
# <tt>FONTENCODING_ISO_8859_10</tt>::
|
104
|
-
# <tt>FONTENCODING_ISO_8859_11</tt>::
|
105
|
-
# <tt>FONTENCODING_ISO_8859_13</tt>::
|
106
|
-
# <tt>FONTENCODING_ISO_8859_14</tt>::
|
107
|
-
# <tt>FONTENCODING_ISO_8859_15</tt>::
|
108
|
-
# <tt>FONTENCODING_ISO_8859_16</tt>::
|
109
|
-
# <tt>FONTENCODING_KOI8</tt>::
|
110
|
-
# <tt>FONTENCODING_KOI8_R</tt>::
|
111
|
-
# <tt>FONTENCODING_KOI8_U</tt>::
|
112
|
-
# <tt>FONTENCODING_KOI8_UNIFIED</tt>::
|
93
|
+
# <tt>FONTENCODING_DEFAULT</tt>:: Don't care character encoding
|
94
|
+
# <tt>FONTENCODING_ISO_8859_1</tt>:: West European (Latin1)
|
95
|
+
# <tt>FONTENCODING_ISO_8859_2</tt>:: Central and East European (Latin2)
|
96
|
+
# <tt>FONTENCODING_ISO_8859_3</tt>:: Esperanto (Latin3)
|
97
|
+
# <tt>FONTENCODING_ISO_8859_4</tt>:: ISO-8859-4 character encoding
|
98
|
+
# <tt>FONTENCODING_ISO_8859_5</tt>:: Cyrillic (almost obsolete)
|
99
|
+
# <tt>FONTENCODING_ISO_8859_6</tt>:: Arabic
|
100
|
+
# <tt>FONTENCODING_ISO_8859_7</tt>:: Greek
|
101
|
+
# <tt>FONTENCODING_ISO_8859_8</tt>:: Hebrew
|
102
|
+
# <tt>FONTENCODING_ISO_8859_9</tt>:: Turkish (Latin5)
|
103
|
+
# <tt>FONTENCODING_ISO_8859_10</tt>:: ISO-8859-10 character encoding
|
104
|
+
# <tt>FONTENCODING_ISO_8859_11</tt>:: Thai
|
105
|
+
# <tt>FONTENCODING_ISO_8859_13</tt>:: Baltic
|
106
|
+
# <tt>FONTENCODING_ISO_8859_14</tt>:: ISO-8859-14 character encoding
|
107
|
+
# <tt>FONTENCODING_ISO_8859_15</tt>:: ISO-8859-15 character encoding
|
108
|
+
# <tt>FONTENCODING_ISO_8859_16</tt>:: ISO-8859-16 character encoding
|
109
|
+
# <tt>FONTENCODING_KOI8</tt>:: KOI-8 character encoding
|
110
|
+
# <tt>FONTENCODING_KOI8_R</tt>:: Russian
|
111
|
+
# <tt>FONTENCODING_KOI8_U</tt>:: Ukrainian
|
112
|
+
# <tt>FONTENCODING_KOI8_UNIFIED</tt>:: x
|
113
113
|
#
|
114
|
-
# <tt>FONTENCODING_CP437</tt>::
|
115
|
-
# <tt>FONTENCODING_CP850</tt>::
|
116
|
-
# <tt>FONTENCODING_CP851</tt>::
|
117
|
-
# <tt>FONTENCODING_CP852</tt>::
|
118
|
-
# <tt>FONTENCODING_CP855</tt>::
|
119
|
-
# <tt>FONTENCODING_CP856</tt>::
|
120
|
-
# <tt>FONTENCODING_CP857</tt>::
|
121
|
-
# <tt>FONTENCODING_CP860</tt>::
|
122
|
-
# <tt>FONTENCODING_CP861</tt>::
|
123
|
-
# <tt>FONTENCODING_CP862</tt>::
|
124
|
-
# <tt>FONTENCODING_CP863</tt>::
|
125
|
-
# <tt>FONTENCODING_CP864</tt>::
|
126
|
-
# <tt>FONTENCODING_CP865</tt>::
|
127
|
-
# <tt>FONTENCODING_CP866</tt>::
|
128
|
-
# <tt>FONTENCODING_CP869</tt>::
|
129
|
-
# <tt>FONTENCODING_CP870</tt>::
|
114
|
+
# <tt>FONTENCODING_CP437</tt>:: IBM-PC code page
|
115
|
+
# <tt>FONTENCODING_CP850</tt>:: IBM-PC Multilingual
|
116
|
+
# <tt>FONTENCODING_CP851</tt>:: IBM-PC Greek
|
117
|
+
# <tt>FONTENCODING_CP852</tt>:: IBM-PC Latin2
|
118
|
+
# <tt>FONTENCODING_CP855</tt>:: IBM-PC Cyrillic
|
119
|
+
# <tt>FONTENCODING_CP856</tt>:: IBM-PC Hebrew
|
120
|
+
# <tt>FONTENCODING_CP857</tt>:: IBM-PC Turkish
|
121
|
+
# <tt>FONTENCODING_CP860</tt>:: IBM-PC Portugese
|
122
|
+
# <tt>FONTENCODING_CP861</tt>:: IBM-PC Iceland
|
123
|
+
# <tt>FONTENCODING_CP862</tt>:: IBM-PC Israel
|
124
|
+
# <tt>FONTENCODING_CP863</tt>:: IBM-PC Canadian/French
|
125
|
+
# <tt>FONTENCODING_CP864</tt>:: IBM-PC Arabic
|
126
|
+
# <tt>FONTENCODING_CP865</tt>:: IBM-PC Nordic
|
127
|
+
# <tt>FONTENCODING_CP866</tt>:: IBM-PC Cyrillic #2
|
128
|
+
# <tt>FONTENCODING_CP869</tt>:: IBM-PC Greek #2
|
129
|
+
# <tt>FONTENCODING_CP870</tt>:: Latin-2 Multilingual
|
130
130
|
#
|
131
|
-
# <tt>FONTENCODING_CP1250</tt>::
|
132
|
-
# <tt>FONTENCODING_CP1251</tt>::
|
133
|
-
# <tt>FONTENCODING_CP1252</tt>::
|
134
|
-
# <tt>FONTENCODING_CP1253</tt>::
|
135
|
-
# <tt>FONTENCODING_CP1254</tt>::
|
136
|
-
# <tt>FONTENCODING_CP1255</tt>::
|
137
|
-
# <tt>FONTENCODING_CP1256</tt>::
|
138
|
-
# <tt>FONTENCODING_CP1257</tt>::
|
139
|
-
# <tt>FONTENCODING_CP1258</tt>::
|
140
|
-
# <tt>FONTENCODING_CP874</tt>::
|
131
|
+
# <tt>FONTENCODING_CP1250</tt>:: Windows Central European
|
132
|
+
# <tt>FONTENCODING_CP1251</tt>:: Windows Russian
|
133
|
+
# <tt>FONTENCODING_CP1252</tt>:: Windows Latin1
|
134
|
+
# <tt>FONTENCODING_CP1253</tt>:: Windows Greek
|
135
|
+
# <tt>FONTENCODING_CP1254</tt>:: Windows Turkish
|
136
|
+
# <tt>FONTENCODING_CP1255</tt>:: Windows Hebrew
|
137
|
+
# <tt>FONTENCODING_CP1256</tt>:: Windows Arabic
|
138
|
+
# <tt>FONTENCODING_CP1257</tt>:: Windows Baltic
|
139
|
+
# <tt>FONTENCODING_CP1258</tt>:: Windows Vietnam
|
140
|
+
# <tt>FONTENCODING_CP874</tt>:: Windows Thai
|
141
141
|
#
|
142
|
-
# <tt>FONTENCODING_UNICODE</tt>::
|
142
|
+
# <tt>FONTENCODING_UNICODE</tt>:: Unicode
|
143
143
|
#
|
144
|
-
# <tt>FONTENCODING_LATIN1</tt>::
|
145
|
-
# <tt>FONTENCODING_LATIN2</tt>::
|
146
|
-
# <tt>FONTENCODING_LATIN3</tt>::
|
147
|
-
# <tt>FONTENCODING_LATIN4</tt>::
|
148
|
-
# <tt>FONTENCODING_LATIN5</tt>::
|
149
|
-
# <tt>FONTENCODING_LATIN6</tt>::
|
150
|
-
# <tt>FONTENCODING_LATIN7</tt>::
|
151
|
-
# <tt>FONTENCODING_LATIN8</tt>::
|
152
|
-
# <tt>FONTENCODING_LATIN9</tt>::
|
153
|
-
# <tt>FONTENCODING_LATIN10</tt>::
|
154
|
-
# <tt>FONTENCODING_USASCII</tt>::
|
155
|
-
# <tt>FONTENCODING_WESTEUROPE</tt>::
|
156
|
-
# <tt>FONTENCODING_EASTEUROPE</tt>::
|
157
|
-
# <tt>FONTENCODING_SOUTHEUROPE</tt>::
|
158
|
-
# <tt>FONTENCODING_NORTHEUROPE</tt>::
|
159
|
-
# <tt>FONTENCODING_CYRILLIC</tt>::
|
160
|
-
# <tt>FONTENCODING_RUSSIAN</tt>::
|
161
|
-
# <tt>FONTENCODING_ARABIC</tt>::
|
162
|
-
# <tt>FONTENCODING_GREEK</tt>::
|
163
|
-
# <tt>FONTENCODING_HEBREW</tt>::
|
164
|
-
# <tt>FONTENCODING_TURKISH</tt>::
|
165
|
-
# <tt>FONTENCODING_NORDIC</tt>::
|
166
|
-
# <tt>FONTENCODING_THAI</tt>::
|
167
|
-
# <tt>FONTENCODING_BALTIC</tt>::
|
168
|
-
# <tt>FONTENCODING_CELTIC</tt>::
|
144
|
+
# <tt>FONTENCODING_LATIN1</tt>:: same as <tt>FONTENCODING_ISO_8859_1</tt>, Latin 1 (West European)
|
145
|
+
# <tt>FONTENCODING_LATIN2</tt>:: same as <tt>FONTENCODING_ISO_8859_2</tt>, Latin 2 (East European)
|
146
|
+
# <tt>FONTENCODING_LATIN3</tt>:: same as <tt>FONTENCODING_ISO_8859_3</tt>, Latin 3 (South European)
|
147
|
+
# <tt>FONTENCODING_LATIN4</tt>:: same as <tt>FONTENCODING_ISO_8859_4</tt>, Latin 4 (North European)
|
148
|
+
# <tt>FONTENCODING_LATIN5</tt>:: same as <tt>FONTENCODING_ISO_8859_9</tt>, Latin 5 (Turkish)
|
149
|
+
# <tt>FONTENCODING_LATIN6</tt>:: same as <tt>FONTENCODING_ISO_8859_10</tt>, Latin 6 (Nordic)
|
150
|
+
# <tt>FONTENCODING_LATIN7</tt>:: same as <tt>FONTENCODING_ISO_8859_13</tt>, Latin 7 (Baltic Rim)
|
151
|
+
# <tt>FONTENCODING_LATIN8</tt>:: same as <tt>FONTENCODING_ISO_8859_14</tt>, Latin 8 (Celtic)
|
152
|
+
# <tt>FONTENCODING_LATIN9</tt>:: same as <tt>FONTENCODING_ISO_8859_15</tt>, Latin 9 (a.k.a. Latin 0)
|
153
|
+
# <tt>FONTENCODING_LATIN10</tt>:: same as <tt>FONTENCODING_ISO_8859_16</tt>, Latin 10
|
154
|
+
# <tt>FONTENCODING_USASCII</tt>:: same as <tt>FONTENCODING_ISO_8859_1</tt>, Latin 1
|
155
|
+
# <tt>FONTENCODING_WESTEUROPE</tt>:: same as <tt>FONTENCODING_ISO_8859_1</tt>, Latin 1 (West European)
|
156
|
+
# <tt>FONTENCODING_EASTEUROPE</tt>:: same as <tt>FONTENCODING_ISO_8859_2</tt>, Latin 2 (East European)
|
157
|
+
# <tt>FONTENCODING_SOUTHEUROPE</tt>:: same as <tt>FONTENCODING_ISO_8859_3</tt>, Latin 3 (South European)
|
158
|
+
# <tt>FONTENCODING_NORTHEUROPE</tt>:: same as <tt>FONTENCODING_ISO_8859_4</tt>, Latin 4 (North European)
|
159
|
+
# <tt>FONTENCODING_CYRILLIC</tt>:: same as <tt>FONTENCODING_ISO_8859_5</tt>, Cyrillic
|
160
|
+
# <tt>FONTENCODING_RUSSIAN</tt>:: same as <tt>FONTENCODING_KOI8</tt>, Cyrillic
|
161
|
+
# <tt>FONTENCODING_ARABIC</tt>:: same as <tt>FONTENCODING_ISO_8859_6</tt>, Arabic
|
162
|
+
# <tt>FONTENCODING_GREEK</tt>:: same as <tt>FONTENCODING_ISO_8859_7</tt>, Greek
|
163
|
+
# <tt>FONTENCODING_HEBREW</tt>:: same as <tt>FONTENCODING_ISO_8859_8</tt>, Hebrew
|
164
|
+
# <tt>FONTENCODING_TURKISH</tt>:: same as <tt>FONTENCODING_ISO_8859_9</tt>, Latin 5 (Turkish)
|
165
|
+
# <tt>FONTENCODING_NORDIC</tt>:: same as <tt>FONTENCODING_ISO_8859_10</tt>, Latin 6 (Nordic)
|
166
|
+
# <tt>FONTENCODING_THAI</tt>:: same as <tt>FONTENCODING_ISO_8859_11</tt>, Thai
|
167
|
+
# <tt>FONTENCODING_BALTIC</tt>:: same as <tt>FONTENCODING_ISO_8859_13</tt>, Latin 7 (Baltic Rim)
|
168
|
+
# <tt>FONTENCODING_CELTIC</tt>:: same as <tt>FONTENCODING_ISO_8859_14, Latin 8 (Celtic)
|
169
169
|
#
|
170
170
|
class FXFont < FXId
|
171
171
|
|
@@ -176,45 +176,45 @@ module Fox
|
|
176
176
|
attr_reader :foundry
|
177
177
|
|
178
178
|
# Font family name [String]
|
179
|
-
attr_reader
|
179
|
+
attr_reader :name
|
180
180
|
|
181
181
|
# Actual font family name [String]
|
182
182
|
attr_reader :actualName
|
183
183
|
|
184
184
|
# Size in decipoints [Integer]
|
185
|
-
attr_reader
|
185
|
+
attr_reader :size
|
186
186
|
|
187
187
|
# Actual size in deci-points [Integer]
|
188
188
|
attr_reader :actualSize
|
189
189
|
|
190
190
|
# Font weight [Integer]
|
191
|
-
attr_reader
|
191
|
+
attr_reader :weight
|
192
192
|
|
193
193
|
# Actual font weight [Integer]
|
194
194
|
attr_reader :actualWeight
|
195
195
|
|
196
196
|
# Slant [Integer]
|
197
|
-
attr_reader
|
197
|
+
attr_reader :slant
|
198
198
|
|
199
199
|
# Actual slant [Integer]
|
200
200
|
attr_reader :actualSlant
|
201
201
|
|
202
202
|
# Encoding [Integer]
|
203
|
-
attr_reader
|
203
|
+
attr_reader :encoding
|
204
204
|
|
205
205
|
# Actual encoding [Integer]
|
206
206
|
attr_reader :actualEncoding
|
207
207
|
|
208
208
|
# Set width [Integer]
|
209
|
-
attr_reader
|
209
|
+
attr_reader :setWidth
|
210
210
|
|
211
211
|
# Actual set width [Integer]
|
212
212
|
attr_reader :actualSetWidth
|
213
213
|
|
214
214
|
# Hints [Integer]
|
215
|
-
attr_reader
|
215
|
+
attr_reader :hints
|
216
216
|
|
217
|
-
# Font description
|
217
|
+
# Font description {FXFontDesc}
|
218
218
|
attr_accessor :fontDesc
|
219
219
|
|
220
220
|
# Font angle [Integer]
|
@@ -224,36 +224,36 @@ module Fox
|
|
224
224
|
attr_accessor :font.
|
225
225
|
|
226
226
|
# First character glyph in font [Integer]
|
227
|
-
attr_reader
|
227
|
+
attr_reader :minChar
|
228
228
|
|
229
229
|
# Last character glyph in font [Integer]
|
230
|
-
attr_reader
|
230
|
+
attr_reader :maxChar
|
231
231
|
|
232
232
|
# Width of widest character in font [Integer]
|
233
|
-
attr_reader
|
233
|
+
attr_reader :fontWidth
|
234
234
|
|
235
235
|
# Height of tallest character in font [Integer]
|
236
|
-
attr_reader
|
236
|
+
attr_reader :fontHeight
|
237
237
|
|
238
238
|
# Ascent from baseline [Integer]
|
239
|
-
attr_reader
|
239
|
+
attr_reader :fontAscent
|
240
240
|
|
241
241
|
# Descent from baseline [Integer]
|
242
|
-
attr_reader
|
242
|
+
attr_reader :fontDescent
|
243
243
|
|
244
244
|
# Font leading [Integer]
|
245
|
-
attr_reader
|
245
|
+
attr_reader :fontLeading
|
246
246
|
|
247
247
|
# Font line spacing [Integer]
|
248
|
-
attr_reader
|
248
|
+
attr_reader :fontSpacing
|
249
249
|
|
250
250
|
#
|
251
251
|
# Return an FXFont instance, initialized from a font description.
|
252
252
|
#
|
253
253
|
# ==== Parameters:
|
254
254
|
#
|
255
|
-
# +a+::
|
256
|
-
# +fontDesc+::
|
255
|
+
# +a+:: an application instance {FXApp}
|
256
|
+
# +fontDesc+:: a font description {FXFontDesc}
|
257
257
|
#
|
258
258
|
def initialize(a, fontDesc) # :yields: theFont
|
259
259
|
end
|
@@ -266,13 +266,13 @@ module Fox
|
|
266
266
|
#
|
267
267
|
# ==== Parameters:
|
268
268
|
#
|
269
|
-
# +a+::
|
270
|
-
# +face+::
|
271
|
-
# +size+::
|
272
|
-
# +weight+::
|
273
|
-
# +encoding+::
|
274
|
-
# +setWidth+::
|
275
|
-
# +hints+::
|
269
|
+
# +a+:: an application instance {FXApp}
|
270
|
+
# +face+:: font face name [String]
|
271
|
+
# +size+:: requested font size, in points [Integer]
|
272
|
+
# +weight+:: requested font weight [Integer]
|
273
|
+
# +encoding+:: requested font encoding [Integer]
|
274
|
+
# +setWidth+:: requested font set width [Integer]
|
275
|
+
# +hints+:: font construction hints for font matching algorithm [Integer]
|
276
276
|
#
|
277
277
|
def initialize(a, face, size, weight=FXFont::Normal, slant=Font::Straight, encoding=FONTENCODING_DEFAULT, setWidth=FXFont::NonExpanded, hints=0) # :yields: theFont
|
278
278
|
end
|
@@ -305,7 +305,7 @@ module Fox
|
|
305
305
|
|
306
306
|
#
|
307
307
|
# Return the font description as a string suitable for
|
308
|
-
# parsing with #setFont, see above.
|
308
|
+
# parsing with {#setFont}, see above.
|
309
309
|
#
|
310
310
|
def getFont(); end
|
311
311
|
|
@@ -4,27 +4,27 @@ module Fox
|
|
4
4
|
#
|
5
5
|
# === Message identifiers
|
6
6
|
#
|
7
|
-
# +ID_FAMILY+::
|
8
|
-
# +ID_WEIGHT+::
|
9
|
-
# +ID_STYLE+::
|
10
|
-
# +ID_STYLE_TEXT+::
|
11
|
-
# +ID_SIZE+::
|
12
|
-
# +ID_SIZE_TEXT+::
|
13
|
-
# +ID_CHARSET+::
|
14
|
-
# +ID_SETWIDTH+::
|
15
|
-
# +ID_PITCH+::
|
16
|
-
# +ID_SCALABLE+::
|
17
|
-
# +ID_ALLFONTS+::
|
7
|
+
# +ID_FAMILY+:: x
|
8
|
+
# +ID_WEIGHT+:: x
|
9
|
+
# +ID_STYLE+:: x
|
10
|
+
# +ID_STYLE_TEXT+:: x
|
11
|
+
# +ID_SIZE+:: x
|
12
|
+
# +ID_SIZE_TEXT+:: x
|
13
|
+
# +ID_CHARSET+:: x
|
14
|
+
# +ID_SETWIDTH+:: x
|
15
|
+
# +ID_PITCH+:: x
|
16
|
+
# +ID_SCALABLE+:: x
|
17
|
+
# +ID_ALLFONTS+:: x
|
18
18
|
#
|
19
19
|
class FXFontSelector < FXPacker
|
20
20
|
|
21
|
-
# The "Accept" button
|
21
|
+
# The "Accept" button {FXButton}
|
22
22
|
attr_reader :acceptButton
|
23
23
|
|
24
|
-
# The "Cancel" button
|
24
|
+
# The "Cancel" button {FXButton}
|
25
25
|
attr_reader :cancelButton
|
26
26
|
|
27
|
-
# Font selection
|
27
|
+
# Font selection {FXFontDesc}
|
28
28
|
attr_accessor :fontSelection
|
29
29
|
|
30
30
|
#
|
data/rdoc-sources/FXFrame.rb
CHANGED
@@ -18,7 +18,7 @@ module Fox
|
|
18
18
|
attr_accessor :frameStyle
|
19
19
|
|
20
20
|
# Border width, in pixels [Integer]
|
21
|
-
attr_reader
|
21
|
+
attr_reader :borderWidth
|
22
22
|
|
23
23
|
# Top interior padding, in pixels [Integer]
|
24
24
|
attr_accessor :padTop
|
@@ -32,16 +32,16 @@ module Fox
|
|
32
32
|
# Right interior padding, in pixels [Integer]
|
33
33
|
attr_accessor :padRight
|
34
34
|
|
35
|
-
# Highlight color
|
35
|
+
# Highlight color {FXColor}
|
36
36
|
attr_accessor :hiliteColor
|
37
37
|
|
38
|
-
# Shadow color
|
38
|
+
# Shadow color {FXColor}
|
39
39
|
attr_accessor :shadowColor
|
40
40
|
|
41
|
-
# Border color
|
41
|
+
# Border color {FXColor}
|
42
42
|
attr_accessor :borderColor
|
43
43
|
|
44
|
-
# Base GUI color
|
44
|
+
# Base GUI color {FXColor}
|
45
45
|
attr_accessor :baseColor
|
46
46
|
|
47
47
|
#
|