|
Tiny Graphics Interfaces
|
窗口对象的虚函数表(正常使用无需了解) 更多...
#include <tgi.h>
Public 成员函数 | |
| void (TGIAPI *free)(TGI_Window *self) | |
| void (TGIAPI *on_close)(TGI_Window *self | |
| int TGIAPI | callback (TGI_Window *self)) |
| void (TGIAPI *on_paint)(TGI_Window *self | |
| void TGIAPI | callback (TGI_Window *self)) |
| void (TGIAPI *on_size)(TGI_Window *self | |
| void TGIAPI | callback (TGI_Window *self, float new_width, float new_height)) |
| void (TGIAPI *on_key)(TGI_Window *self | |
| void TGIAPI | callback (TGI_Window *self, TGI_KeyEvent *event)) |
| void (TGIAPI *on_mouse)(TGI_Window *self | |
| void TGIAPI | callback (TGI_Window *self, TGI_MouseEvent *event)) |
| int (TGIAPI *is_key_down)(TGI_Window *self | |
| void (TGIAPI *show)(TGI_Window *self) | |
| void (TGIAPI *paint)(TGI_Window *self) | |
| int (TGIAPI *set_style)(TGI_Window *self | |
| int (TGIAPI *set_size)(TGI_Window *self | |
| int (TGIAPI *get_size)(TGI_Window *self | |
| int (TGIAPI *set_min_size)(TGI_Window *self | |
| int (TGIAPI *set_max_size)(TGI_Window *self | |
| int (TGIAPI *set_title)(TGI_Window *self | |
| TGI_Graphics *TGIAPI * | create_graphics (TGI_Window *self) |
| TGI_Image *TGIAPI * | create_image (TGI_Window *self) |
成员变量 | |
| char | key |
| TGI_WindowStyle | style |
| int | width |
| int int | height |
| TGI_Rect * | rect |
| const char * | title |
窗口对象的虚函数表(正常使用无需了解)