#include <winsys.H>
Inheritance diagram for WINSYS:
Public Types | |
enum | cursor_t { CURSOR_RIGHT_ARROW = 0, CURSOR_LEFT_ARROW, CURSOR_INFO, CURSOR_DESTROY, CURSOR_HELP, CURSOR_CYCLE, CURSOR_SPRAY, CURSOR_WAIT, CURSOR_TEXT, CURSOR_CROSSHAIR, CURSOR_UP_DOWN, CURSOR_LEFT_RIGHT, CURSOR_TOP_SIDE, CURSOR_BOTTOM_SIDE, CURSOR_LEFT_SIDE, CURSOR_RIGHT_SIDE, CURSOR_TOP_LEFT_CORNER, CURSOR_TOP_RIGHT_CORNER, CURSOR_BOTTOM_RIGHT_CORNER, CURSOR_BOTTOM_LEFT_CORNER, CURSOR_FULL_CROSSHAIR, CURSOR_NONE, CURSOR_INHERIT } |
Public Member Functions | |
WINSYS () | |
virtual | ~WINSYS () |
virtual CVIEWptr & | view () |
virtual void | set_focus () |
virtual void | set_context ()=0 |
virtual void | swap_buffers ()=0 |
virtual void | set_cursor (int i)=0 |
virtual int | get_cursor ()=0 |
virtual void | display ()=0 |
virtual void | setup (CVIEWptr &v) |
virtual WINSYS * | copy ()=0 |
virtual void | size (int &w, int &h) |
virtual void | position (int &x, int &y) |
virtual void | size_manually (int w, int h) |
virtual void | position_manually (int w, int h) |
virtual uint | red_bits () const =0 |
virtual uint | green_bits () const =0 |
virtual uint | blue_bits () const =0 |
virtual uint | alpha_bits () const =0 |
virtual uint | accum_red_bits () const =0 |
virtual uint | accum_green_bits () const =0 |
virtual uint | accum_blue_bits () const =0 |
virtual uint | accum_alpha_bits () const =0 |
virtual uint | stencil_bits () const =0 |
virtual uint | depth_bits () const =0 |
virtual void | stereo (VIEWimpl::stereo_mode m)=0 |
virtual void | map_cb (MAPPED_CB *cb) |
virtual int | double_buffered () const |
virtual void | set_double_buffered (int db) |
virtual int | stencil_buffer () const |
virtual Mouse * | mouse ()=0 |
virtual MoveMenu * | menu (Cstr_ptr &name)=0 |
virtual DEVhandler * | curspush ()=0 |
virtual FileSelect * | file_select ()=0 |
virtual AlertBox * | alert_box ()=0 |
virtual int | id () const |
virtual void | lock ()=0 |
virtual void | unlock ()=0 |
virtual int | draw () |
virtual int | needs_context () |
virtual STDdstream & | operator<< (STDdstream &ds) |
virtual STDdstream & | operator>> (STDdstream &ds) |
virtual Evd::DEVmod | gen_mods () |
Static Public Member Functions | |
static WINSYS * | create (int &argc, char **argv) |
static void | set_gen (DEVmod_gen *gen) |
static void | force_mods (Evd::DEVmod mods) |
static Evd::DEVmod | force_mods () |
static void | add_mod (CDEVmod_desc &desc) |
static Evd::DEVmod | mods () |
Protected Attributes | |
MAPPED_CB * | _map_cb |
VIEWptr | _view |
int | _double_buffered |
int | _stencil_buffer |
Definition at line 30 of file winsys.H.
|
|
|
|
|
|
Implemented in GLUT_WINSYS. |
|
Implemented in GLUT_WINSYS. |
|
Implemented in GLUT_WINSYS. |
|
Implemented in GLUT_WINSYS. |
|
Definition at line 434 of file dev.H. References DEVmod_gen::_mods. |
|
Implemented in GLUT_WINSYS. |
|
Implemented in GLUT_WINSYS. |
|
Implemented in GLUT_WINSYS. |
|
Implemented in GLUT_WINSYS. |
|
Definition at line 36 of file glut_winsys.C. References GLUT_WINSYS::copy(), and GLUT_WINSYS::instance(). Referenced by BaseJOTapp::init_top(). |
|
Implemented in GLUT_WINSYS. |
|
Implemented in GLUT_WINSYS. |
|
Implemented in GLUT_WINSYS. |
|
Definition at line 78 of file winsys.H. References _double_buffered. |
|
Reimplemented in GLUT_WINSYS. |
|
Implemented in GLUT_WINSYS. |
|
Definition at line 433 of file dev.H. References DEVmod_gen::_forced_mods. |
|
Definition at line 432 of file dev.H. References DEVmod_gen::_forced_mods. |
|
Definition at line 435 of file dev.H. References Evd::EMPTY. Referenced by DEVmod_gen::mods(). |
|
Implemented in GLUT_WINSYS. |
|
Implemented in GLUT_WINSYS. |
|
Reimplemented in GLUT_WINSYS. |
|
Implemented in GLUT_WINSYS. |
|
Definition at line 77 of file winsys.H. References _map_cb. Referenced by BaseJOTapp::init_win_cb(). |
|
Implemented in GLUT_WINSYS. Referenced by BaseJOTapp::init_menu(). |
|
Definition at line 69 of file dev.C. References DEVmod_gen::_forced_mods, DEVmod_gen::_gen, DEVmod_gen::_mods, Evd::EMPTY, DEVmod_gen::gen_mods(), DEVice_buttons::get(), and Evd::NONE. Referenced by TabletMultimode::sample(). |
|
Implemented in GLUT_WINSYS. Referenced by BaseJOTapp::init_dev_cb(). |
|
Reimplemented in GLUT_WINSYS. |
|
Reimplemented in GLUT_WINSYS. |
|
Reimplemented in GLUT_WINSYS. |
|
Reimplemented in GLUT_WINSYS. |
|
Reimplemented in GLUT_WINSYS. |
|
Implemented in GLUT_WINSYS. |
|
Implemented in GLUT_WINSYS. |
|
Implemented in GLUT_WINSYS. |
|
Definition at line 79 of file winsys.H. References _double_buffered. |
|
Reimplemented in GLUT_WINSYS. |
|
Definition at line 431 of file dev.H. References DEVmod_gen::_gen. |
|
Reimplemented in GLUT_WINSYS. Definition at line 54 of file winsys.H. References _view. Referenced by BaseJOTapp::init_win_cb(), and GLUT_WINSYS::setup(). |
|
Reimplemented in GLUT_WINSYS. |
|
Reimplemented in GLUT_WINSYS. |
|
Implemented in GLUT_WINSYS. |
|
Definition at line 80 of file winsys.H. References _stencil_buffer. |
|
Implemented in GLUT_WINSYS. |
|
Implemented in GLUT_WINSYS. |
|
Implemented in GLUT_WINSYS. |
|
Definition at line 44 of file winsys.H. References _view. Referenced by normal_keydown_callback(), and normal_keyup_callback(). |
|
Definition at line 35 of file winsys.H. Referenced by double_buffered(), GLUT_WINSYS::GLUT_WINSYS(), and set_double_buffered(). |
|
Definition at line 32 of file winsys.H. Referenced by map_cb(), and GLUT_WINSYS::visibility_cb(). |
|
Definition at line 36 of file winsys.H. Referenced by stencil_buffer(). |
|
Definition at line 34 of file winsys.H. Referenced by GLUT_WINSYS::reshape_cb(), setup(), GLUT_WINSYS::unblock(), and view(). |