#include <displaycard_generic.h>
Inheritance diagram for CL_DisplayCard_Generic:


Public Methods | |
| CL_DisplayCard_Generic (int card_no) | |
| virtual | ~CL_DisplayCard_Generic () |
| virtual CL_CardSurface* | create_cardsurface_video (CL_SurfaceProvider *provider) |
| virtual CL_CardSurface* | create_cardsurface_system (CL_SurfaceProvider *provider) |
| virtual int | get_card_no () |
| retval: Videomemory available, or -1 if unknown. | |
| virtual int | get_width () |
| virtual int | get_height () |
| retval: Width of video mode. | |
| virtual int | get_bpp () |
| retval: Height of video mode. | |
| virtual bool | is_fullscreen () |
| virtual bool | allow_resize () |
| virtual void | push_clip_rect () |
| retval: Depth of video mode. | |
| virtual void | push_clip_rect (const CL_ClipRect &clip) |
| virtual CL_ClipRect | get_clip_rect () |
| param: rect - The new clipping rectangle to be with the old one and then used. | |
| virtual void | set_clip_rect (const CL_ClipRect &clip) |
| retval: The current clipping rectangle. | |
| virtual void | pop_clip_rect () |
| virtual void | clear_display (float red=0, float green=0, float blue=0, float alpha=1) |
| virtual void | fill_rect (int x1, int y1, int x2, int y2, float r, float g, float b, float a) |
| virtual void | draw_rect (int x1, int y1, int x2, int y2, float r, float g, float b, float a) |
| param: x1 - Leftmost x-coordinate.param: y1 - Upper y-coordinate.param: x2 - Rightmost x-coordinate.param: y2 - Lower y-coordinate.param: r - Red component of the filled color.param: g - Green component of the filled color.param: b - Blue component of the filled color.param: a - Alpha component of the filled color. | |
| virtual void | draw_line (int x1, int y1, int x2, int y2, float r, float g, float b, float a) |
| param: x1 - Leftmost x-coordinate.param: y1 - Upper y-coordinate.param: x2 - Rightmost x-coordinate.param: y2 - Lower y-coordinate.param: r - Red component of the filled color.param: g - Green component of the filled color.param: b - Blue component of the filled color.param: a - Alpha component of the filled color. | |
| virtual void | sync_buffers () |
| virtual CL_Target* | get_frontbuffer ()=0 |
| void | frontbuffer_lock () |
| void | frontbuffer_unlock () |
| void | add_callback (CL_FlipDisplayCallback_Generic *callback) |
| virtual void | show_system_cursor () |
| virtual void | hide_system_cursor () |
| virtual void | push_translate_offset () |
| virtual void | push_translate_offset (int x, int y) |
| virtual int | get_translate_offset_x () |
| virtual int | get_translate_offset_y () |
| virtual void | set_translate_offset (int x, int y) |
| virtual void | pop_translate_offset () |
| virtual CL_Signal_v2<int, int>& | get_sig_resize () |
| param: x1 - Leftmost x-coordinate. //FIXMEparam: y1 - Upper y-coordinate.param: x2 - Rightmost x-coordinate.param: y2 - Lower y-coordinate.param: r - Red component of the filled color.param: g - Green component of the filled color.param: b - Blue component of the filled color.param: a - Alpha component of the filled color. | |
| virtual CL_Signal_v1<const CL_Rect &>& | get_sig_paint () |
Protected Methods | |
| void | signal_preflip () |
| void | signal_postflip () |
| void | set_gfxmode (int width, int height, int bpp, bool fullscreen, bool allow_resize) |
| void | set_resize (int width, int height) |
| virtual CL_Blitters | create_hw_blitters (CL_SurfaceProvider *provider) |
| virtual CL_Blitters | create_hw_dynamic_blitters (CL_SurfaceProvider *provider) |
Protected Attributes | |
| std::list<CL_FlipDisplayCallback_Generic*> | callbacks |
| friend | CL_CardSurface_Blitter |
| CL_ClipRect | m_cur_clip |
| std::deque<CL_ClipRect> | m_clip_stack |
Private Methods | |
| void | fill_rect_opaque (int x1, int y1, int x2, int y2, float r, float g, float b, float a) |
Private Attributes | |
| int | m_card_no |
| int | m_width |
| int | m_height |
| int | m_bpp |
| bool | m_allow_resize |
| bool | m_fullscreen |
| CL_Signal_v2<int, int> | m_sig_resize |
| CL_Signal_v1<const CL_Rect &> | m_sig_paint |
|
|
Definition at line 33 of file displaycard_generic.h. |
|
|
Definition at line 42 of file displaycard_generic.h. |
|
|
Definition at line 105 of file displaycard_generic.h. |
|
|
Definition at line 56 of file displaycard_generic.h. |
|
|
Reimplemented from CL_DisplayCard. Reimplemented in CL_DisplayCard_Be, and CL_DisplayCard_DirectDraw. |
|
|
Referenced by CL_Surface_Generic::ensure_surface_prepared(). |
|
|
Referenced by CL_Surface_Generic::ensure_surface_prepared(). |
|
|
Reimplemented in CL_DisplayCard_DirectDraw. |
|
|
|
|
|
param: x1 - Leftmost x-coordinate.param: y1 - Upper y-coordinate.param: x2 - Rightmost x-coordinate.param: y2 - Lower y-coordinate.param: r - Red component of the filled color.param: g - Green component of the filled color.param: b - Blue component of the filled color.param: a - Alpha component of the filled color.
Reimplemented from CL_DisplayCard. |
|
|
param: x1 - Leftmost x-coordinate.param: y1 - Upper y-coordinate.param: x2 - Rightmost x-coordinate.param: y2 - Lower y-coordinate.param: r - Red component of the filled color.param: g - Green component of the filled color.param: b - Blue component of the filled color.param: a - Alpha component of the filled color.
Reimplemented from CL_DisplayCard. Reimplemented in CL_DisplayCard_Be. |
|
|
Reimplemented from CL_DisplayCard. Reimplemented in CL_DisplayCard_Be, and CL_DisplayCard_DirectDraw. |
|
|
|
|
|
|
|
|
|
|
|
retval: Height of video mode.
Reimplemented from CL_DisplayCard. Definition at line 54 of file displaycard_generic.h. |
|
|
retval: Videomemory available, or -1 if unknown.
Reimplemented from CL_DisplayCard. Definition at line 50 of file displaycard_generic.h. |
|
|
param: rect - The new clipping rectangle to be with the old one and then used.
Reimplemented from CL_DisplayCard. Definition at line 69 of file displaycard_generic.h. |
|
|
Reimplemented in CL_DisplayCard_Be, CL_DisplayCard_DirectDraw, and CL_DisplayCard_Svgalib. Referenced by pop_translate_offset(), push_translate_offset(), and set_translate_offset(). |
|
|
retval: Width of video mode.
Reimplemented from CL_DisplayCard. Definition at line 53 of file displaycard_generic.h. Referenced by CL_DisplayCard_DirectDraw::CL_FrontbufferTarget_DX::get_height(). |
|
|
Reimplemented from CL_DisplayCard. Definition at line 244 of file displaycard_generic.h. |
|
|
param: x1 - Leftmost x-coordinate. //FIXMEparam: y1 - Upper y-coordinate.param: x2 - Rightmost x-coordinate.param: y2 - Lower y-coordinate.param: r - Red component of the filled color.param: g - Green component of the filled color.param: b - Blue component of the filled color.param: a - Alpha component of the filled color.
Reimplemented from CL_DisplayCard. Definition at line 243 of file displaycard_generic.h. |
|
|
Reimplemented from CL_DisplayCard. Definition at line 216 of file displaycard_generic.h. |
|
|
Reimplemented from CL_DisplayCard. Definition at line 217 of file displaycard_generic.h. |
|
|
Reimplemented from CL_DisplayCard. Definition at line 52 of file displaycard_generic.h. Referenced by CL_DisplayCard_DirectDraw::CL_FrontbufferTarget_DX::get_width(). |
|
|
Reimplemented in CL_DisplayCard_Win32Compatible. Definition at line 120 of file displaycard_generic.h. |
|
|
Definition at line 55 of file displaycard_generic.h. |
|
|
Reimplemented from CL_DisplayCard. Definition at line 80 of file displaycard_generic.h. |
|
|
Reimplemented from CL_DisplayCard. Definition at line 230 of file displaycard_generic.h. |
|
|
Reimplemented from CL_DisplayCard. Definition at line 63 of file displaycard_generic.h. |
|
|
retval: Depth of video mode.
Reimplemented from CL_DisplayCard. Definition at line 58 of file displaycard_generic.h. |
|
|
Reimplemented from CL_DisplayCard. Definition at line 204 of file displaycard_generic.h. |
|
|
Reimplemented from CL_DisplayCard. Definition at line 192 of file displaycard_generic.h. |
|
|
retval: The current clipping rectangle.
Reimplemented from CL_DisplayCard. Definition at line 74 of file displaycard_generic.h. |
|
|
Definition at line 155 of file displaycard_generic.h. |
|
|
Definition at line 167 of file displaycard_generic.h. |
|
|
Reimplemented from CL_DisplayCard. Definition at line 218 of file displaycard_generic.h. |
|
|
Reimplemented in CL_DisplayCard_Win32Compatible. Definition at line 110 of file displaycard_generic.h. |
|
|
Definition at line 143 of file displaycard_generic.h. |
|
|
Definition at line 133 of file displaycard_generic.h. |
|
|
Reimplemented from CL_DisplayCard. Reimplemented in CL_DisplayCard_DirectDraw. |
|
|
Definition at line 153 of file displaycard_generic.h. |
|
|
Definition at line 131 of file displaycard_generic.h. |
|
|
Definition at line 253 of file displaycard_generic.h. |
|
|
Definition at line 251 of file displaycard_generic.h. |
|
|
Definition at line 247 of file displaycard_generic.h. |
|
|
Definition at line 189 of file displaycard_generic.h. |
|
|
Definition at line 188 of file displaycard_generic.h. |
|
|
Definition at line 254 of file displaycard_generic.h. |
|
|
Definition at line 250 of file displaycard_generic.h. |
|
|
Definition at line 257 of file displaycard_generic.h. |
|
|
Definition at line 256 of file displaycard_generic.h. Referenced by set_resize(). |
|
|
Definition at line 249 of file displaycard_generic.h. |
1.2.6 written by Dimitri van Heesch,
© 1997-2001