mainwindow.h (425B)
1 struct WMMainWindow { 2 struct WMNewApp* app; 3 WMWindow* window; 4 char title[4096]; 5 }; 6 7 void create_icon(struct WMNewApp* wma); 8 void create_main_window(struct WMNewApp* wma); 9 void destroy_main_window(struct WMNewApp* wma); 10 void map_main_window(struct WMNewApp* wma); 11 void set_mainwin_title(struct WMNewApp* wma); 12 13 #ifdef INCLUDE_STATIC_FUNCS 14 static void handle_mainwin_resize(void* data, WMNotification* notification); 15 #endif