Module Fox

In:

FX4Splitter.rb
FXAccelTable.rb
FXApp.rb
FXArrowButton.rb
FXBitmap.rb
FXBMPIcon.rb
FXBMPImage.rb
FXButton.rb
FXCanvas.rb
FXCheckButton.rb
FXColorBar.rb
FXColorDialog.rb
FXColorSelector.rb
FXColorWell.rb
FXColorWheel.rb
FXComboBox.rb
FXComposite.rb
FXCURCursor.rb
FXCursor.rb
FXDataTarget.rb
FXDCPrint.rb
FXDC.rb
FXDCWindow.rb
FXDebugTarget.rb
fxdefs.rb
FXDelegator.rb
FXDialogBox.rb
FXDial.rb
FXDict.rb
FXDirBox.rb
FXDirDialog.rb
FXDirList.rb
FXDirSelector.rb
FXDocument.rb
FXDragCorner.rb
FXDrawable.rb
FXDriveBox.rb
FXFileDialog.rb
FXFileDict.rb
FXFileList.rb
FXFileSelector.rb
FXFontDialog.rb
FXFont.rb
FXFontSelector.rb
FXFrame.rb
FXGIFIcon.rb
FXGIFImage.rb
FXGLCanvas.rb
FXGLContext.rb
FXGLShape.rb
FXGLViewer.rb
FXGLVisual.rb
FXGroupBox.rb
FXHeader.rb
FXHMat.rb
FXHorizontalFrame.rb
FXHVec.rb
FXICOIcon.rb
FXICOImage.rb
FXIconList.rb
FXIcon.rb
FXId.rb
FXImage.rb
FXImageView.rb
FXInputDialog.rb
FXJPGIcon.rb
FXJPGImage.rb
FXLabel.rb
FXListBox.rb
FXList.rb
FXMainWindow.rb
FXMatrix.rb
FXMDIButton.rb
FXMDIChild.rb
FXMDIClient.rb
FXMemoryBuffer.rb
FXMenubar.rb
FXMenuButton.rb
FXMenuCaption.rb
FXMenuCascade.rb
FXMenuCommand.rb
FXMenuPane.rb
FXMenuSeparator.rb
FXMenuTitle.rb
FXMessageBox.rb
FXObject.rb
FXOptionMenu.rb
FXPacker.rb
FXPCXIcon.rb
FXPCXImage.rb
FXPicker.rb
FXPNGIcon.rb
FXPNGImage.rb
FXPopup.rb
FXRadioButton.rb
FXRange.rb
FXRegistry.rb
FXScintilla.rb
FXScrollArea.rb
FXSettings.rb
FXShell.rb
FXSplitter.rb
FXStatusbar.rb
FXStatusline.rb
FXStream.rb
FXTable.rb
FXTextField.rb
FXText.rb
FXToggleButton.rb
FXToolbarGrip.rb
FXToolbar.rb
FXToolbarShell.rb
FXTooltip.rb
FXTopWindow.rb
FXTreeList.rb
FXVerticalFrame.rb
FXWindow.rb
../lib/fox/calendar.rb
../lib/fox/core.rb
../lib/fox/glgroup.rb
../lib/fox/glshapes.rb
../lib/fox/iterators.rb
../lib/fox/responder2.rb
../lib/fox/scintilla.rb
../lib/fox/undolist.rb
../lib/fox/version.rb

This file is automatically generated from Scintilla.iface DO NOT MODIFY

Methods

FXALPHAVAL FXBLUEVAL FXGREENVAL FXREDVAL FXRGB FXRGBA FXRGBACOMPVAL MKUINT SELID SELTYPE fxTraceLevel fxcolorfromname fxdecodeColorData fxfindhotkeyoffset fxhsv_to_rgb fxloadICO fxloadJPG fxloadPCX fxloadPNG fxnamefromcolor fxparseaccel fxparsehotkey fxrgb_to_hsv fxrubyversion fxsaveICO fxsaveJPG fxsavePCX fxsavePNG fxversion makeHiliteColor makeShadowColor

Classes and Modules

Class Fox::FX4Splitter
Class Fox::FXAccelTable
Class Fox::FXApp
Class Fox::FXArc
Class Fox::FXArrowButton
Class Fox::FXBMPIcon
Class Fox::FXBMPImage
Class Fox::FXBitmap
Class Fox::FXButton
Class Fox::FXCURCursor
Class Fox::FXCalendar
Class Fox::FXCanvas
Class Fox::FXCheckButton
Class Fox::FXColorBar
Class Fox::FXColorDialog
Class Fox::FXColorSelector
Class Fox::FXColorWell
Class Fox::FXColorWheel
Class Fox::FXComboBox
Class Fox::FXCommand
Class Fox::FXComposite
Class Fox::FXCursor
Class Fox::FXDC
Class Fox::FXDCPrint
Class Fox::FXDCWindow
Class Fox::FXDataTarget
Class Fox::FXDebugTarget
Class Fox::FXDelegator
Class Fox::FXDial
Class Fox::FXDialogBox
Class Fox::FXDict
Class Fox::FXDirBox
Class Fox::FXDirDialog
Class Fox::FXDirItem
Class Fox::FXDirList
Class Fox::FXDirSelector
Class Fox::FXDocument
Class Fox::FXDragCorner
Class Fox::FXDrawable
Class Fox::FXDriveBox
Class Fox::FXEvent
Class Fox::FXFileAssoc
Class Fox::FXFileDialog
Class Fox::FXFileDict
Class Fox::FXFileItem
Class Fox::FXFileList
Class Fox::FXFileSelector
Class Fox::FXFileStream
Class Fox::FXFont
Class Fox::FXFontDesc
Class Fox::FXFontDialog
Class Fox::FXFontSelector
Class Fox::FXFrame
Class Fox::FXGIFIcon
Class Fox::FXGIFImage
Class Fox::FXGLCanvas
Class Fox::FXGLCone
Class Fox::FXGLContext
Class Fox::FXGLCube
Class Fox::FXGLCylinder
Class Fox::FXGLGroup
Class Fox::FXGLLine
Class Fox::FXGLPoint
Class Fox::FXGLShape
Class Fox::FXGLSphere
Class Fox::FXGLViewer
Class Fox::FXGLVisual
Class Fox::FXGroupBox
Class Fox::FXHMat
Class Fox::FXHVec
Class Fox::FXHeader
Class Fox::FXHeaderItem
Class Fox::FXHiliteStyle
Class Fox::FXHorizontalFrame
Class Fox::FXICOIcon
Class Fox::FXICOImage
Class Fox::FXIcon
Class Fox::FXIconDict
Class Fox::FXIconItem
Class Fox::FXIconList
Class Fox::FXId
Class Fox::FXImage
Class Fox::FXImageView
Class Fox::FXInputDialog
Class Fox::FXJPGIcon
Class Fox::FXJPGImage
Class Fox::FXLabel
Class Fox::FXLight
Class Fox::FXList
Class Fox::FXListBox
Class Fox::FXListItem
Class Fox::FXMDIChild
Class Fox::FXMDIClient
Class Fox::FXMDIDeleteButton
Class Fox::FXMDIMaximizeButton
Class Fox::FXMDIMenu
Class Fox::FXMDIMinimizeButton
Class Fox::FXMDIRestoreButton
Class Fox::FXMDIWindowButton
Class Fox::FXMainWindow
Class Fox::FXMaterial
Class Fox::FXMatrix
Class Fox::FXMemoryBuffer
Class Fox::FXMemoryStream
Class Fox::FXMenuButton
Class Fox::FXMenuCaption
Class Fox::FXMenuCascade
Class Fox::FXMenuCommand
Class Fox::FXMenuPane
Class Fox::FXMenuSeparator
Class Fox::FXMenuTitle
Class Fox::FXMenubar
Class Fox::FXMessageBox
Class Fox::FXObject
Class Fox::FXOption
Class Fox::FXOptionMenu
Class Fox::FXPCXIcon
Class Fox::FXPCXImage
Class Fox::FXPNGIcon
Class Fox::FXPNGImage
Class Fox::FXPSBounds
Class Fox::FXPacker
Class Fox::FXPicker
Class Fox::FXPoint
Class Fox::FXPopup
Class Fox::FXPrinter
Class Fox::FXPseudoTarget
Class Fox::FXRadioButton
Class Fox::FXRange
Class Fox::FXRecentFiles
Class Fox::FXRectangle
Class Fox::FXRegistry
Class Fox::FXScintilla
Class Fox::FXScrollArea
Class Fox::FXSegment
Class Fox::FXSettings
Class Fox::FXShell
Class Fox::FXSize
Class Fox::FXSplitter
Class Fox::FXStatusbar
Class Fox::FXStatusline
Class Fox::FXStream
Class Fox::FXTable
Class Fox::FXTableItem
Class Fox::FXTablePos
Class Fox::FXTableRange
Class Fox::FXText
Class Fox::FXTextField
Class Fox::FXToggleButton
Class Fox::FXToolbar
Class Fox::FXToolbarGrip
Class Fox::FXToolbarShell
Class Fox::FXTooltip
Class Fox::FXTopWindow
Class Fox::FXTreeItem
Class Fox::FXTreeList
Class Fox::FXTreeListBox
Class Fox::FXUndoList
Class Fox::FXVerticalFrame
Class Fox::FXViewport
Class Fox::FXWindow
Class Fox::NotifyHeader
Class Fox::SCNotification
Class Fox::TextRange

Public Class methods

MKUINT(lo, hi)

Make an unsigned int out of two unsigned shorts

SELTYPE(sel)

Return the message type for a selector

SELID(sel)

Return the message identifier for a selector

FXRGB(r, g, b)

Construct an FXColor value from its red, green and blue components

FXRGBA(r, g, b, a)

Construct an FXColor value from its red, green, blue and alpha (transparency) components

FXREDVAL(color)

Return the red value from an FXColor value

FXGREENVAL(color)

Return the red value from an FXColor value

FXBLUEVAL(color)

Return the red value from an FXColor value

FXALPHAVAL(color)

Return the red value from an FXColor value

FXRGBACOMPVAL(color, component)

Return the specified component value for this FXColor value, where component is either 0, 1, 2 or 3.

fxparseaccel(s)

Parse for accelerator key codes in a string

fxparsehotkey(s)

Parse for hot key codes in a string

fxfindhotkeyoffset(s)

Locate hot key underline offset from begin of string

makeHiliteColor(clr)

Get highlight color

makeShadowColor(clr)

Get shadow color

fxcolorfromname(colorName)

Return the RGB value for this color name.

fxnamefromcolor(color)

Return the name of the closest color to the input RGB value.

fxrgb_to_hsv(r, g, b)

Convert RGB to HSV

fxhsv_to_rgb(h, s, v)

Convert HSV to RGB

fxversion()

Return the version number that the FOX library has been compiled with, as a String (e.g. "1.0.34").

fxTraceLevel()

Controls tracing level

fxloadICO(store)

Load a ICO file from store (an FXStream instance). On success, returns an array whose elements are the image data (a String), the transparency color, the icon width and icon height. If the operation fails, this method returns `nil`.

fxsaveICO(store, pixels, transp, width, height)

Save a ICO file to a stream. Returns `true` on success, `false` on failure.

fxloadJPG(store)

Load a JPEG from store (an FXStream instance). On success, returns an array whose elements are the image data (a String), the transparency color, image width, image height and quality. On failure, returns `nil`.

fxsaveJPG(store, data, transp, width, height, quality)

Save a JPEG to a stream. Returns `true` on success, `false` on failure.

fxloadPCX(store)

Load a PCX file from a stream. If successful, returns an array containing the pixel data, transparency color, image width and image height. Returns `nil` on failure.

fxsavePCX(store, pixels, transp, width, height)

Save a PCX file to a stream. Returns true if successful, false if it fails.

fxdecodeColorData(data)

The drag-and-drop data used for colors is a sequence of unsigned short integers, in native byte ordering. Here, we use the ‘S’ directive for String#unpack (which treats two successive characters as an unsigned short in native byte order) to decode the R, G, B and A values.

fxrubyversion()

Returns the FXRuby version number as a string, e.g. "1.0.19".

Public Instance methods

fxloadPNG(store)

Load a PNG file from a stream. If successful, returns an array containing the image pixel data (as a String), the transparency color, the image width and the image height. If it fails, the function returns `nil`.

fxsavePNG(store, pix, transp, width, height)

Save a PNG file to a stream. Returns true on success, false on failure.