CrystalSpace

Public API Reference

Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

csws/cswindow.h File Reference

Crystal Space Windowing System: window class. More...

#include "cscomp.h"
#include "csbutton.h"

Go to the source code of this file.

Compounds

class  csWindow
 A csWindow object is a rectangular area of screen with border which optionally contains a titlebar, a menubar and a client component. More...


Window style flags

#define CSWS_BUTSYSMENU   0x00000001
 does window have a system menu?

#define CSWS_BUTCLOSE   0x00000002
 Does window have a close button?

#define CSWS_BUTHIDE   0x00000004
 Does window have a hide button?

#define CSWS_BUTMAXIMIZE   0x00000008
 Does window have a maximize/restore button?

#define CSWS_TITLEBAR   0x00000010
 Does window have a titlebar?

#define CSWS_MENUBAR   0x00000020
 Does window have a menu bar?

#define CSWS_CLIENTBORDER   0x00000040
 Does window draw a thin 3D frame around client window?

#define CSWS_TOOLBAR   0x00000080
 Does window have a tool bar?

#define CSWS_TBPOS_MASK   0x00000300
 Toolbar position mask.

#define CSWS_TBPOS_TOP   0x00000000
 Toolbar is automatically placed at top of window (below menu bar).

#define CSWS_TBPOS_BOTTOM   0x00000100
 Toolbar is automatically placed at bottom of window.

#define CSWS_TBPOS_LEFT   0x00000200
 Toolbar is automatically placed at left of window.

#define CSWS_TBPOS_RIGHT   0x00000300
 Toolbar is automatically placed at right of window.

#define CSWS_DEFAULTVALUE
 Default window style.


Defines

#define CSWID_BUTSYSMENU   0xC500
 Window system menu button ID.

#define CSWID_BUTCLOSE   0xC501
 Window close button ID.

#define CSWID_BUTHIDE   0xC502
 Window hide button ID.

#define CSWID_BUTMAXIMIZE   0xC503
 Window maximize button ID.

#define CSWID_TITLEBAR   0xC504
 Window title bar ID.

#define CSWID_MENUBAR   0xC505
 Window menu bar ID.

#define CSWID_CLIENT   0xC506
 Client window ID.

#define CSWID_SYSMENU   0xC507
 System menu ID.

#define CSWID_TOOLBAR   0xC508
 Tool bar ID.


Enumerations

enum  csWindowFrameStyle
 Possible window frame styles. More...

enum  { cscmdWindowSysMenu = 0x00000100, cscmdWindowSetClient }
 The following commands are generated by titlebar buttons. More...


Detailed Description

Crystal Space Windowing System: window class.

Definition in file cswindow.h.


Generated for Crystal Space by doxygen 1.2.18