

Public Member Functions | |
| text_view (const std::string &title="", panel *parent=0) | |
| void | add_text (const std::string &str) |
| void | set_text (const std::string &str) |
| virtual void | draw () |
| virtual int | padding () const |
| virtual void | resize (unsigned int w, unsigned int h) |
Private Member Functions | |
| event::result | at_system (const event &) |
| event::result | at_mouse (const mouse &) |
Private Attributes | |
| text | text_ |
| v_scroll_bar | bar_ |
| std::string | title_ |
| bool | active_ |
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
system event processor Reimplemented from ndk::panel. |
|
|
specific version of draw, specially for NDK engine Reimplemented from ndk::panel. |
|
|
return padding size from the edge, helps to control drawing area it's usefull for packing under frames: active area will be (x()+padding(),x()+width()-padding()) x (y()+padding(),y()+height()-padding()) Reimplemented from ndk::panel. |
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.3.6