diff options
Diffstat (limited to 'projs/CodeBlocks/win32gui/win32_gui.h')
-rw-r--r-- | projs/CodeBlocks/win32gui/win32_gui.h | 75 |
1 files changed, 0 insertions, 75 deletions
diff --git a/projs/CodeBlocks/win32gui/win32_gui.h b/projs/CodeBlocks/win32gui/win32_gui.h deleted file mode 100644 index cdb6d302..00000000 --- a/projs/CodeBlocks/win32gui/win32_gui.h +++ /dev/null @@ -1,75 +0,0 @@ -#ifndef WIN32_GUI_INCLUDED -#define WIN32_GUI_INCLUDED - -#include "resources\resource.h" -#include "coord.h" -#include "point.h" -#include "graphics.h" - -#define ID_CHILD_GFX 100 -#define ID_CHILD_TOOLBAR (ID_CHILD_GFX + 1) -#define ID_CHILD_1 (ID_CHILD_TOOLBAR + 1) -#define ID_CHILD_2 (ID_CHILD_1 + 1) -#define ID_CHILD_3 (ID_CHILD_2 + 1) -#define ID_CHILD_4 (ID_CHILD_4 + 1) - -#define ID_DISPLAY_ZOOMIN 200 -#define ID_DISPLAY_ZOOMOUT 201 -#define ID_DISPLAY_REFRESH 202 -#define ID_DISPLAY_CURSOR 203 -#define ID_DISPLAY_ORIENT 204
-#define ID_DISPLAY_DESTINATION 205
- -#define ID_FILE_EXIT 9001 -#define ID_STUFF_GO 9002 - -#define _(text) gettext(text) - -#define POPUP_MENU_OFFSET 4000 - -struct statusbar_methods; -struct menu_methods; -struct datawindow_methods; -struct navit; -struct callback; - - -struct menu_priv { - HWND wnd_handle; - HMENU hMenu; - struct callback* cb; -}; - -struct gui_priv { - struct navit *nav; - HANDLE hwnd; -}; - - -struct graphics_priv { - struct point p; - int width; - int height; - int library_init; - int visible; - HANDLE wnd_parent_handle; - HANDLE wnd_handle; - COLORREF bg_color; - - - void (*resize_callback)(void *data, int w, int h); - void *resize_callback_data; - void (*motion_callback)(void *data, struct point *p); - void *motion_callback_data; - void (*button_callback)(void *data, int press, int button, struct point *p); - void *button_callback_data; - enum draw_mode_num mode; -}; - - -struct graphics_priv* win32_graphics_new( struct graphics_methods *meth, struct attr **attrs); -HANDLE create_destination_window( struct navit *nav ); -BOOL register_destination_window(); - - -#endif |