ARB
Macros | Enumerations | Functions | Variables
AW_Xm.cxx File Reference
#include <aw_Xm.hxx>
Include dependency graph for AW_Xm.cxx:

Go to the source code of this file.

Macros

#define XDRAW_PARAM2(common)   (common)->get_display(), (common)->get_window_id()
 
#define XDRAW_PARAM3(common, gc)   XDRAW_PARAM2(common), (common)->get_GC(gc)
 

Enumerations

enum  StippleType {
  ST_UNDEFINED = -1, FILLED_125 = 0, FILLED_25, FILLED_375,
  FILLED_50, FILLED_625, FILLED_75, FILLED_875
}
 

Functions

static bool AW_draw_string_on_screen (AW_device *device, int gc, const char *textBuffer, size_t textStart, size_t textLen, const AW::Position &pos, AW_CL)
 
static Pixmap getStipplePixmap (AW_common_Xm *common, StippleType stippleType)
 

Variables

const int PIXMAP_SIZE = 8
 
const int STIPPLE_TYPES = FILLED_875+1
 

Macro Definition Documentation

#define XDRAW_PARAM2 (   common)    (common)->get_display(), (common)->get_window_id()

Definition at line 26 of file AW_Xm.cxx.

#define XDRAW_PARAM3 (   common,
  gc 
)    XDRAW_PARAM2(common), (common)->get_GC(gc)

Definition at line 27 of file AW_Xm.cxx.

Referenced by AW_draw_string_on_screen().

Enumeration Type Documentation

Enumerator
ST_UNDEFINED 
FILLED_125 
FILLED_25 
FILLED_375 
FILLED_50 
FILLED_625 
FILLED_75 
FILLED_875 

Definition at line 63 of file AW_Xm.cxx.

Function Documentation

static bool AW_draw_string_on_screen ( AW_device device,
int  gc,
const char textBuffer,
size_t  textStart,
size_t  textLen,
const AW::Position pos,
AW_CL   
)
static

Definition at line 46 of file AW_Xm.cxx.

References AUTO_FLUSH, AW_INT, DOWNCAST, and XDRAW_PARAM3.

static Pixmap getStipplePixmap ( AW_common_Xm common,
StippleType  stippleType 
)
static

Variable Documentation

const int PIXMAP_SIZE = 8

Definition at line 74 of file AW_Xm.cxx.

Referenced by getStipplePixmap().

const int STIPPLE_TYPES = FILLED_875+1

Definition at line 75 of file AW_Xm.cxx.

Referenced by getStipplePixmap().