Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members

BC_DisplayInfo Class Reference

#include <bcdisplayinfo.h>

List of all members.

Public Member Functions

 BC_DisplayInfo (char *display_name="", int show_error=1)
 ~BC_DisplayInfo ()
int get_root_w ()
int get_root_h ()
int get_abs_cursor_x ()
int get_abs_cursor_y ()
int get_top_border ()
int get_left_border ()
int get_right_border ()
int get_bottom_border ()
void test_window (int &x_out, int &y_out, int &x_out2, int &y_out2, int x_in, int y_in)

Static Public Member Functions

static void parse_geometry (char *geom, int *x, int *y, int *width, int *height)

Private Member Functions

void init_borders ()
void init_window (char *display_name, int show_error)

Private Attributes

Display * display
Window rootwin
Visual * vis
int screen
int default_depth
char * display_name

Static Private Attributes

static int top_border = -1
static int left_border = -1
static int bottom_border = -1
static int right_border = -1
static int auto_reposition_x = -1
static int auto_reposition_y = -1


class BC_WindowBase

Detailed Description

Definition at line 8 of file bcdisplayinfo.h.

Constructor & Destructor Documentation

BC_DisplayInfo::BC_DisplayInfo char *  display_name = "",
int  show_error = 1

Definition at line 20 of file bcdisplayinfo.C.

BC_DisplayInfo::~BC_DisplayInfo  ) 

Definition at line 25 of file bcdisplayinfo.C.

Member Function Documentation

int BC_DisplayInfo::get_abs_cursor_x  ) 

Definition at line 237 of file bcdisplayinfo.C.

int BC_DisplayInfo::get_abs_cursor_y  ) 

Definition at line 255 of file bcdisplayinfo.C.

int BC_DisplayInfo::get_bottom_border  ) 

Definition at line 193 of file bcdisplayinfo.C.

int BC_DisplayInfo::get_left_border  ) 

Definition at line 181 of file bcdisplayinfo.C.

int BC_DisplayInfo::get_right_border  ) 

Definition at line 187 of file bcdisplayinfo.C.

int BC_DisplayInfo::get_root_h  ) 

Definition at line 231 of file bcdisplayinfo.C.

int BC_DisplayInfo::get_root_w  ) 

Definition at line 225 of file bcdisplayinfo.C.

int BC_DisplayInfo::get_top_border  ) 

Definition at line 175 of file bcdisplayinfo.C.

void BC_DisplayInfo::init_borders  )  [private]

Definition at line 153 of file bcdisplayinfo.C.

void BC_DisplayInfo::init_window char *  display_name,
int  show_error

Definition at line 199 of file bcdisplayinfo.C.

void BC_DisplayInfo::parse_geometry char *  geom,
int *  x,
int *  y,
int *  width,
int *  height

Definition at line 31 of file bcdisplayinfo.C.

void BC_DisplayInfo::test_window int &  x_out,
int &  y_out,
int &  x_out2,
int &  y_out2,
int  x_in,
int  y_in

Definition at line 36 of file bcdisplayinfo.C.

Friends And Related Function Documentation

friend class BC_WindowBase [friend]

Definition at line 14 of file bcdisplayinfo.h.

Member Data Documentation

int BC_DisplayInfo::auto_reposition_x = -1 [static, private]

Definition at line 40 of file bcdisplayinfo.h.

int BC_DisplayInfo::auto_reposition_y = -1 [static, private]

Definition at line 41 of file bcdisplayinfo.h.

int BC_DisplayInfo::bottom_border = -1 [static, private]

Definition at line 38 of file bcdisplayinfo.h.

int BC_DisplayInfo::default_depth [private]

Definition at line 42 of file bcdisplayinfo.h.

Display* BC_DisplayInfo::display [private]

Definition at line 32 of file bcdisplayinfo.h.

char* BC_DisplayInfo::display_name [private]

Definition at line 43 of file bcdisplayinfo.h.

int BC_DisplayInfo::left_border = -1 [static, private]

Definition at line 37 of file bcdisplayinfo.h.

int BC_DisplayInfo::right_border = -1 [static, private]

Definition at line 39 of file bcdisplayinfo.h.

Window BC_DisplayInfo::rootwin [private]

Definition at line 33 of file bcdisplayinfo.h.

int BC_DisplayInfo::screen [private]

Definition at line 35 of file bcdisplayinfo.h.

int BC_DisplayInfo::top_border = -1 [static, private]

Definition at line 36 of file bcdisplayinfo.h.

Visual* BC_DisplayInfo::vis [private]

Definition at line 34 of file bcdisplayinfo.h.

The documentation for this class was generated from the following files:
Generated on Sun Jan 8 13:26:37 2006 for Guicast-svn by  doxygen 1.4.4