Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | Related Pages | Examples

Global defines


Detailed Description

global defines

Flags for use with FGDrawBuffer::bitblit()


Defines

#define FGCOLOR(i)   (i)
#define FGCONNECT(sender, THIS, PARAM1)   { (sender)->Connect((THIS), (void *)(PARAM1)); }
#define IM   CScheme->window_fore
#define PM   CScheme->window_back

Variables

const unsigned fgl::BITBLIT_COPY = 0x0000
const unsigned fgl::BITBLIT_WITH_OPERATOR = 0x0200
const unsigned fgl::BITBLIT_WITH_ALPHA = 0x0400
const unsigned fgl::BITBLIT_WITH_CLIPPING = 0x1000
const unsigned fgl::BITBLIT_WITH_DECREMENT = 0x2000
const FGPixel fgl::CBLACK = 0
const FGPixel fgl::CDARK = 1
const FGPixel fgl::CGRAYED = 2
const FGPixel fgl::CGRAY1 = 3
const FGPixel fgl::CGRAY2 = 4
const FGPixel fgl::CGRAY3 = 5
const FGPixel fgl::CBLUE = 6
const FGPixel fgl::CBLUELIGHT = 7
const FGPixel fgl::CGREEN = 8
const FGPixel fgl::CGREENLIGHT = 9
const FGPixel fgl::CRED = 10
const FGPixel fgl::CREDLIGHT = 11
const FGPixel fgl::CBROWN = 12
const FGPixel fgl::CYELLOW = 13
const FGPixel fgl::CWHITED = 14
const FGPixel fgl::CWHITE = 15
const unsigned UNDEFINED_COLOR = unsigned(0xffffffffU)
const unsigned DEFAULT_COLOR_KEY = unsigned(0x12345678U)
const unsigned DEFAULT_ALPHA_VALUE = unsigned(0)
const unsigned fgl::WFRAMED = 0x0001
const unsigned fgl::WTITLED = 0x0002
const unsigned fgl::WMODAL = 0x0004
const unsigned fgl::WNOTIFY = 0x0008
const unsigned fgl::WHIDEN = 0x0010
const unsigned fgl::WUNMOVED = 0x0020
const unsigned fgl::WMENU = 0x0040
const unsigned fgl::WNOPICTO = 0x0080
const unsigned fgl::WBITMAP = 0x0100
const unsigned fgl::WCLICKABLE = 0x0200
const unsigned fgl::WDIRTY = 0x0400
const unsigned fgl::WUSESELECTEDCONTROL = 0x0800
const unsigned fgl::WLOCKED = 0x1000
const unsigned fgl::WTRIGGER = 0x2000
const unsigned fgl::WLASTFOCUS = 0x4000
const unsigned fgl::WSIZEABLE = 0x8000
const unsigned fgl::WUSELAST = 0x00010000
const unsigned fgl::WMINIMIZE = 0x00020000
const unsigned fgl::WSTATUSBAR = 0x00040000
const unsigned fgl::WGLCONTEXT = 0x00100000
const unsigned fgl::WNOTEBOOK = 0x00200000
const unsigned fgl::WBACK = 0x00400000
const unsigned fgl::WCENTRED = 0x00800000
const unsigned fgl::WESCAPE = 0x01000000
const unsigned fgl::WALIGNED = 0x02000000
const unsigned fgl::WFASTMOVE = 0x04000000
const unsigned fgl::WTOP = 0x08000000
const unsigned fgl::WNOICON = 0x10000000
const unsigned fgl::WNODRAWFROMCONSTRUCTOR = 0x20000000
const unsigned fgl::WICONWINDOWTYPE = 0x40000000
const unsigned fgl::WMENUWINDOWTYPE = 0x80000000
const unsigned fgl::WSTANDARD = (WTITLED|WFRAMED)
const unsigned fgl::APP_WINDOWDATABASE = 1
const unsigned fgl::APP_CFG = 2
const unsigned fgl::APP_ENABLEALTX = 4
const unsigned fgl::APP_MAGNIFIER = 8
const unsigned fgl::APP_ROOTWINDOW = 16
const unsigned fgl::APP_ENABLEEFECTS = 0x20
const unsigned fgl::APP_ALL = 0x1F
const unsigned fgl::APP_LOCALDIR = 0x80000000


Define Documentation

#define FGCOLOR  )     (i)
 

Remap the indexed colors to the truecolor directly by palette color map. Useful macro when you port your 256 color modes app to the truecolors.

#define FGCONNECT sender,
THIS,
PARAM1   )     { (sender)->Connect((THIS), (void *)(PARAM1)); }
 

MACRO to connect one object with other. See class FGConnector for more.

See also:
FGConnector::Connect()
Examples:
connect.cpp.

#define IM   CScheme->window_fore
 

predefined FGWindow foreground color

#define PM   CScheme->window_back
 

predefined FGWindow background color


Variable Documentation

const unsigned fgl::APP_ALL = 0x1F
 

Enable all the above.

const unsigned fgl::APP_CFG = 2
 

Enable Configuration file in form EXEFILENAME.rc.

const unsigned fgl::APP_ENABLEALTX = 4
 

Enable The ALT+X hotkey to terminates your application.

const unsigned fgl::APP_ENABLEEFECTS = 0x20
 

Enable visual efects.

const unsigned fgl::APP_LOCALDIR = 0x80000000
 

Use local application directory for Config files instead of HOMEDIR.

const unsigned fgl::APP_MAGNIFIER = 8
 

Enable the rectangle selections by mouse.

const unsigned fgl::APP_ROOTWINDOW = 16
 

Enable and initialize the root FGWindow, i.e. background.

const unsigned fgl::APP_WINDOWDATABASE = 1
 

Enable to remember FGWindow's positions and sizes.

const unsigned fgl::BITBLIT_COPY = 0x0000
 

do only raw copy (no OR, AND etc.)

const unsigned fgl::BITBLIT_WITH_ALPHA = 0x0400
 

do copy and assume the source alpha value (transparency)

const unsigned fgl::BITBLIT_WITH_CLIPPING = 0x1000
 

clips the coordinates before drawing (use if unsure)

const unsigned fgl::BITBLIT_WITH_DECREMENT = 0x2000
 

to copy the overlapped blocks

const unsigned fgl::BITBLIT_WITH_OPERATOR = 0x0200
 

do copy with current dest. operator (_GSET, _GOR ...), see set_ppop()

const FGPixel fgl::CBLACK = 0
 

Constant for the BLACK color.

const FGPixel fgl::CBLUE = 6
 

Constant for the BLUE color.

const FGPixel fgl::CBLUELIGHT = 7
 

Constant for the LIGHT BLUE color.

const FGPixel fgl::CBROWN = 12
 

Constant for the BROWN color.

const FGPixel fgl::CDARK = 1
 

Constant for the DARK_GRAY color.

const FGPixel fgl::CGRAY1 = 3
 

Constant for the GRAY color #1.

const FGPixel fgl::CGRAY2 = 4
 

Constant for the GRAY color #2.

const FGPixel fgl::CGRAY3 = 5
 

Constant for the GRAY color #3.

const FGPixel fgl::CGRAYED = 2
 

Constant for the another GRAY color.

const FGPixel fgl::CGREEN = 8
 

Constant for the GREEN color.

const FGPixel fgl::CGREENLIGHT = 9
 

Constant for the LIGHT GREEN color.

const FGPixel fgl::CRED = 10
 

Constant for the RED color.

const FGPixel fgl::CREDLIGHT = 11
 

Constant for the LIGHT RED color.

const FGPixel fgl::CWHITE = 15
 

Constant for the 100% WHITE color.

const FGPixel fgl::CWHITED = 14
 

Constant for the DUN WHITE color.

const FGPixel fgl::CYELLOW = 13
 

Constant for the YELLOW color.

const unsigned fgl::WALIGNED = 0x02000000
 

Alligne the FGWindow to 32 bit sizes.

const unsigned fgl::WBACK = 0x00400000
 

most bottom

const unsigned fgl::WBITMAP = 0x0100
 

internal

const unsigned fgl::WCENTRED = 0x00800000
 

Show the FGWindow in the center of screen.

const unsigned fgl::WCLICKABLE = 0x0200
 

Deprecated:

const unsigned fgl::WDIRTY = 0x0400
 

internal

const unsigned fgl::WESCAPE = 0x01000000
 

Close the FGWindow when ESCAPE key is pressed.

const unsigned fgl::WFASTMOVE = 0x04000000
 

Enable fast move of the FGWindow, i.e. don't redraw opaque.

const unsigned fgl::WFRAMED = 0x0001
 

The FGWindow has frame.

const unsigned fgl::WGLCONTEXT = 0x00100000
 

internal

const unsigned fgl::WHIDEN = 0x0010
 

internal

const unsigned fgl::WICONWINDOWTYPE = 0x40000000
 

internal

const unsigned fgl::WLASTFOCUS = 0x4000
 

The FGWindow don't get focus on create.

const unsigned fgl::WLOCKED = 0x1000
 

internal

const unsigned fgl::WMENU = 0x0040
 

The FGWindow has a line menu.

const unsigned fgl::WMENUWINDOWTYPE = 0x80000000
 

internal

const unsigned fgl::WMINIMIZE = 0x00020000
 

Show the minimize pictogram in the FGWindow title.

const unsigned fgl::WMODAL = 0x0004
 

The FGWindow will be shown as modal.

const unsigned fgl::WNODRAWFROMCONSTRUCTOR = 0x20000000
 

internal

const unsigned fgl::WNOICON = 0x10000000
 

internal

const unsigned fgl::WNOPICTO = 0x0080
 

The FGWindow is without pictograms (to minimize and to hide it).

const unsigned fgl::WNOTEBOOK = 0x00200000
 

The FGWindow uses notebooks. Use this flag to create multiple page dialog or tabbed notebook. It displays multiple overlapping pages that are TabPage objects. The user selects selects a page by clicking the page's tab that appears at the top of control.

See also:
FGWindow::AddTabPage()

const unsigned fgl::WNOTIFY = 0x0008
 

The FGWindow sends EVENTNOTIFY to its handler when it is destroyed.

const unsigned fgl::WSIZEABLE = 0x8000
 

The FGWindow is able to change its size.

const unsigned fgl::WSTANDARD = (WTITLED|WFRAMED)
 

standard predefined values.

const unsigned fgl::WSTATUSBAR = 0x00040000
 

The FGWindow has a statusbar in the bottom.

const unsigned fgl::WTITLED = 0x0002
 

The FGWindow has caption.

const unsigned fgl::WTOP = 0x08000000
 

Top most window.

const unsigned fgl::WTRIGGER = 0x2000
 

internal

const unsigned fgl::WUNMOVED = 0x0020
 

The FGWindow is unable to move/change its position.

const unsigned fgl::WUSELAST = 0x00010000
 

The FGWindow sets its size and position from WindowDatabase if any on create time.

const unsigned fgl::WUSESELECTEDCONTROL = 0x0800
 

Set the first control as SELECTED when is added.


Generated on Wed Feb 9 11:31:37 2005 for OpenGUI by  doxygen 1.4.0