mirror of
https://gitee.com/zlgopen/awtk.git
synced 2024-11-30 02:58:26 +08:00
631 lines
32 KiB
C++
631 lines
32 KiB
C++
#include "awtk.h"
|
|
#include "base/assets_manager.h"
|
|
#ifndef WITH_FS_RES
|
|
#include "assets/default/inc/strings/en_US.data"
|
|
#include "assets/default/inc/styles/uiex_dialog_warn.data"
|
|
#include "assets/default/inc/styles/dialog_toast.data"
|
|
#include "assets/default/inc/styles/uiex_keyboard.data"
|
|
#include "assets/default/inc/styles/uiex_dialog_info.data"
|
|
#include "assets/default/inc/styles/default.data"
|
|
#include "assets/default/inc/styles/uiex.data"
|
|
#include "assets/default/inc/styles/uiex_dialog_confirm.data"
|
|
#include "assets/default/inc/ui/uiex/kb_ascii.data"
|
|
#include "assets/default/inc/ui/uiex/page_list_view.data"
|
|
#include "assets/default/inc/ui/uiex/kb_foo.data"
|
|
#include "assets/default/inc/ui/uiex/page_slide_view.data"
|
|
#include "assets/default/inc/ui/uiex/preload.data"
|
|
#include "assets/default/inc/ui/uiex/page_window.data"
|
|
#include "assets/default/inc/ui/uiex/cbp_fast_food.data"
|
|
#include "assets/default/inc/ui/uiex/page_color.data"
|
|
#include "assets/default/inc/ui/uiex/page_edit.data"
|
|
#include "assets/default/inc/ui/uiex/kb_int.data"
|
|
#include "assets/default/inc/ui/uiex/kb_hex.data"
|
|
#include "assets/default/inc/ui/uiex/page_date_time.data"
|
|
#include "assets/default/inc/ui/uiex/cbp_week.data"
|
|
#include "assets/default/inc/ui/uiex/sysbar_portrait.data"
|
|
#include "assets/default/inc/ui/uiex/page_animate.data"
|
|
#include "assets/default/inc/ui/uiex/page_layout.data"
|
|
#include "assets/default/inc/ui/uiex/page_chart.data"
|
|
#include "assets/default/inc/ui/uiex/page_checkbox.data"
|
|
#include "assets/default/inc/ui/uiex/sysbar_landscape.data"
|
|
#include "assets/default/inc/ui/uiex/page_button.data"
|
|
#include "assets/default/inc/ui/uiex/page_progress.data"
|
|
#include "assets/default/inc/ui/uiex/dlg_center_scale.data"
|
|
#include "assets/default/inc/ui/uiex/cbp_font.data"
|
|
#include "assets/default/inc/ui/uiex/htranslate.data"
|
|
#include "assets/default/inc/ui/uiex/overlay.data"
|
|
#include "assets/default/inc/ui/uiex/slide_down.data"
|
|
#include "assets/default/inc/ui/uiex/slide_right.data"
|
|
#include "assets/default/inc/ui/uiex/page_selector.data"
|
|
#include "assets/default/inc/ui/uiex/dlg_popup.data"
|
|
#include "assets/default/inc/ui/uiex/dlg_fade.data"
|
|
#include "assets/default/inc/ui/uiex/dlg_popdown.data"
|
|
#include "assets/default/inc/ui/uiex/cbp_font_size.data"
|
|
#include "assets/default/inc/ui/uiex/page_slider.data"
|
|
#include "assets/default/inc/ui/uiex/menu_portrait.data"
|
|
#include "assets/default/inc/ui/uiex/page_mledit.data"
|
|
#include "assets/default/inc/ui/uiex/page_image.data"
|
|
#include "assets/default/inc/ui/uiex/slide_left.data"
|
|
#include "assets/default/inc/ui/uiex/menu_landscape.data"
|
|
#include "assets/default/inc/ui/uiex/page_tab_ctrl.data"
|
|
#include "assets/default/inc/ui/uiex/vtranslate.data"
|
|
#include "assets/default/inc/ui/uiex/kb_default.data"
|
|
#include "assets/default/inc/ui/uiex/slide_up.data"
|
|
#include "assets/default/inc/ui/uiex/menu_bar.data"
|
|
#include "assets/default/inc/ui/uiex/popup.data"
|
|
#include "assets/default/inc/ui/uiex/page_label.data"
|
|
#include "assets/default/inc/ui/uiex/kb_uint.data"
|
|
#ifdef WITH_STB_IMAGE
|
|
#include "assets/default/inc/images/ani6.res"
|
|
#include "assets/default/inc/images/uiex_big_logo.res"
|
|
#include "assets/default/inc/images/uiex_num6.res"
|
|
#include "assets/default/inc/images/uiex_shifton.res"
|
|
#include "assets/default/inc/images/uiex_radio_d.res"
|
|
#include "assets/default/inc/images/uiex_num7.res"
|
|
#include "assets/default/inc/images/ani7.res"
|
|
#include "assets/default/inc/images/ani5.res"
|
|
#include "assets/default/inc/images/uiex_battery_5.res"
|
|
#include "assets/default/inc/images/debug_step_over_d.res"
|
|
#include "assets/default/inc/images/uiex_num5.res"
|
|
#include "assets/default/inc/images/uiex_Configuration_nor.res"
|
|
#include "assets/default/inc/images/uiex_radio_p.res"
|
|
#include "assets/default/inc/images/uiex_Boot_loading.res"
|
|
#include "assets/default/inc/images/uiex_num4.res"
|
|
#include "assets/default/inc/images/uiex_battery_4.res"
|
|
#include "assets/default/inc/images/ani4.res"
|
|
#include "assets/default/inc/images/uiex_Universal_sel.res"
|
|
#include "assets/default/inc/images/uiex_battery_0.res"
|
|
#include "assets/default/inc/images/uiex_num0.res"
|
|
#include "assets/default/inc/images/uiex_load2_bg.res"
|
|
#include "assets/default/inc/images/uiex_num1.res"
|
|
#include "assets/default/inc/images/uiex_battery_1.res"
|
|
#include "assets/default/inc/images/ani1.res"
|
|
#include "assets/default/inc/images/uiex_List_Mydevice.res"
|
|
#include "assets/default/inc/images/uiex_editor_TextAlignleft.res"
|
|
#include "assets/default/inc/images/ani3.res"
|
|
#include "assets/default/inc/images/debug_pause_o.res"
|
|
#include "assets/default/inc/images/uiex_clock_bg.res"
|
|
#include "assets/default/inc/images/debug_stop_d.res"
|
|
#include "assets/default/inc/images/debug_resume_n.res"
|
|
#include "assets/default/inc/images/uiex_numdot.res"
|
|
#include "assets/default/inc/images/uiex_editor_TextUnderscore.res"
|
|
#include "assets/default/inc/images/debug_step_return_d.res"
|
|
#include "assets/default/inc/images/uiex_battery_3.res"
|
|
#include "assets/default/inc/images/uiex_load2_loading.res"
|
|
#include "assets/default/inc/images/uiex_Sliding_dot.res"
|
|
#include "assets/default/inc/images/uiex_num3.res"
|
|
#include "assets/default/inc/images/uiex_List_password.res"
|
|
#include "assets/default/inc/images/uiex_num2.res"
|
|
#include "assets/default/inc/images/uiex_battery_2.res"
|
|
#include "assets/default/inc/images/uiex_List_Nextpage_n.res"
|
|
#include "assets/default/inc/images/debug_resume_o.res"
|
|
#include "assets/default/inc/images/uiex_Coverwindow.res"
|
|
#include "assets/default/inc/images/debug_pause_n.res"
|
|
#include "assets/default/inc/images/ani2.res"
|
|
#include "assets/default/inc/images/app3.res"
|
|
#include "assets/default/inc/images/uiex_texteditor_show.res"
|
|
#include "assets/default/inc/images/uiex_arrow_down_p.res"
|
|
#include "assets/default/inc/images/uiex_editor_Importpictures.res"
|
|
#include "assets/default/inc/images/uiex_Windowclosed_n.res"
|
|
#include "assets/default/inc/images/uiex_combobox_btn_n.res"
|
|
#include "assets/default/inc/images/uiex_radio_checked_p.res"
|
|
#include "assets/default/inc/images/uiex_editor_TextLinespacing.res"
|
|
#include "assets/default/inc/images/uiex_arrow_up_n.res"
|
|
#include "assets/default/inc/images/uiex_load1_loading.res"
|
|
#include "assets/default/inc/images/uiex_keyboard_backspace_n.res"
|
|
#include "assets/default/inc/images/uiex_check_p.res"
|
|
#include "assets/default/inc/images/app2.res"
|
|
#include "assets/default/inc/images/uiex_check_checked_d.res"
|
|
#include "assets/default/inc/images/uiex_RecordForm_bg.res"
|
|
#include "assets/default/inc/images/uiex_Portraitmenu_p.res"
|
|
#include "assets/default/inc/images/uiex_radio_checked_d.res"
|
|
#include "assets/default/inc/images/uiex_close_p.res"
|
|
#include "assets/default/inc/images/uiex_check_d.res"
|
|
#include "assets/default/inc/images/uiex_check_checked_p.res"
|
|
#include "assets/default/inc/images/app1.res"
|
|
#include "assets/default/inc/images/app5.res"
|
|
#include "assets/default/inc/images/uiex_Information_chat_bg.res"
|
|
#include "assets/default/inc/images/uiex_Sliding_Square.res"
|
|
#include "assets/default/inc/images/uiex_takeover_sel.res"
|
|
#include "assets/default/inc/images/uiex_editor_TextAlignBoth.res"
|
|
#include "assets/default/inc/images/uiex_send_nor.res"
|
|
#include "assets/default/inc/images/uiex_loading_repeat_bg.res"
|
|
#include "assets/default/inc/images/app4.res"
|
|
#include "assets/default/inc/images/debug_restart_d.res"
|
|
#include "assets/default/inc/images/uiex_editor_bgcolor.res"
|
|
#include "assets/default/inc/images/debug_step_into_d.res"
|
|
#include "assets/default/inc/images/debug_start_d.res"
|
|
#include "assets/default/inc/images/uiex_List_Connectandshare.res"
|
|
#include "assets/default/inc/images/uiex_arrow_down_n.res"
|
|
#include "assets/default/inc/images/uiex_combobox_btn_p.res"
|
|
#include "assets/default/inc/images/uiex_Windowclosed_p.res"
|
|
#include "assets/default/inc/images/uiex_Universal_nor.res"
|
|
#include "assets/default/inc/images/uiex_radio_checked_n.res"
|
|
#include "assets/default/inc/images/uiex_arrow_up_p.res"
|
|
#include "assets/default/inc/images/uiex_load1_bg.res"
|
|
#include "assets/default/inc/images/uiex_List_WLAN.res"
|
|
#include "assets/default/inc/images/uiex_keyboard_backspace_p.res"
|
|
#include "assets/default/inc/images/uiex_check_n.res"
|
|
#include "assets/default/inc/images/gauge_pointer.res"
|
|
#include "assets/default/inc/images/bg2_s.res"
|
|
#include "assets/default/inc/images/uiex_Portraitmenu_n.res"
|
|
#include "assets/default/inc/images/uiex_check.res"
|
|
#include "assets/default/inc/images/uiex_clock_Minutehand.res"
|
|
#include "assets/default/inc/images/uiex_keyboard_CN.res"
|
|
#include "assets/default/inc/images/uiex_button_Export.res"
|
|
#include "assets/default/inc/images/uiex_combobox_btn_d.res"
|
|
#include "assets/default/inc/images/uiex_close_n.res"
|
|
#include "assets/default/inc/images/uiex_editor_Textcolor.res"
|
|
#include "assets/default/inc/images/uiex_check_checked_n.res"
|
|
#include "assets/default/inc/images/logo_dynamic.res"
|
|
#include "assets/default/inc/images/uiex_texteditorhide.res"
|
|
#include "assets/default/inc/images/debug_restart_n.res"
|
|
#include "assets/default/inc/images/debug_step_into_n.res"
|
|
#include "assets/default/inc/images/uiex_clock_Dots.res"
|
|
#include "assets/default/inc/images/debug_start_o.res"
|
|
#include "assets/default/inc/images/debug_start_n.res"
|
|
#include "assets/default/inc/images/bg4_s.res"
|
|
#include "assets/default/inc/images/uiex_List_privacyprotection.res"
|
|
#include "assets/default/inc/images/debug_step_into_o.res"
|
|
#include "assets/default/inc/images/debug_restart_o.res"
|
|
#include "assets/default/inc/images/uiex_Configuration_sel.res"
|
|
#include "assets/default/inc/images/uiex_button_search.res"
|
|
#include "assets/default/inc/images/repeat3.res"
|
|
#include "assets/default/inc/images/uiex_editor_TextAlignright.res"
|
|
#include "assets/default/inc/images/bg1.res"
|
|
#include "assets/default/inc/images/uiex_List_sound.res"
|
|
#include "assets/default/inc/images/uiex_takeover_nor.res"
|
|
#include "assets/default/inc/images/debug_step_over_n.res"
|
|
#include "assets/default/inc/images/bg1_s.res"
|
|
#include "assets/default/inc/images/uiex_keyboard_EN.res"
|
|
#include "assets/default/inc/images/uiex_logo.res"
|
|
#include "assets/default/inc/images/uiex_editor_TextItalic.res"
|
|
#include "assets/default/inc/images/uiex_list_Battery.res"
|
|
#include "assets/default/inc/images/uiex_send_sel.res"
|
|
#include "assets/default/inc/images/debug_step_over_o.res"
|
|
#include "assets/default/inc/images/repeat2.res"
|
|
#include "assets/default/inc/images/bg2.res"
|
|
#include "assets/default/inc/images/uiex_Information_avatar.res"
|
|
#include "assets/default/inc/images/uiex_editor_TextCenteralignment.res"
|
|
#include "assets/default/inc/images/uiex_button_time.res"
|
|
#include "assets/default/inc/images/uiex_radio_n.res"
|
|
#include "assets/default/inc/images/uiex_clock_Secondhand.res"
|
|
#include "assets/default/inc/images/bg3_s.res"
|
|
#include "assets/default/inc/images/uiex_button_Empty.res"
|
|
#include "assets/default/inc/images/bg3.res"
|
|
#include "assets/default/inc/images/repeat1.res"
|
|
#include "assets/default/inc/images/uiex_editor_TextBold.res"
|
|
#include "assets/default/inc/images/ani9.res"
|
|
#include "assets/default/inc/images/debug_stop_n.res"
|
|
#include "assets/default/inc/images/debug_step_return_n.res"
|
|
#include "assets/default/inc/images/debug_resume_d.res"
|
|
#include "assets/default/inc/images/uiex_num9.res"
|
|
#include "assets/default/inc/images/uiex_button_Import.res"
|
|
#include "assets/default/inc/images/uiex_num8.res"
|
|
#include "assets/default/inc/images/uiex_List_Moresettings.res"
|
|
#include "assets/default/inc/images/debug_step_return_o.res"
|
|
#include "assets/default/inc/images/uiex_List_show.res"
|
|
#include "assets/default/inc/images/debug_stop_o.res"
|
|
#include "assets/default/inc/images/ani8.res"
|
|
#include "assets/default/inc/images/debug_pause_d.res"
|
|
#include "assets/default/inc/images/repeat4.res"
|
|
#include "assets/default/inc/images/uiex_clock_Hourhand.res"
|
|
#include "assets/default/inc/images/uiex_switch.res"
|
|
#include "assets/default/inc/images/bg4.res"
|
|
#include "assets/default/inc/images/uiex_List_Bluetooth.res"
|
|
#include "assets/default/inc/images/uiex_List_desktop.res"
|
|
#include "assets/default/inc/images/uiex_List_Nextpage_p.res"
|
|
#include "assets/default/inc/images/bg5.res"
|
|
#include "assets/default/inc/images/uiex_shift.res"
|
|
#include "assets/default/inc/images/bg5_s.res"
|
|
#else
|
|
#include "assets/default/inc/images/uiex_keyboard_CN.data"
|
|
#include "assets/default/inc/images/uiex_send_sel.data"
|
|
#include "assets/default/inc/images/uiex_radio_p.data"
|
|
#include "assets/default/inc/images/bg3.data"
|
|
#include "assets/default/inc/images/ani3.data"
|
|
#include "assets/default/inc/images/uiex_load1_bg.data"
|
|
#include "assets/default/inc/images/debug_step_over_n.data"
|
|
#include "assets/default/inc/images/uiex_num1.data"
|
|
#include "assets/default/inc/images/uiex_Windowclosed_p.data"
|
|
#include "assets/default/inc/images/repeat3.data"
|
|
#include "assets/default/inc/images/bg5_s.data"
|
|
#include "assets/default/inc/images/uiex_arrow_down_n.data"
|
|
#include "assets/default/inc/images/debug_step_into_d.data"
|
|
#include "assets/default/inc/images/logo_dynamic.data"
|
|
#include "assets/default/inc/images/app5.data"
|
|
#include "assets/default/inc/images/debug_restart_n.data"
|
|
#include "assets/default/inc/images/uiex_clock_Minutehand.data"
|
|
#include "assets/default/inc/images/debug_stop_n.data"
|
|
#include "assets/default/inc/images/uiex_switch.data"
|
|
#include "assets/default/inc/images/uiex_List_WLAN.data"
|
|
#include "assets/default/inc/images/uiex_Configuration_nor.data"
|
|
#include "assets/default/inc/images/debug_stop_o.data"
|
|
#include "assets/default/inc/images/uiex_shift.data"
|
|
#include "assets/default/inc/images/debug_restart_o.data"
|
|
#include "assets/default/inc/images/uiex_keyboard_EN.data"
|
|
#include "assets/default/inc/images/app4.data"
|
|
#include "assets/default/inc/images/uiex_Information_avatar.data"
|
|
#include "assets/default/inc/images/uiex_takeover_nor.data"
|
|
#include "assets/default/inc/images/uiex_keyboard_backspace_n.data"
|
|
#include "assets/default/inc/images/uiex_num0.data"
|
|
#include "assets/default/inc/images/repeat2.data"
|
|
#include "assets/default/inc/images/uiex_load1_loading.data"
|
|
#include "assets/default/inc/images/uiex_button_time.data"
|
|
#include "assets/default/inc/images/debug_step_over_o.data"
|
|
#include "assets/default/inc/images/ani2.data"
|
|
#include "assets/default/inc/images/bg2.data"
|
|
#include "assets/default/inc/images/uiex_logo.data"
|
|
#include "assets/default/inc/images/uiex_List_Connectandshare.data"
|
|
#include "assets/default/inc/images/uiex_Portraitmenu_p.data"
|
|
#include "assets/default/inc/images/uiex_radio_d.data"
|
|
#include "assets/default/inc/images/uiex_list_Battery.data"
|
|
#include "assets/default/inc/images/uiex_num7.data"
|
|
#include "assets/default/inc/images/uiex_loading_repeat_bg.data"
|
|
#include "assets/default/inc/images/uiex_editor_TextAlignleft.data"
|
|
#include "assets/default/inc/images/app3.data"
|
|
#include "assets/default/inc/images/uiex_editor_Textcolor.data"
|
|
#include "assets/default/inc/images/uiex_clock_bg.data"
|
|
#include "assets/default/inc/images/uiex_Information_chat_bg.data"
|
|
#include "assets/default/inc/images/uiex_Portraitmenu_n.data"
|
|
#include "assets/default/inc/images/ani9.data"
|
|
#include "assets/default/inc/images/bg3_s.data"
|
|
#include "assets/default/inc/images/uiex_send_nor.data"
|
|
#include "assets/default/inc/images/debug_step_over_d.data"
|
|
#include "assets/default/inc/images/uiex_List_sound.data"
|
|
#include "assets/default/inc/images/uiex_clock_Secondhand.data"
|
|
#include "assets/default/inc/images/uiex_List_Mydevice.data"
|
|
#include "assets/default/inc/images/debug_step_into_n.data"
|
|
#include "assets/default/inc/images/uiex_texteditorhide.data"
|
|
#include "assets/default/inc/images/uiex_load2_bg.data"
|
|
#include "assets/default/inc/images/uiex_keyboard_backspace_p.data"
|
|
#include "assets/default/inc/images/uiex_battery_0.data"
|
|
#include "assets/default/inc/images/uiex_editor_TextUnderscore.data"
|
|
#include "assets/default/inc/images/debug_restart_d.data"
|
|
#include "assets/default/inc/images/bg5.data"
|
|
#include "assets/default/inc/images/ani5.data"
|
|
#include "assets/default/inc/images/debug_stop_d.data"
|
|
#include "assets/default/inc/images/ani4.data"
|
|
#include "assets/default/inc/images/uiex_Windowclosed_n.data"
|
|
#include "assets/default/inc/images/bg4.data"
|
|
#include "assets/default/inc/images/uiex_battery_1.data"
|
|
#include "assets/default/inc/images/uiex_arrow_down_p.data"
|
|
#include "assets/default/inc/images/debug_step_into_o.data"
|
|
#include "assets/default/inc/images/uiex_editor_bgcolor.data"
|
|
#include "assets/default/inc/images/ani8.data"
|
|
#include "assets/default/inc/images/uiex_editor_TextLinespacing.data"
|
|
#include "assets/default/inc/images/uiex_Configuration_sel.data"
|
|
#include "assets/default/inc/images/uiex_List_desktop.data"
|
|
#include "assets/default/inc/images/app2.data"
|
|
#include "assets/default/inc/images/uiex_takeover_sel.data"
|
|
#include "assets/default/inc/images/bg1_s.data"
|
|
#include "assets/default/inc/images/uiex_List_show.data"
|
|
#include "assets/default/inc/images/uiex_radio_n.data"
|
|
#include "assets/default/inc/images/uiex_editor_TextItalic.data"
|
|
#include "assets/default/inc/images/uiex_num6.data"
|
|
#include "assets/default/inc/images/repeat4.data"
|
|
#include "assets/default/inc/images/uiex_check_checked_n.data"
|
|
#include "assets/default/inc/images/debug_step_return_n.data"
|
|
#include "assets/default/inc/images/app1.data"
|
|
#include "assets/default/inc/images/uiex_List_Nextpage_n.data"
|
|
#include "assets/default/inc/images/uiex_radio_checked_p.data"
|
|
#include "assets/default/inc/images/uiex_num5.data"
|
|
#include "assets/default/inc/images/bg4_s.data"
|
|
#include "assets/default/inc/images/ani7.data"
|
|
#include "assets/default/inc/images/debug_pause_o.data"
|
|
#include "assets/default/inc/images/uiex_shifton.data"
|
|
#include "assets/default/inc/images/uiex_battery_2.data"
|
|
#include "assets/default/inc/images/debug_start_o.data"
|
|
#include "assets/default/inc/images/uiex_arrow_up_n.data"
|
|
#include "assets/default/inc/images/uiex_big_logo.data"
|
|
#include "assets/default/inc/images/uiex_num9.data"
|
|
#include "assets/default/inc/images/uiex_clock_Dots.data"
|
|
#include "assets/default/inc/images/debug_resume_d.data"
|
|
#include "assets/default/inc/images/uiex_num8.data"
|
|
#include "assets/default/inc/images/uiex_List_privacyprotection.data"
|
|
#include "assets/default/inc/images/uiex_Coverwindow.data"
|
|
#include "assets/default/inc/images/uiex_battery_3.data"
|
|
#include "assets/default/inc/images/debug_start_n.data"
|
|
#include "assets/default/inc/images/uiex_combobox_btn_n.data"
|
|
#include "assets/default/inc/images/debug_pause_n.data"
|
|
#include "assets/default/inc/images/ani6.data"
|
|
#include "assets/default/inc/images/uiex_button_Import.data"
|
|
#include "assets/default/inc/images/uiex_num4.data"
|
|
#include "assets/default/inc/images/uiex_Universal_nor.data"
|
|
#include "assets/default/inc/images/uiex_check_n.data"
|
|
#include "assets/default/inc/images/debug_step_return_o.data"
|
|
#include "assets/default/inc/images/uiex_Boot_loading.data"
|
|
#include "assets/default/inc/images/uiex_radio_checked_d.data"
|
|
#include "assets/default/inc/images/uiex_editor_TextAlignBoth.data"
|
|
#include "assets/default/inc/images/uiex_numdot.data"
|
|
#include "assets/default/inc/images/uiex_close_p.data"
|
|
#include "assets/default/inc/images/ani1.data"
|
|
#include "assets/default/inc/images/uiex_editor_TextCenteralignment.data"
|
|
#include "assets/default/inc/images/uiex_check_checked_d.data"
|
|
#include "assets/default/inc/images/bg1.data"
|
|
#include "assets/default/inc/images/uiex_battery_4.data"
|
|
#include "assets/default/inc/images/uiex_check_p.data"
|
|
#include "assets/default/inc/images/uiex_clock_Hourhand.data"
|
|
#include "assets/default/inc/images/debug_step_return_d.data"
|
|
#include "assets/default/inc/images/uiex_button_Export.data"
|
|
#include "assets/default/inc/images/uiex_editor_TextAlignright.data"
|
|
#include "assets/default/inc/images/uiex_close_n.data"
|
|
#include "assets/default/inc/images/uiex_texteditor_show.data"
|
|
#include "assets/default/inc/images/uiex_button_search.data"
|
|
#include "assets/default/inc/images/bg2_s.data"
|
|
#include "assets/default/inc/images/repeat1.data"
|
|
#include "assets/default/inc/images/debug_resume_o.data"
|
|
#include "assets/default/inc/images/uiex_num3.data"
|
|
#include "assets/default/inc/images/uiex_List_password.data"
|
|
#include "assets/default/inc/images/uiex_combobox_btn_p.data"
|
|
#include "assets/default/inc/images/uiex_List_Bluetooth.data"
|
|
#include "assets/default/inc/images/uiex_load2_loading.data"
|
|
#include "assets/default/inc/images/debug_resume_n.data"
|
|
#include "assets/default/inc/images/uiex_num2.data"
|
|
#include "assets/default/inc/images/uiex_arrow_up_p.data"
|
|
#include "assets/default/inc/images/uiex_Universal_sel.data"
|
|
#include "assets/default/inc/images/debug_start_d.data"
|
|
#include "assets/default/inc/images/uiex_RecordForm_bg.data"
|
|
#include "assets/default/inc/images/gauge_pointer.data"
|
|
#include "assets/default/inc/images/uiex_combobox_btn_d.data"
|
|
#include "assets/default/inc/images/uiex_editor_TextBold.data"
|
|
#include "assets/default/inc/images/debug_pause_d.data"
|
|
#include "assets/default/inc/images/uiex_button_Empty.data"
|
|
#include "assets/default/inc/images/uiex_check_checked_p.data"
|
|
#include "assets/default/inc/images/uiex_Sliding_Square.data"
|
|
#include "assets/default/inc/images/uiex_check_d.data"
|
|
#include "assets/default/inc/images/uiex_radio_checked_n.data"
|
|
#include "assets/default/inc/images/uiex_List_Moresettings.data"
|
|
#include "assets/default/inc/images/uiex_battery_5.data"
|
|
#include "assets/default/inc/images/uiex_List_Nextpage_p.data"
|
|
#include "assets/default/inc/images/uiex_Sliding_dot.data"
|
|
#include "assets/default/inc/images/uiex_editor_Importpictures.data"
|
|
#include "assets/default/inc/images/uiex_check.data"
|
|
#endif /*WITH_STB_IMAGE*/
|
|
#ifdef WITH_VGCANVAS
|
|
#include "assets/default/inc/images/computer.bsvg"
|
|
#include "assets/default/inc/images/windmill.bsvg"
|
|
#endif /*WITH_VGCANVAS*/
|
|
#ifdef WITH_TRUETYPE_FONT
|
|
#include "assets/default/inc/fonts/default.res"
|
|
#else /*WITH_TRUETYPE_FONT*/
|
|
#endif /*WITH_TRUETYPE_FONT*/
|
|
#endif /*WITH_FS_RES*/
|
|
|
|
ret_t assets_init(void) {
|
|
assets_manager_t* am = assets_manager();
|
|
assets_manager_set_theme(am, "default");
|
|
|
|
#ifdef WITH_FS_RES
|
|
assets_manager_preload(am, ASSET_TYPE_STYLE, "default");
|
|
#else
|
|
assets_manager_add(am, strings_en_US);
|
|
assets_manager_add(am, style_uiex_dialog_warn);
|
|
assets_manager_add(am, style_dialog_toast);
|
|
assets_manager_add(am, style_uiex_keyboard);
|
|
assets_manager_add(am, style_uiex_dialog_info);
|
|
assets_manager_add(am, style_default);
|
|
assets_manager_add(am, style_uiex);
|
|
assets_manager_add(am, style_uiex_dialog_confirm);
|
|
assets_manager_add(am, ui_uiex_kb_ascii);
|
|
assets_manager_add(am, ui_uiex_page_list_view);
|
|
assets_manager_add(am, ui_uiex_kb_foo);
|
|
assets_manager_add(am, ui_uiex_page_slide_view);
|
|
assets_manager_add(am, ui_uiex_preload);
|
|
assets_manager_add(am, ui_uiex_page_window);
|
|
assets_manager_add(am, ui_uiex_cbp_fast_food);
|
|
assets_manager_add(am, ui_uiex_page_color);
|
|
assets_manager_add(am, ui_uiex_page_edit);
|
|
assets_manager_add(am, ui_uiex_kb_int);
|
|
assets_manager_add(am, ui_uiex_kb_hex);
|
|
assets_manager_add(am, ui_uiex_page_date_time);
|
|
assets_manager_add(am, ui_uiex_cbp_week);
|
|
assets_manager_add(am, ui_uiex_sysbar_portrait);
|
|
assets_manager_add(am, ui_uiex_page_animate);
|
|
assets_manager_add(am, ui_uiex_page_layout);
|
|
assets_manager_add(am, ui_uiex_page_chart);
|
|
assets_manager_add(am, ui_uiex_page_checkbox);
|
|
assets_manager_add(am, ui_uiex_sysbar_landscape);
|
|
assets_manager_add(am, ui_uiex_page_button);
|
|
assets_manager_add(am, ui_uiex_page_progress);
|
|
assets_manager_add(am, ui_uiex_dlg_center_scale);
|
|
assets_manager_add(am, ui_uiex_cbp_font);
|
|
assets_manager_add(am, ui_uiex_htranslate);
|
|
assets_manager_add(am, ui_uiex_overlay);
|
|
assets_manager_add(am, ui_uiex_slide_down);
|
|
assets_manager_add(am, ui_uiex_slide_right);
|
|
assets_manager_add(am, ui_uiex_page_selector);
|
|
assets_manager_add(am, ui_uiex_dlg_popup);
|
|
assets_manager_add(am, ui_uiex_dlg_fade);
|
|
assets_manager_add(am, ui_uiex_dlg_popdown);
|
|
assets_manager_add(am, ui_uiex_cbp_font_size);
|
|
assets_manager_add(am, ui_uiex_page_slider);
|
|
assets_manager_add(am, ui_uiex_menu_portrait);
|
|
assets_manager_add(am, ui_uiex_page_mledit);
|
|
assets_manager_add(am, ui_uiex_page_image);
|
|
assets_manager_add(am, ui_uiex_slide_left);
|
|
assets_manager_add(am, ui_uiex_menu_landscape);
|
|
assets_manager_add(am, ui_uiex_page_tab_ctrl);
|
|
assets_manager_add(am, ui_uiex_vtranslate);
|
|
assets_manager_add(am, ui_uiex_kb_default);
|
|
assets_manager_add(am, ui_uiex_slide_up);
|
|
assets_manager_add(am, ui_uiex_menu_bar);
|
|
assets_manager_add(am, ui_uiex_popup);
|
|
assets_manager_add(am, ui_uiex_page_label);
|
|
assets_manager_add(am, ui_uiex_kb_uint);
|
|
assets_manager_add(am, image_ani6);
|
|
assets_manager_add(am, image_uiex_big_logo);
|
|
assets_manager_add(am, image_uiex_num6);
|
|
assets_manager_add(am, image_uiex_shifton);
|
|
assets_manager_add(am, image_uiex_radio_d);
|
|
assets_manager_add(am, image_uiex_num7);
|
|
assets_manager_add(am, image_ani7);
|
|
assets_manager_add(am, image_ani5);
|
|
assets_manager_add(am, image_uiex_battery_5);
|
|
assets_manager_add(am, image_debug_step_over_d);
|
|
assets_manager_add(am, image_uiex_num5);
|
|
assets_manager_add(am, image_uiex_Configuration_nor);
|
|
assets_manager_add(am, image_uiex_radio_p);
|
|
assets_manager_add(am, image_uiex_Boot_loading);
|
|
assets_manager_add(am, image_uiex_num4);
|
|
assets_manager_add(am, image_uiex_battery_4);
|
|
assets_manager_add(am, image_ani4);
|
|
assets_manager_add(am, image_uiex_Universal_sel);
|
|
assets_manager_add(am, image_uiex_battery_0);
|
|
assets_manager_add(am, image_uiex_num0);
|
|
assets_manager_add(am, image_uiex_load2_bg);
|
|
assets_manager_add(am, image_uiex_num1);
|
|
assets_manager_add(am, image_uiex_battery_1);
|
|
assets_manager_add(am, image_ani1);
|
|
assets_manager_add(am, image_uiex_List_Mydevice);
|
|
assets_manager_add(am, image_uiex_editor_TextAlignleft);
|
|
assets_manager_add(am, image_ani3);
|
|
assets_manager_add(am, image_debug_pause_o);
|
|
assets_manager_add(am, image_uiex_clock_bg);
|
|
assets_manager_add(am, image_debug_stop_d);
|
|
assets_manager_add(am, image_debug_resume_n);
|
|
assets_manager_add(am, image_uiex_numdot);
|
|
assets_manager_add(am, image_uiex_editor_TextUnderscore);
|
|
assets_manager_add(am, image_debug_step_return_d);
|
|
assets_manager_add(am, image_uiex_battery_3);
|
|
assets_manager_add(am, image_uiex_load2_loading);
|
|
assets_manager_add(am, image_uiex_Sliding_dot);
|
|
assets_manager_add(am, image_uiex_num3);
|
|
assets_manager_add(am, image_uiex_List_password);
|
|
assets_manager_add(am, image_uiex_num2);
|
|
assets_manager_add(am, image_uiex_battery_2);
|
|
assets_manager_add(am, image_uiex_List_Nextpage_n);
|
|
assets_manager_add(am, image_debug_resume_o);
|
|
assets_manager_add(am, image_uiex_Coverwindow);
|
|
assets_manager_add(am, image_debug_pause_n);
|
|
assets_manager_add(am, image_ani2);
|
|
assets_manager_add(am, image_app3);
|
|
assets_manager_add(am, image_uiex_texteditor_show);
|
|
assets_manager_add(am, image_uiex_arrow_down_p);
|
|
assets_manager_add(am, image_uiex_editor_Importpictures);
|
|
assets_manager_add(am, image_uiex_Windowclosed_n);
|
|
assets_manager_add(am, image_uiex_combobox_btn_n);
|
|
assets_manager_add(am, image_uiex_radio_checked_p);
|
|
assets_manager_add(am, image_uiex_editor_TextLinespacing);
|
|
assets_manager_add(am, image_uiex_arrow_up_n);
|
|
assets_manager_add(am, image_uiex_load1_loading);
|
|
assets_manager_add(am, image_uiex_keyboard_backspace_n);
|
|
assets_manager_add(am, image_uiex_check_p);
|
|
assets_manager_add(am, image_app2);
|
|
assets_manager_add(am, image_uiex_check_checked_d);
|
|
assets_manager_add(am, image_uiex_RecordForm_bg);
|
|
assets_manager_add(am, image_uiex_Portraitmenu_p);
|
|
assets_manager_add(am, image_uiex_radio_checked_d);
|
|
assets_manager_add(am, image_uiex_close_p);
|
|
assets_manager_add(am, image_uiex_check_d);
|
|
assets_manager_add(am, image_uiex_check_checked_p);
|
|
assets_manager_add(am, image_app1);
|
|
assets_manager_add(am, image_app5);
|
|
assets_manager_add(am, image_uiex_Information_chat_bg);
|
|
assets_manager_add(am, image_uiex_Sliding_Square);
|
|
assets_manager_add(am, image_uiex_takeover_sel);
|
|
assets_manager_add(am, image_uiex_editor_TextAlignBoth);
|
|
assets_manager_add(am, image_uiex_send_nor);
|
|
assets_manager_add(am, image_uiex_loading_repeat_bg);
|
|
assets_manager_add(am, image_app4);
|
|
assets_manager_add(am, image_debug_restart_d);
|
|
assets_manager_add(am, image_uiex_editor_bgcolor);
|
|
assets_manager_add(am, image_debug_step_into_d);
|
|
assets_manager_add(am, image_debug_start_d);
|
|
assets_manager_add(am, image_uiex_List_Connectandshare);
|
|
assets_manager_add(am, image_uiex_arrow_down_n);
|
|
assets_manager_add(am, image_uiex_combobox_btn_p);
|
|
assets_manager_add(am, image_uiex_Windowclosed_p);
|
|
assets_manager_add(am, image_uiex_Universal_nor);
|
|
assets_manager_add(am, image_uiex_radio_checked_n);
|
|
assets_manager_add(am, image_uiex_arrow_up_p);
|
|
assets_manager_add(am, image_uiex_load1_bg);
|
|
assets_manager_add(am, image_uiex_List_WLAN);
|
|
assets_manager_add(am, image_uiex_keyboard_backspace_p);
|
|
assets_manager_add(am, image_uiex_check_n);
|
|
assets_manager_add(am, image_gauge_pointer);
|
|
assets_manager_add(am, image_bg2_s);
|
|
assets_manager_add(am, image_uiex_Portraitmenu_n);
|
|
assets_manager_add(am, image_uiex_check);
|
|
assets_manager_add(am, image_uiex_clock_Minutehand);
|
|
assets_manager_add(am, image_uiex_keyboard_CN);
|
|
assets_manager_add(am, image_uiex_button_Export);
|
|
assets_manager_add(am, image_uiex_combobox_btn_d);
|
|
assets_manager_add(am, image_uiex_close_n);
|
|
assets_manager_add(am, image_uiex_editor_Textcolor);
|
|
assets_manager_add(am, image_uiex_check_checked_n);
|
|
assets_manager_add(am, image_logo_dynamic);
|
|
assets_manager_add(am, image_uiex_texteditorhide);
|
|
assets_manager_add(am, image_debug_restart_n);
|
|
assets_manager_add(am, image_debug_step_into_n);
|
|
assets_manager_add(am, image_uiex_clock_Dots);
|
|
assets_manager_add(am, image_debug_start_o);
|
|
assets_manager_add(am, image_debug_start_n);
|
|
assets_manager_add(am, image_bg4_s);
|
|
assets_manager_add(am, image_uiex_List_privacyprotection);
|
|
assets_manager_add(am, image_debug_step_into_o);
|
|
assets_manager_add(am, image_debug_restart_o);
|
|
assets_manager_add(am, image_uiex_Configuration_sel);
|
|
assets_manager_add(am, image_uiex_button_search);
|
|
assets_manager_add(am, image_repeat3);
|
|
assets_manager_add(am, image_uiex_editor_TextAlignright);
|
|
assets_manager_add(am, image_bg1);
|
|
assets_manager_add(am, image_uiex_List_sound);
|
|
assets_manager_add(am, image_uiex_takeover_nor);
|
|
assets_manager_add(am, image_debug_step_over_n);
|
|
assets_manager_add(am, image_bg1_s);
|
|
assets_manager_add(am, image_uiex_keyboard_EN);
|
|
assets_manager_add(am, image_uiex_logo);
|
|
assets_manager_add(am, image_uiex_editor_TextItalic);
|
|
assets_manager_add(am, image_uiex_list_Battery);
|
|
assets_manager_add(am, image_uiex_send_sel);
|
|
assets_manager_add(am, image_debug_step_over_o);
|
|
assets_manager_add(am, image_repeat2);
|
|
assets_manager_add(am, image_bg2);
|
|
assets_manager_add(am, image_uiex_Information_avatar);
|
|
assets_manager_add(am, image_uiex_editor_TextCenteralignment);
|
|
assets_manager_add(am, image_uiex_button_time);
|
|
assets_manager_add(am, image_uiex_radio_n);
|
|
assets_manager_add(am, image_uiex_clock_Secondhand);
|
|
assets_manager_add(am, image_bg3_s);
|
|
assets_manager_add(am, image_uiex_button_Empty);
|
|
assets_manager_add(am, image_bg3);
|
|
assets_manager_add(am, image_repeat1);
|
|
assets_manager_add(am, image_uiex_editor_TextBold);
|
|
assets_manager_add(am, image_ani9);
|
|
assets_manager_add(am, image_debug_stop_n);
|
|
assets_manager_add(am, image_debug_step_return_n);
|
|
assets_manager_add(am, image_debug_resume_d);
|
|
assets_manager_add(am, image_uiex_num9);
|
|
assets_manager_add(am, image_uiex_button_Import);
|
|
assets_manager_add(am, image_uiex_num8);
|
|
assets_manager_add(am, image_uiex_List_Moresettings);
|
|
assets_manager_add(am, image_debug_step_return_o);
|
|
assets_manager_add(am, image_uiex_List_show);
|
|
assets_manager_add(am, image_debug_stop_o);
|
|
assets_manager_add(am, image_ani8);
|
|
assets_manager_add(am, image_debug_pause_d);
|
|
assets_manager_add(am, image_repeat4);
|
|
assets_manager_add(am, image_uiex_clock_Hourhand);
|
|
assets_manager_add(am, image_uiex_switch);
|
|
assets_manager_add(am, image_bg4);
|
|
assets_manager_add(am, image_uiex_List_Bluetooth);
|
|
assets_manager_add(am, image_uiex_List_desktop);
|
|
assets_manager_add(am, image_uiex_List_Nextpage_p);
|
|
assets_manager_add(am, image_bg5);
|
|
assets_manager_add(am, image_uiex_shift);
|
|
assets_manager_add(am, image_bg5_s);
|
|
#ifdef WITH_VGCANVAS
|
|
assets_manager_add(am, image_computer);
|
|
assets_manager_add(am, image_windmill);
|
|
#endif /*WITH_VGCANVAS*/
|
|
#ifdef WITH_TRUETYPE_FONT
|
|
assets_manager_add(am, font_default);
|
|
#else /*WITH_TRUETYPE_FONT*/
|
|
#endif /*WITH_TRUETYPE_FONT*/
|
|
#endif
|
|
|
|
tk_init_assets();
|
|
return RET_OK;
|
|
}
|