#include <drawing_area.h>
Public Methods | |
drawing_area (const chtype Background, const unsigned int Width, const unsigned int Height) | |
void | resize (const unsigned int Width, const unsigned int Height) |
void | setText (const std::string &text, const unsigned int x, const unsigned int y) |
void | putPixel (const unsigned int x, const unsigned int y, const chtype ch) |
void | fill (const chtype ch) |
void | drawHLine (const unsigned int x, const unsigned int y, unsigned int len, const chtype ch) |
void | drawVLine (const unsigned int x, const unsigned int y, unsigned int height, const chtype ch) |
void | fillRect (const unsigned int x1, const unsigned int y1, const unsigned int x2, const unsigned int y2, const chtype ch) |
chtype & | operator[] (unsigned int index) |
Protected Methods | |
void | resize_buffer () |
Protected Attributes | |
unsigned int | width |
unsigned int | height |
chtype | background |
chtype * | buffer |
|
Definition at line 5 of file drawing_area.cpp. References resize_buffer(). |
|
Definition at line 26 of file drawing_area.cpp. References buffer, height, and width. Referenced by crs::list_box< T >::draw(), crs::group_box::draw(), crs::edit_ctrl< T >::draw(), crs::debug_ctrl::draw(), and fillRect(). |
|
Definition at line 36 of file drawing_area.cpp. References buffer, height, and width. Referenced by crs::list_box< T >::draw(), and crs::group_box::draw(). |
|
Definition at line 63 of file drawing_area.cpp. References buffer, height, and width. Referenced by crs::static_text::draw(), crs::list_box< T >::draw(), crs::choice_box< T >::draw(), and crs::base_control::draw(). |
|
Definition at line 44 of file drawing_area.cpp. References drawHLine(), height, and width. Referenced by crs::debug_ctrl::draw(). |
|
Definition at line 29 of file drawing_area.h. References buffer. |
|
Definition at line 59 of file drawing_area.cpp. Referenced by crs::debug_ctrl::draw(). |
|
Definition at line 53 of file drawing_area.cpp. References height, resize_buffer(), and width. Referenced by crs::base_control::resize(). |
|
Definition at line 10 of file drawing_area.cpp. References background, buffer, height, and width. Referenced by drawing_area(), and resize(). |
|
Definition at line 16 of file drawing_area.cpp. References buffer, height, and width. Referenced by crs::push_button::draw(), crs::list_box< T >::draw(), crs::group_box::draw(), crs::edit_ctrl< T >::draw(), crs::choice_box< T >::draw(), crs::check_box::draw(), and crs::base_control::setText(). |
|
Definition at line 16 of file drawing_area.h. Referenced by resize_buffer(). |
|
Definition at line 17 of file drawing_area.h. Referenced by drawHLine(), drawVLine(), fill(), operator[](), putPixel(), resize_buffer(), and setText(). |
|
Definition at line 15 of file drawing_area.h. Referenced by drawHLine(), drawVLine(), fill(), fillRect(), resize(), resize_buffer(), and setText(). |
|
Definition at line 15 of file drawing_area.h. Referenced by drawHLine(), drawVLine(), fill(), fillRect(), putPixel(), resize(), resize_buffer(), and setText(). |