void (*hide)(int type, void *event, void *data);
void (*lower)(int type, void *event, void *data);
void (*visibility)(int type, void *event, void *data);
+ void (*pre_visibility)(int type, void *event, void *data);
} appcore_ui_base_window_ops;
typedef struct _appcore_ui_base_ops {
APPCORE_UI_BASE_HINT_BG_LAUNCH_CONTROL = 0x4,
APPCORE_UI_BASE_HINT_HW_ACC_CONTROL = 0x8,
APPCORE_UI_BASE_HINT_WINDOW_AUTO_CONTROL = 0x10,
+ APPCORE_UI_BASE_HINT_LEGACY_CONTROL = 0x20,
};
int appcore_ui_base_on_receive(aul_type type, bundle *b);
void appcore_ui_base_window_on_hide(int type, void *event);
void appcore_ui_base_window_on_lower(int type, void *event);
void appcore_ui_base_window_on_visibility(int type, void *event);
+void appcore_ui_base_window_on_pre_visibility(int type, void *event);
int appcore_ui_base_init(appcore_ui_base_ops ops, int argc, char **argv,
void *data, unsigned int hint);
void appcore_ui_base_fini(void);
void appcore_ui_base_group_remove();
unsigned int appcore_ui_base_get_main_window(void);
unsigned int appcore_ui_base_get_main_surface(void);
+int appcore_ui_base_get_hint(void);
+bool appcore_ui_base_get_bg_state(void);
+void appcore_ui_base_set_bg_state(bool bg_state);
#ifdef __cplusplus
}