#include <displaycard_be.h>
Inheritance diagram for CL_DisplayCard_Be:


Public Methods | |
| CL_DisplayCard_Be (int card_no) | |
| virtual | ~CL_DisplayCard_Be () |
| virtual void | flip_display (bool sync=false) |
| virtual void | put_display (const class CL_Rect &rect) |
| param: sync - VSync on/off. | |
| virtual void | set_palette (CL_Palette *palette) |
| param: red - red component of the color.param: green - green component of the color.param: blue - blue component of the color.param: alpha - alpha (transparency) component of the color. | |
| virtual CL_Palette* | get_palette () |
| param: palette - Palette to use as new system palette. | |
| virtual void | set_videomode (int width, int height, int bpp, bool fullscreen, bool allow_resize, bool video_memory) |
| param: mode - videomode to be changed to. | |
| virtual bool | is_initialized () |
| param: width - width in pixels of the new video mode.param: height - height in pixels of the new video mode.param: bpp - Bits per pixel. The depth of the new video mode. (8, 16, 24, 32)param: video_memory - Use video memory if possible. System memory may be faster if alpha blending is used a lot. | |
| virtual std::string | get_name () |
| retval: Returns the list of videomodes. | |
| virtual int | get_total_memory () |
| retval: Returns the card name. | |
| virtual const std::list<CL_VidMode *>& | get_videomodes () |
| virtual CL_Target* | get_target () |
| retval: true if initialized. | |
| virtual CL_Target* | get_frontbuffer () |
| 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 | clear_display (float red=0, float green=0, float blue=0, float alpha=1) |
Private Attributes | |
| CL_Palette* | m_palette |
| CL_Target_Be* | m_target |
| ClanWindowScreen* | clws |
|
|
|
|
|
|
|
|
Reimplemented from CL_DisplayCard_Generic. |
|
|
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_Generic. |
|
|
Reimplemented from CL_DisplayCard_Generic. |
|
|
Reimplemented from CL_DisplayCard. |
|
|
Reimplemented from CL_DisplayCard_Generic. Definition at line 47 of file displaycard_be.h. |
|
|
retval: Returns the list of videomodes.
Reimplemented from CL_DisplayCard. Definition at line 39 of file displaycard_be.h. |
|
|
param: palette - Palette to use as new system palette.
Reimplemented from CL_DisplayCard. |
|
|
retval: true if initialized.
Reimplemented from CL_DisplayCard. Definition at line 46 of file displaycard_be.h. |
|
|
retval: Returns the card name.
Reimplemented from CL_DisplayCard. Definition at line 40 of file displaycard_be.h. |
|
|
Reimplemented from CL_DisplayCard. |
|
|
param: width - width in pixels of the new video mode.param: height - height in pixels of the new video mode.param: bpp - Bits per pixel. The depth of the new video mode. (8, 16, 24, 32)param: video_memory - Use video memory if possible. System memory may be faster if alpha blending is used a lot.
Reimplemented from CL_DisplayCard. |
|
|
param: sync - VSync on/off.
Reimplemented from CL_DisplayCard. |
|
|
param: red - red component of the color.param: green - green component of the color.param: blue - blue component of the color.param: alpha - alpha (transparency) component of the color.
Reimplemented from CL_DisplayCard. |
|
|
param: mode - videomode to be changed to.
Reimplemented from CL_DisplayCard. |
|
|
Definition at line 56 of file displaycard_be.h. |
|
|
Definition at line 54 of file displaycard_be.h. |
|
|
Definition at line 55 of file displaycard_be.h. |
1.2.6 written by Dimitri van Heesch,
© 1997-2001