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

Global enums


Detailed Description

global enums


Enumerations

enum  fgl::ENUM_PPOP {
  _GSET, _GXOR, _GAND, _GOR, _GPLUS, _GMINUS,
  _GNOT, _GREPLACE_GE16, _GTRANSPARENT, _GCOLORKEY, _GREPLACE_LE32, _GREPLACE_LE48,
  _GREPLACE_LE64, _GREPLACE_LE80, _GREPLACE_LESS
}
enum  fgl::ENUM_VIDEOMODE {
  GTEXT, G320x200, G640x480, G800x600, G1024x768, G1280x1024,
  G1600x1200, GCUSTOM
}
enum  fgl::ENUM_ROTATE_DIRECTION { ROTATE_90_CW, ROTATE_90_CCW, ROTATE_180, ROTATE_HORIZONTAL, ROTATE_VERTICAL }
enum  fgl::ENUM_EVENTS {
  fgl::NOEVENT, fgl::KEYEVENT, fgl::MOUSEEVENT, fgl::QUITEVENT, fgl::ACCELEVENT, fgl::TERMINATEEVENT,
  fgl::CLOSEEVENT, fgl::MOVEEVENT, fgl::CLICKRIGHTEVENT, fgl::CLICKLEFTEVENT, fgl::CLICKMIDDLEEVENT, fgl::DRAGLEFTEVENT,
  fgl::DRAGRIGHTEVENT, fgl::GETFOCUSEVENT, fgl::LOSTFOCUSEVENT, fgl::INITEVENT, fgl::BUTTONHOLDEVENT, fgl::WINDOWRESIZEEVENT,
  fgl::WINDOWMOVEEVENT, fgl::STARTDRAGLEFTEVENT, fgl::STARTDRAGRIGHTEVENT, fgl::REPAINTEVENT, fgl::NOTIFYEVENT, fgl::ICONIZEEVENT,
  fgl::CURSOROUTEVENT, fgl::DBLCLICKRIGHTEVENT, fgl::DBLCLICKLEFTEVENT, fgl::DBLCLICKMIDDLEEVENT, fgl::MOUSEWHEELEVENT, fgl::TABSWITCHEVENT,
  fgl::LASTEVENT
}
enum  fgl::ENUM_FONTS {
  FONT0406, FONT0808, FONT0816, FONT1222, FONT1625, FONT2034,
  FONTSYS, FONTSYSMEDIUM, FONTSYSLIGHT, FONTLAST = (MAX_FONTS-1)
}
enum  fgl::ENUM_BUFFERING { FG_DOUBLEBUFFER = 2, FG_TRIPLEBUFFER, FG_QUADBUFFER }
enum  fgl::ENUM_MUTEX_TYPE { fastMutEx = 1, recursiveMutEx }
enum  fgl::ENUM_OS { OSTYPE_LINUX = 1, OSTYPE_MSDOS, OSTYPE_WIN32, OSTYPE_QNX }
enum  fgl::MODAL_RETURN {
  mrNone = -1, mrOk = -2, mrCancel = -3, mrYes = -2, mrNo = -3, mrAll = -4,
  mrIgnore = -5, mrClose = -6, mrQuit = -7, mrRetry = -8, mrUnknown = -9
}


Enumeration Type Documentation

enum ENUM_BUFFERING
 

For Buffered animation.

enum ENUM_EVENTS
 

The all event types.

Enumeration values:
NOEVENT  a dummy event.
KEYEVENT  This events indicates key pressing (the keyboard input is going to the active window only). System has some reserved key combination (ALT+X, CTRL+TAB etc), and these aren't possible to testing. These reserved keys are converted to appropriate events (QUITEVENT, LOSTFOCUSEVENT & GETFOCUSEVENT). Used with: Application and Window handlers.
MOUSEEVENT  Internal event.
QUITEVENT  The last event, that is sent only to the application procedure. This event can generated in one of the two ways: by user pressing <ALT+X> or by calling AppDone(). Used with: Application handler only.
ACCELEVENT  This is a very important event that is generated by system when you activate some Controls (Button, EditBox, ..). The member key contains the id of current control. The callback handler of the object [you can assign to each Control your callback that will be called at the right time] is called after this event parsing into your procedure. The test of some controls: Used with: Application and Window handlers.

void WindowHandler(GuiEvent *p) { switch(p->GetType()) { case ACCELEVENT: if (p->GetKey() == button1->GetId()) { some code } } }

TERMINATEEVENT  Last event in the app life. You can delete your stuff after this, the window is deleted now. Used with: Window handlers only.
CLOSEEVENT  CLose the most inner application loop only.
MOVEEVENT  Indicates any movement of the mouse (including button clicks). The members are assigned as follows: If cursor is out of any window, member key is 0, and items x & y contains the position of mouse cursor in screen co-ordination ([0,0] is top left corner). When the cursor is over some window, then event is sent only to the active window. The key member is set to 0 if the window is active, -1 when window with cursor is not active, and if the member key is greater than 0, then value is an id of controls in window. The co-ordinations for movement in case of window are relative to the window workspace (if cursor is at the title of window, then y co-ordination will be negative!). For a good overview of this, look at the events example. Used with: Application and Window handlers.
CLICKRIGHTEVENT  This event is sent when a simple click on mouse's right button is detected. You must use window flag WCLICKABLE to enable this feature. Position reported in the event is in the screen co-ordinates, or relative to windows, according to placement. Used with: Application and Window handlers.
CLICKLEFTEVENT  This event is sent when a simple click on mouse's left button is detected. You must use window flag WCLICKABLE to enable this feature. Position reported in the event is in the screen co-ordinates, or relative to windows, according to placement. Used with: Application and Window handlers.
CLICKMIDDLEEVENT  This event is sent when a simple click on mouse's middle button is detected. You must use window flag WCLICKABLE to enable this feature. Position reported in the event is in the screen co-ordinates, or relative to windows, according to placement. Used with: Application and Window handlers.
DRAGLEFTEVENT  Used with: Application and Window handlers.
DRAGRIGHTEVENT  Used with: Application and Window handlers.
GETFOCUSEVENT  The window has got the input focus. Used with: Window handlers only.
LOSTFOCUSEVENT  The window lost the input focus. Used with: Window handlers only.
INITEVENT  The first event that is sent to the window when a window is created and it is drawn at the screen. It is a right place for drawing controls and other stuff. Used with: Window handlers only.
BUTTONHOLDEVENT  If you hold the mouse button at the Controls PUSHBUTTON a while, system will repeatedly emit this event. See also the SetRepeatDelay() function. Used with: Application and Window handlers.
WINDOWRESIZEEVENT  If the window is resize-able (switch WSIZEABLE), then you can by dragging bottom right corner of windows, resize one. After each size change, this event is generated. You may redraw window at this point (Controls are draws automatically). The current size (of window workspace) is available by calling GetWW() a GetHW(). Used with: Window handlers only.
WINDOWMOVEEVENT  The event is generated when window moves at new position. Used with: Window handlers only.
STARTDRAGLEFTEVENT  If you use switch APP_MAGNIFIER, you can select a rectangle area by the mouse dragging. The members are assigned with [x,y] position of top left corner and [w,h] the size of one. If you want exactly first and end point position of dragging, you must use GetDragVector(). Used with: Application and Window handlers.
STARTDRAGRIGHTEVENT  If you use switch APP_MAGNIFIER, you can select a rectangle area by the mouse dragging. The members are assigned with [x,y] position of top left corner and [w,h] the size of one. If you want exactly first and end point position of dragging, you must use GetDragVector(). Used with: Application and Window handlers.
REPAINTEVENT  The window is repainted. Place your drawing code here. Used with: Window handlers only.
NOTIFYEVENT  Used with: Window handlers only.
ICONIZEEVENT  Used with: Window handlers only.
CURSOROUTEVENT  Used with: Application handler only.
DBLCLICKRIGHTEVENT  This event is sent when a double click on mouse's left button is detected. You must use window flag WCLICKABLE to enable this feature. Position reported in the event is in the screen co-ordinates (app handler), or relative to windows, according to placement. Used with: Application and Window handlers.
DBLCLICKLEFTEVENT  This event is sent when a double click on mouse's right button is detected. You must use window flag WCLICKABLE to enable this feature. Position reported in the event is in the screen co-ordinates (app handler), or relative to windows, according to placement. Used with: Application and Window handlers.
DBLCLICKMIDDLEEVENT  This event is sent when a double click on mouse's middle button is detected. You must use window flag WCLICKABLE to enable this feature. Position reported in the event is in the screen co-ordinates (app handler), or relative to windows, according to placement. Used with: Application and Window handlers.
MOUSEWHEELEVENT  This event is sent when mouse's wheel spin is detected. You must use window flag WCLICKABLE to enable this feature. GetButton() returns -1 or 1 for direcions. Position reported in the event is in the screen co-ordinates (app handler), or relative to windows, according to placement. Used with: Application and Window handlers.
TABSWITCHEVENT  Sent on the TabPage switch. The key member is pointer the name of one.
LASTEVENT  NOTE> this must be at the end - used as terminator.

enum ENUM_FONTS
 

Predefined const for a built-in fixed and proportional fonts.

enum ENUM_MUTEX_TYPE
 

The types of mutexes.

enum ENUM_OS
 

The current Operating System code.

enum ENUM_PPOP
 

The ROPs. Intended for a drawing functions.

enum ENUM_ROTATE_DIRECTION
 

Constants for bitmap rotations.

See also:
FGDrawBuffer::rotate()

enum ENUM_VIDEOMODE
 

Constants for apropriate videomodes.

enum MODAL_RETURN
 

Return codes for FGApp::ShowModal()


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