OWLNext    7.0
Borland's Object Windows Library for the modern age
Loading...
Searching...
No Matches
gadget.h File Reference

Base class TGadget and simple derived TSeparatorGadget. More...

#include <owl/private/defs.h>
#include <owl/window.h>
#include <owl/dc.h>
#include <owl/preclass.h>
#include <owl/posclass.h>

Go to the source code of this file.

Classes

struct  owl::TMargins
 Used by the TGadgetWindow and TGadget classes, TMargins contains the measurements of the margins for the gadget. More...
 
class  owl::TGadget
 TGadget is the base class for the following derived gadget classes: More...
 
struct  owl::TGadget::TBorders
 Border dimensions. More...
 
class  owl::TSeparatorGadget
 TSeparatorGadget is a simple class you can use to create a separator between gadgets. More...
 
class  owl::TFlatHandleGadget
 A gadget that is used on the far right of a status bar to provide re-sizing grip for the host window. More...
 
class  owl::TSizeGripGadget
 TSizeGripGadget is a gadget that is used on the far right of a status bar to provide re-sizing grip for the host window. More...
 

Namespaces

namespace  owl
 Object Windows Library (OWLNext Core)
 

Macros

Ids of some OWL predefined gadgets
#define IDG_FIRST   30000
 first predefined gadget ID
 
#define IDG_LAST   31000
 last predefined gadget ID
 
#define IDG_MESSAGE   IDG_FIRST + 0
 
#define IDG_STATUS_EXT   IDG_FIRST + 1
 The ID for an extended selection gadget.
 
#define IDG_STATUS_CAPS   IDG_FIRST + 2
 The ID for a capslock gadget.
 
#define IDG_STATUS_NUM   IDG_FIRST + 3
 The ID for a numlock gadget.
 
#define IDG_STATUS_SCRL   IDG_FIRST + 4
 The ID for a scroll lock gadget.
 
#define IDG_STATUS_OVR   IDG_FIRST + 5
 The ID for an overwrite gadget.
 
#define IDG_STATUS_REC   IDG_FIRST + 6
 The ID for a record gadget.
 
#define IDG_SIZEGRIP   IDG_FIRST + 7
 The ID for a size grip gadget.
 
#define IDG_FLATHANDLE   IDG_FIRST + 8
 The ID for a flat bar handle.
 

Detailed Description

Base class TGadget and simple derived TSeparatorGadget.

Definition in file gadget.h.

Macro Definition Documentation

◆ IDG_FIRST

#define IDG_FIRST   30000

first predefined gadget ID

Definition at line 27 of file gadget.h.

◆ IDG_FLATHANDLE

#define IDG_FLATHANDLE   IDG_FIRST + 8

The ID for a flat bar handle.

Definition at line 37 of file gadget.h.

◆ IDG_LAST

#define IDG_LAST   31000

last predefined gadget ID

Definition at line 28 of file gadget.h.

◆ IDG_MESSAGE

#define IDG_MESSAGE   IDG_FIRST + 0
  • 0 is for backwards compatability

Definition at line 29 of file gadget.h.

◆ IDG_SIZEGRIP

#define IDG_SIZEGRIP   IDG_FIRST + 7

The ID for a size grip gadget.

Definition at line 36 of file gadget.h.

◆ IDG_STATUS_CAPS

#define IDG_STATUS_CAPS   IDG_FIRST + 2

The ID for a capslock gadget.

Definition at line 31 of file gadget.h.

◆ IDG_STATUS_EXT

#define IDG_STATUS_EXT   IDG_FIRST + 1

The ID for an extended selection gadget.

Definition at line 30 of file gadget.h.

◆ IDG_STATUS_NUM

#define IDG_STATUS_NUM   IDG_FIRST + 3

The ID for a numlock gadget.

Definition at line 32 of file gadget.h.

◆ IDG_STATUS_OVR

#define IDG_STATUS_OVR   IDG_FIRST + 5

The ID for an overwrite gadget.

Definition at line 34 of file gadget.h.

◆ IDG_STATUS_REC

#define IDG_STATUS_REC   IDG_FIRST + 6

The ID for a record gadget.

Definition at line 35 of file gadget.h.

◆ IDG_STATUS_SCRL

#define IDG_STATUS_SCRL   IDG_FIRST + 4

The ID for a scroll lock gadget.

Definition at line 33 of file gadget.h.