Main Page   Class Hierarchy   Compound List   File List   Header Files   Compound Members   File Members  

PlatformWindow Class Reference

#include <platformWindow.h>

Class diagram for PlatformWindow:

CHeapObj VMObj MonitorWindow

List of all members.

Public Members

 PlatformWindow ()
 ~PlatformWindow ()
virtual bool open ( char* display_name, int x, int y, int w, int h, int min_w, int max_w, int min_h, int max_h, char* window_name, char* icon_name, char* font_name, int font_size )
virtual void close ()
bool is_open ()
bool is_mono ()
int left (), top(), width(), height()
int screen_width (), screen_height(), menubar_height()
int font_width (), font_height()
char* default_fixed_font_name ()
int default_fixed_font_size ()
virtual bool change_extent (int left, int top, int w, int h)
virtual bool change_size_hints ( int min_w, int max_w, int min_h, int max_h )
virtual int inset_left (), inset_top(), inset_right(), inset_bottom()
virtual void adjust_after_resize ()
virtual void full_redraw ()
virtual bool pre_draw (bool incr)
virtual void post_draw (bool incr)
void draw_text ( char* text, int x, int y )
void draw_line (int x1, int y1, int x2, int y2)
void draw_rectangle_black (int x, int y, int w, int h)
void fill_rectangle_black (int x, int y, int w, int h)
void clear_rectangle (int x, int y, int w, int h)
void clear_square (int x, int y, int s)
void draw_square (int x, int y, int s)
void set_color (int c)
void set_thickness (int t)
void set_grey ()
void set_solid ()
void set_xor ()
void set_copy ()
long int red ()
long int yellow ()
long int black ()
long int white ()

Protected Members

bool tell_platform_size_hints ()
long int _red
long int _yellow
long int _black
long int _white
int _min_w
int _max_w
int _min_h
int _max_h

Detailed Description


Member Function Documentation

PlatformWindow::PlatformWindow ()

PlatformWindow::~PlatformWindow () [inline]

bool PlatformWindow::open (char * display_name, int x, int y, int w, int h, int min_w, int max_w, int min_h, int max_h, char * window_name, char * icon_name, char * font_name, int font_size) [virtual]

void PlatformWindow::close () [virtual]

Reimplemented in MonitorWindow.

bool PlatformWindow::is_open ()

bool PlatformWindow::is_mono ()

int PlatformWindow::left ()

int PlatformWindow::screen_width ()

int PlatformWindow::font_width ()

char * PlatformWindow::default_fixed_font_name ()

int PlatformWindow::default_fixed_font_size ()

bool PlatformWindow::change_extent (int left, int top, int w, int h) [virtual]

bool PlatformWindow::change_size_hints (int min_w, int max_w, int min_h, int max_h) [virtual]

int PlatformWindow::inset_left () [virtual]

void PlatformWindow::adjust_after_resize () [virtual]

Reimplemented in MonitorWindow.

void PlatformWindow::full_redraw () [virtual]

Reimplemented in MonitorWindow.

bool PlatformWindow::pre_draw (bool incremental) [virtual]

void PlatformWindow::post_draw (bool incremental) [virtual]

void PlatformWindow::draw_text (char * text, int x, int y)

void PlatformWindow::draw_line (int x1, int y1, int x2, int y2)

void PlatformWindow::draw_rectangle_black (int x, int y, int w, int h)

void PlatformWindow::fill_rectangle_black (int x, int y, int w, int h)

void PlatformWindow::clear_rectangle (int x, int y, int w, int h)

void PlatformWindow::clear_square (int x, int y, int s) [inline]

void PlatformWindow::draw_square (int x, int y, int s) [inline]

void PlatformWindow::set_color (int c)

void PlatformWindow::set_thickness (int t)

void PlatformWindow::set_grey ()

void PlatformWindow::set_solid ()

void PlatformWindow::set_xor ()

void PlatformWindow::set_copy ()

long int PlatformWindow::red () [inline]

long int PlatformWindow::yellow () [inline]

long int PlatformWindow::black () [inline]

long int PlatformWindow::white () [inline]

bool PlatformWindow::tell_platform_size_hints () [protected]


Member Data Documentation

long int PlatformWindow::_red [protected]

long int PlatformWindow::_yellow [protected]

long int PlatformWindow::_black [protected]

long int PlatformWindow::_white [protected]

int PlatformWindow::_min_w [protected]

int PlatformWindow::_max_w [protected]

int PlatformWindow::_min_h [protected]

int PlatformWindow::_max_h [protected]


The documentation for this class was generated from the following files:
Generated at Tue Jun 27 12:08:47 2000 for SelfVM by doxygen 1.0.0 written by Dimitri van Heesch, © 1997-1999