|
| View (Window &window, const std::string &title="", Size size={ 300, 300 }) |
|
View & | resize (Rect rect) |
|
View & | size (Size size) |
|
View & | offset (Offset offset) |
|
View & | autosize () |
|
View & | title (const std::string &title) |
|
View & | alpha (int alpha) |
|
View & | backgroundColor (Color color) |
|
View & | frameColor (Color color) |
|
View & | textColor (Color color) |
|
View & | mouse (MouseCallback callback, void *param=NULL) |
|
void | onmouse (int event, int x, int y, int flags) |
|
Color | backgroundColor () |
|
Color | frameColor () |
|
Color | textColor () |
|
std::string & | title () |
|
bool | has (Offset offset) |
|
void | drawRect (Rect rect, Color color) |
|
void | drawFill (Color background=White) |
|
void | drawImage (const void *image, int alpha=255) |
|
void | drawText (const std::string &text, Offset offset, Color color) const |
|
void | drawFrame (const std::string &title) const |
|
void * | buffer (Rect &rect) |
|
void | finish () |
|
void | flush () |
|
void | hide (bool hidden=true) |
|
View & | operator= (const View &)=delete |
|
Definition at line 44 of file FgWindow.h.
◆ rect_
Rect NeuralEngine::MachineLearning::View::rect_ |
|
protected |
◆ title_
std::string NeuralEngine::MachineLearning::View::title_ |
|
protected |
◆ frameless_
bool NeuralEngine::MachineLearning::View::frameless_ |
|
protected |
◆ window_
Window& NeuralEngine::MachineLearning::View::window_ |
|
protected |
◆ background_color_
Color NeuralEngine::MachineLearning::View::background_color_ |
|
protected |
◆ frame_color_
Color NeuralEngine::MachineLearning::View::frame_color_ |
|
protected |
◆ text_color_
Color NeuralEngine::MachineLearning::View::text_color_ |
|
protected |
◆ mouse_callback_
MouseCallback NeuralEngine::MachineLearning::View::mouse_callback_ |
|
protected |
◆ mouse_param_
void* NeuralEngine::MachineLearning::View::mouse_param_ |
|
protected |
◆ hidden_
bool NeuralEngine::MachineLearning::View::hidden_ |
|
protected |
The documentation for this class was generated from the following file: