Métodos públicos | |
| ATOM | RegistrarClase () |
| bool | CrearVentana (wstring *titulo, int iAncho, int iAlto) |
| void | SaveScreenshot (char *szArchivo, int w, int h, int bpp) |
| int | GetWidth () |
| int | GetHeight () |
| void | SetCursorFromFile (LPCWSTR filename) |
| void | SetCursor (LPCWSTR cursor) |
| HCURSOR | GetCursor () |
| void | SetCursorVisible (bool cursor) |
| bool | GetCursorVisible () |
| HWND | GetHWnd () |
| Window () | |
Atributos públicos | |
| RECT | _margins |
| bool | _canEnter |
| bool | _blinked |
| bool | _inserting |
| bool | _textinput |
| int | _lastElement |
| int | _maxElement |
| int | _cursor |
| int | _return |
| int | _blinking |
| string | _string |
| bool | _editing |
| basic_string< char >::iterator | _iter |
| bool | ActiveWindow |
| int | Reacquire |
| zak::Window::Window | ( | ) |
Constructor
| void zak::Window::SaveScreenshot | ( | char * | szArchivo, | |
| int | w, | |||
| int | h, | |||
| int | bpp | |||
| ) |
Guarda un screenshot en formato .bmp en el disco
| szArchivo | cadena de caracteres terminada en 0 con la ruta y el nombre del archivo a guardar | |
| w | ancho de la ventana | |
| h | alto de la ventana | |
| bpp | bits por píxel |
| int zak::Window::GetWidth | ( | ) | [inline] |
Devuelve el ancho de la ventana
| int zak::Window::GetHeight | ( | ) | [inline] |
Devuelve el alto de la ventana
| void zak::Window::SetCursorFromFile | ( | LPCWSTR | filename | ) | [inline] |
Permite seleccionar un cursor de windows desde un archivo
| filename | nombre del archivo que contiene el cursor |
| void zak::Window::SetCursor | ( | LPCWSTR | cursor | ) | [inline] |
Permite seleccionar el cursor de windows
| cursor | cursor que se desea seleccionar |
| HCURSOR zak::Window::GetCursor | ( | ) | [inline] |
Devuelve el tipo de cursor actual
| void zak::Window::SetCursorVisible | ( | bool | cursor | ) | [inline] |
Permite indicar si deseamos que el cursor permanezca visible al entrar en la ventana o no
| cursor | indica si deseamos que el cursor permanezca visible al entrar en la ventana o no |
| bool zak::Window::GetCursorVisible | ( | ) | [inline] |
Devuelve si el cursor permanece visible al entrar en la ventana o no
| HWND zak::Window::GetHWnd | ( | ) | [inline] |
Devuelve el handler de la ventana
1.5.1-p1