#include <archon/display/screen.H>
Inheritance diagram for Archon::Display::Screen:
Public Member Functions | |
virtual Ref< Connection > | getConnection ()=0 |
Get the associated display connection. | |
virtual Ref< Visual > | getDefaultVisual ()=0 |
Get the descriptor of the default visual of this screen. | |
virtual Ref< Visual > | chooseVisual (bool doubleBuffer=true, bool stereo=false, int red=8, int green=8, int blue=8, int alpha=8, int depth=16, int stencil=0, int accumRed=0, int accumGreen=0, int accumBlue=0, int accumAlpha=0)=0 throw (NoSuchVisualException) |
Choose a visual based on the specified minimum requirements. | |
virtual int | getNumberOfVisuals ()=0 |
Get the number of visuals associated with this screen. | |
virtual Ref< Visual > | getVisual (int index)=0 throw (out_of_range) |
Get the descriptor of the specified visual. | |
virtual int | getWidth ()=0 |
Get the horizontal size in pixels of this screen. | |
virtual int | getHeight ()=0 |
Get the vertical size in pixels of this screen. | |
virtual double | getHorizontalDotPitch ()=0 |
Get the horizontal distance between pixels on this screen . | |
virtual double | getVerticalDotPitch ()=0 |
Get the vertical distance between pixels on this screen. |
A screen is one physical screen of a display.
On the X Window System this is a wrapper around screen number and the associated display connection.
Screen descriptors are obtained by various methods in the Connection class.
Definition at line 71 of file screen.H.
|
Choose a visual based on the specified minimum requirements. On the X Window System this is a wrapper around the glXChooseVisual function of Xlib.
Implemented in Archon::Display::ScreenX11. |
|
Get the associated display connection.
Implemented in Archon::Display::ScreenX11. |
|
Get the descriptor of the default visual of this screen.
Implemented in Archon::Display::ScreenX11. |
|
Get the vertical size in pixels of this screen.
Implemented in Archon::Display::ScreenX11. |
|
Get the horizontal distance between pixels on this screen .
Implemented in Archon::Display::ScreenX11. |
|
Get the number of visuals associated with this screen.
Implemented in Archon::Display::ScreenX11. |
|
Get the vertical distance between pixels on this screen.
Implemented in Archon::Display::ScreenX11. |
|
Get the descriptor of the specified visual.
Implemented in Archon::Display::ScreenX11. |
|
Get the horizontal size in pixels of this screen.
Implemented in Archon::Display::ScreenX11. |