2021-02-25 18:14:45 +08:00
|
|
|
#include "awtk.h"
|
|
|
|
#include "base/assets_manager.h"
|
2022-06-23 17:36:08 +08:00
|
|
|
#if !defined(WITH_FS_RES) || defined(AWTK_WEB)
|
2021-06-27 11:06:44 +08:00
|
|
|
#include "assets/default/inc/strings/en_US.data"
|
2023-11-19 08:47:08 +08:00
|
|
|
#include "assets/dark/inc/styles/uiex_keyboard.data"
|
2023-11-24 18:39:09 +08:00
|
|
|
#include "assets/dark/inc/styles/uiex.data"
|
|
|
|
#include "assets/dark/inc/styles/uiex_dialog_confirm.data"
|
2023-11-19 08:47:08 +08:00
|
|
|
#include "assets/default/inc/styles/dialog_toast.data"
|
2023-11-24 18:39:09 +08:00
|
|
|
#include "assets/default/inc/styles/default.data"
|
2021-09-06 10:50:43 +08:00
|
|
|
#include "assets/default/inc/ui/uiex/kb_ascii.data"
|
2023-11-24 18:39:09 +08:00
|
|
|
#include "assets/default/inc/ui/uiex/page_list_view.data"
|
2021-09-06 10:50:43 +08:00
|
|
|
#include "assets/default/inc/ui/uiex/kb_foo.data"
|
2023-11-24 18:39:09 +08:00
|
|
|
#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/page_color.data"
|
|
|
|
#include "assets/default/inc/ui/uiex/page_edit.data"
|
2023-11-19 08:47:08 +08:00
|
|
|
#include "assets/default/inc/ui/uiex/kb_int.data"
|
2023-11-24 18:39:09 +08:00
|
|
|
#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/sysbar_portrait.data"
|
2021-09-06 10:50:43 +08:00
|
|
|
#include "assets/default/inc/ui/uiex/page_animate.data"
|
2023-11-24 18:39:09 +08:00
|
|
|
#include "assets/default/inc/ui/uiex/page_layout.data"
|
2021-09-06 10:50:43 +08:00
|
|
|
#include "assets/default/inc/ui/uiex/page_chart.data"
|
|
|
|
#include "assets/default/inc/ui/uiex/page_checkbox.data"
|
2023-11-24 18:39:09 +08:00
|
|
|
#include "assets/default/inc/ui/uiex/sysbar_landscape.data"
|
|
|
|
#include "assets/default/inc/ui/uiex/page_button.data"
|
2023-08-16 11:07:19 +08:00
|
|
|
#include "assets/default/inc/ui/uiex/page_progress.data"
|
2023-11-24 18:39:09 +08:00
|
|
|
#include "assets/default/inc/ui/uiex/dlg_center_scale.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"
|
2021-09-06 10:50:43 +08:00
|
|
|
#include "assets/default/inc/ui/uiex/page_selector.data"
|
2023-11-24 18:39:09 +08:00
|
|
|
#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"
|
2021-09-06 10:50:43 +08:00
|
|
|
#include "assets/default/inc/ui/uiex/page_slider.data"
|
2023-11-24 18:39:09 +08:00
|
|
|
#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"
|
2023-11-19 08:47:08 +08:00
|
|
|
#include "assets/default/inc/ui/uiex/slide_left.data"
|
2023-11-24 18:39:09 +08:00
|
|
|
#include "assets/default/inc/ui/uiex/menu_landscape.data"
|
|
|
|
#include "assets/default/inc/ui/uiex/page_tab_ctrl.data"
|
2023-11-19 08:47:08 +08:00
|
|
|
#include "assets/default/inc/ui/uiex/vtranslate.data"
|
2023-11-24 18:39:09 +08:00
|
|
|
#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"
|
2022-06-23 17:36:08 +08:00
|
|
|
#ifndef AWTK_WEB
|
2021-02-25 18:14:45 +08:00
|
|
|
#ifdef WITH_STB_IMAGE
|
2022-06-23 17:36:08 +08:00
|
|
|
#else /*WITH_STB_IMAGE*/
|
2023-11-24 18:39:09 +08:00
|
|
|
#include "assets/dark/inc/images/uiex_keyboard_CN.data"
|
2023-11-19 08:47:08 +08:00
|
|
|
#include "assets/dark/inc/images/uiex_arrow_left_n.data"
|
2023-11-24 18:39:09 +08:00
|
|
|
#include "assets/dark/inc/images/uiex_radio_p.data"
|
|
|
|
#include "assets/dark/inc/images/uiex_load1_bg.data"
|
|
|
|
#include "assets/dark/inc/images/uiex_num1.data"
|
|
|
|
#include "assets/dark/inc/images/uiex_arrow_down_n.data"
|
|
|
|
#include "assets/dark/inc/images/uiex_clock_Minutehand.data"
|
|
|
|
#include "assets/dark/inc/images/uiex_shift.data"
|
|
|
|
#include "assets/dark/inc/images/uiex_keyboard_EN.data"
|
|
|
|
#include "assets/dark/inc/images/uiex_keyboard_backspace_n.data"
|
|
|
|
#include "assets/dark/inc/images/uiex_num0.data"
|
|
|
|
#include "assets/dark/inc/images/uiex_button_time.data"
|
|
|
|
#include "assets/dark/inc/images/uiex_logo.data"
|
|
|
|
#include "assets/dark/inc/images/uiex_Portraitmenu_p.data"
|
|
|
|
#include "assets/dark/inc/images/uiex_radio_d.data"
|
2022-11-14 17:34:15 +08:00
|
|
|
#include "assets/dark/inc/images/uiex_arrow_right_n.data"
|
2023-11-24 18:39:09 +08:00
|
|
|
#include "assets/dark/inc/images/uiex_num7.data"
|
|
|
|
#include "assets/dark/inc/images/uiex_editor_TextAlignleft.data"
|
|
|
|
#include "assets/dark/inc/images/uiex_editor_Textcolor.data"
|
|
|
|
#include "assets/dark/inc/images/uiex_clock_bg.data"
|
|
|
|
#include "assets/dark/inc/images/uiex_Portraitmenu_n.data"
|
2022-11-14 17:34:15 +08:00
|
|
|
#include "assets/dark/inc/images/uiex_arrow_right_p.data"
|
2023-11-24 18:39:09 +08:00
|
|
|
#include "assets/dark/inc/images/uiex_texteditorhide.data"
|
|
|
|
#include "assets/dark/inc/images/uiex_load2_bg.data"
|
|
|
|
#include "assets/dark/inc/images/uiex_keyboard_backspace_p.data"
|
2021-09-06 10:50:43 +08:00
|
|
|
#include "assets/dark/inc/images/uiex_battery_0.data"
|
2023-11-24 18:39:09 +08:00
|
|
|
#include "assets/dark/inc/images/uiex_editor_TextUnderscore.data"
|
2021-09-06 10:50:43 +08:00
|
|
|
#include "assets/dark/inc/images/uiex_battery_1.data"
|
2023-11-24 18:39:09 +08:00
|
|
|
#include "assets/dark/inc/images/uiex_arrow_down_p.data"
|
|
|
|
#include "assets/dark/inc/images/uiex_editor_bgcolor.data"
|
|
|
|
#include "assets/dark/inc/images/uiex_editor_TextLinespacing.data"
|
|
|
|
#include "assets/dark/inc/images/uiex_arrow_left_p.data"
|
|
|
|
#include "assets/dark/inc/images/uiex_radio_n.data"
|
|
|
|
#include "assets/dark/inc/images/uiex_editor_TextItalic.data"
|
|
|
|
#include "assets/dark/inc/images/uiex_num6.data"
|
|
|
|
#include "assets/dark/inc/images/uiex_check_checked_n.data"
|
|
|
|
#include "assets/dark/inc/images/uiex_List_Nextpage_n.data"
|
|
|
|
#include "assets/dark/inc/images/uiex_radio_checked_p.data"
|
|
|
|
#include "assets/dark/inc/images/uiex_num5.data"
|
|
|
|
#include "assets/dark/inc/images/uiex_shifton.data"
|
2021-09-06 10:50:43 +08:00
|
|
|
#include "assets/dark/inc/images/uiex_battery_2.data"
|
2023-11-24 18:39:09 +08:00
|
|
|
#include "assets/dark/inc/images/uiex_arrow_up_n.data"
|
2023-11-19 08:47:08 +08:00
|
|
|
#include "assets/dark/inc/images/uiex_big_logo.data"
|
2023-11-24 18:39:09 +08:00
|
|
|
#include "assets/dark/inc/images/uiex_num9.data"
|
|
|
|
#include "assets/dark/inc/images/uiex_num8.data"
|
|
|
|
#include "assets/dark/inc/images/uiex_battery_3.data"
|
|
|
|
#include "assets/dark/inc/images/uiex_combobox_btn_n.data"
|
2021-09-06 10:50:43 +08:00
|
|
|
#include "assets/dark/inc/images/uiex_button_Import.data"
|
2023-11-24 18:39:09 +08:00
|
|
|
#include "assets/dark/inc/images/uiex_num4.data"
|
2023-11-19 08:47:08 +08:00
|
|
|
#include "assets/dark/inc/images/uiex_check_n.data"
|
2023-11-24 18:39:09 +08:00
|
|
|
#include "assets/dark/inc/images/uiex_radio_checked_d.data"
|
|
|
|
#include "assets/dark/inc/images/uiex_editor_TextAlignBoth.data"
|
|
|
|
#include "assets/dark/inc/images/uiex_numdot.data"
|
|
|
|
#include "assets/dark/inc/images/uiex_close_p.data"
|
|
|
|
#include "assets/dark/inc/images/uiex_editor_TextCenteralignment.data"
|
|
|
|
#include "assets/dark/inc/images/uiex_check_checked_d.data"
|
|
|
|
#include "assets/dark/inc/images/uiex_battery_4.data"
|
2021-09-06 10:50:43 +08:00
|
|
|
#include "assets/dark/inc/images/uiex_check_p.data"
|
|
|
|
#include "assets/dark/inc/images/uiex_clock_Hourhand.data"
|
2023-11-24 18:39:09 +08:00
|
|
|
#include "assets/dark/inc/images/uiex_button_Export.data"
|
|
|
|
#include "assets/dark/inc/images/uiex_editor_TextAlignright.data"
|
2021-09-06 10:50:43 +08:00
|
|
|
#include "assets/dark/inc/images/uiex_close_n.data"
|
2023-11-24 18:39:09 +08:00
|
|
|
#include "assets/dark/inc/images/uiex_texteditor_show.data"
|
|
|
|
#include "assets/dark/inc/images/uiex_button_search.data"
|
|
|
|
#include "assets/dark/inc/images/uiex_num3.data"
|
2023-11-19 08:47:08 +08:00
|
|
|
#include "assets/dark/inc/images/uiex_combobox_btn_p.data"
|
|
|
|
#include "assets/dark/inc/images/uiex_num2.data"
|
2023-11-24 18:39:09 +08:00
|
|
|
#include "assets/dark/inc/images/uiex_arrow_up_p.data"
|
2023-11-19 08:47:08 +08:00
|
|
|
#include "assets/dark/inc/images/uiex_RecordForm_bg.data"
|
2023-11-24 18:39:09 +08:00
|
|
|
#include "assets/dark/inc/images/uiex_combobox_btn_d.data"
|
|
|
|
#include "assets/dark/inc/images/uiex_editor_TextBold.data"
|
|
|
|
#include "assets/dark/inc/images/uiex_button_Empty.data"
|
|
|
|
#include "assets/dark/inc/images/uiex_check_checked_p.data"
|
|
|
|
#include "assets/dark/inc/images/uiex_check_d.data"
|
|
|
|
#include "assets/dark/inc/images/uiex_radio_checked_n.data"
|
|
|
|
#include "assets/dark/inc/images/uiex_battery_5.data"
|
|
|
|
#include "assets/dark/inc/images/uiex_List_Nextpage_p.data"
|
|
|
|
#include "assets/dark/inc/images/uiex_editor_Importpictures.data"
|
|
|
|
#include "assets/default/inc/images/uiex_send_sel.data"
|
2023-11-19 08:47:08 +08:00
|
|
|
#include "assets/default/inc/images/bg3.data"
|
2023-11-24 18:39:09 +08:00
|
|
|
#include "assets/default/inc/images/ani3.data"
|
|
|
|
#include "assets/default/inc/images/debug_step_over_n.data"
|
|
|
|
#include "assets/default/inc/images/uiex_Windowclosed_p.data"
|
|
|
|
#include "assets/default/inc/images/repeat3.data"
|
2023-11-19 08:47:08 +08:00
|
|
|
#include "assets/default/inc/images/bg5_s.data"
|
|
|
|
#include "assets/default/inc/images/debug_step_into_d.data"
|
2023-11-24 18:39:09 +08:00
|
|
|
#include "assets/default/inc/images/logo_dynamic.data"
|
|
|
|
#include "assets/default/inc/images/app5.data"
|
|
|
|
#include "assets/default/inc/images/debug_restart_n.data"
|
2023-11-19 08:47:08 +08:00
|
|
|
#include "assets/default/inc/images/debug_stop_n.data"
|
2023-11-24 18:39:09 +08:00
|
|
|
#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"
|
2023-11-19 08:47:08 +08:00
|
|
|
#include "assets/default/inc/images/debug_stop_o.data"
|
2023-11-24 18:39:09 +08:00
|
|
|
#include "assets/default/inc/images/debug_restart_o.data"
|
|
|
|
#include "assets/default/inc/images/app4.data"
|
2023-11-19 08:47:08 +08:00
|
|
|
#include "assets/default/inc/images/uiex_Information_avatar.data"
|
2023-11-24 18:39:09 +08:00
|
|
|
#include "assets/default/inc/images/uiex_takeover_nor.data"
|
|
|
|
#include "assets/default/inc/images/repeat2.data"
|
2023-11-19 08:47:08 +08:00
|
|
|
#include "assets/default/inc/images/uiex_load1_loading.data"
|
2023-11-24 18:39:09 +08:00
|
|
|
#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_List_Connectandshare.data"
|
|
|
|
#include "assets/default/inc/images/uiex_list_Battery.data"
|
2023-11-19 08:47:08 +08:00
|
|
|
#include "assets/default/inc/images/uiex_loading_repeat_bg.data"
|
2023-11-24 18:39:09 +08:00
|
|
|
#include "assets/default/inc/images/app3.data"
|
|
|
|
#include "assets/default/inc/images/uiex_Information_chat_bg.data"
|
|
|
|
#include "assets/default/inc/images/ani9.data"
|
|
|
|
#include "assets/default/inc/images/bg3_s.data"
|
2023-11-19 08:47:08 +08:00
|
|
|
#include "assets/default/inc/images/uiex_send_nor.data"
|
2023-11-24 18:39:09 +08:00
|
|
|
#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/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/debug_step_into_o.data"
|
|
|
|
#include "assets/default/inc/images/ani8.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"
|
2023-11-19 08:47:08 +08:00
|
|
|
#include "assets/default/inc/images/uiex_takeover_sel.data"
|
2023-11-24 18:39:09 +08:00
|
|
|
#include "assets/default/inc/images/bg1_s.data"
|
|
|
|
#include "assets/default/inc/images/uiex_List_show.data"
|
|
|
|
#include "assets/default/inc/images/repeat4.data"
|
|
|
|
#include "assets/default/inc/images/debug_step_return_n.data"
|
|
|
|
#include "assets/default/inc/images/app1.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/debug_start_o.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_List_privacyprotection.data"
|
|
|
|
#include "assets/default/inc/images/uiex_Coverwindow.data"
|
|
|
|
#include "assets/default/inc/images/debug_start_n.data"
|
|
|
|
#include "assets/default/inc/images/debug_pause_n.data"
|
|
|
|
#include "assets/default/inc/images/ani6.data"
|
2023-11-19 08:47:08 +08:00
|
|
|
#include "assets/default/inc/images/uiex_Universal_nor.data"
|
2023-11-24 18:39:09 +08:00
|
|
|
#include "assets/default/inc/images/debug_step_return_o.data"
|
|
|
|
#include "assets/default/inc/images/uiex_Boot_loading.data"
|
|
|
|
#include "assets/default/inc/images/ani1.data"
|
|
|
|
#include "assets/default/inc/images/bg1.data"
|
|
|
|
#include "assets/default/inc/images/debug_step_return_d.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_List_password.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"
|
2023-11-19 08:47:08 +08:00
|
|
|
#include "assets/default/inc/images/uiex_Universal_sel.data"
|
2023-11-24 18:39:09 +08:00
|
|
|
#include "assets/default/inc/images/debug_start_d.data"
|
|
|
|
#include "assets/default/inc/images/gauge_pointer.data"
|
|
|
|
#include "assets/default/inc/images/debug_pause_d.data"
|
|
|
|
#include "assets/default/inc/images/uiex_Sliding_Square.data"
|
|
|
|
#include "assets/default/inc/images/uiex_List_Moresettings.data"
|
|
|
|
#include "assets/default/inc/images/uiex_Sliding_dot.data"
|
|
|
|
#include "assets/default/inc/images/uiex_check.data"
|
2021-02-25 18:14:45 +08:00
|
|
|
#endif /*WITH_STB_IMAGE*/
|
|
|
|
#ifdef WITH_TRUETYPE_FONT
|
|
|
|
#else /*WITH_TRUETYPE_FONT*/
|
|
|
|
#endif /*WITH_TRUETYPE_FONT*/
|
2022-06-23 17:36:08 +08:00
|
|
|
#endif /*AWTK_WEB*/
|
|
|
|
#ifdef WITH_VGCANVAS
|
2023-12-07 18:39:38 +08:00
|
|
|
#include "assets/dark/inc/images/computer.bsvg"
|
|
|
|
#include "assets/default/inc/images/gradient.bsvg"
|
|
|
|
#include "assets/default/inc/images/windmill.bsvg"
|
2022-06-23 17:36:08 +08:00
|
|
|
#endif /*WITH_VGCANVAS*/
|
|
|
|
#endif /*!defined(WITH_FS_RES) || defined(AWTK_WEB)*/
|
2021-02-25 18:14:45 +08:00
|
|
|
|
|
|
|
ret_t assets_init(void) {
|
|
|
|
assets_manager_t* am = assets_manager();
|
|
|
|
assets_manager_set_theme(am, "dark");
|
|
|
|
|
2022-06-23 17:36:08 +08:00
|
|
|
#if defined(WITH_FS_RES) && !defined(AWTK_WEB)
|
2021-02-25 18:14:45 +08:00
|
|
|
assets_manager_preload(am, ASSET_TYPE_STYLE, "default");
|
2022-06-23 17:36:08 +08:00
|
|
|
#else /*defined(WITH_FS_RES) && !defined(AWTK_WEB)*/
|
2023-11-13 18:25:24 +08:00
|
|
|
assets_manager_add(am, strings_en_US_default);
|
2023-12-07 18:39:38 +08:00
|
|
|
assets_manager_add(am, style_uiex_keyboard_dark);
|
|
|
|
assets_manager_add(am, style_uiex_dark);
|
|
|
|
assets_manager_add(am, style_uiex_dialog_confirm_dark);
|
2023-11-19 08:47:08 +08:00
|
|
|
assets_manager_add(am, style_dialog_toast_default);
|
2023-11-24 18:39:09 +08:00
|
|
|
assets_manager_add(am, style_default_default);
|
2023-11-13 18:25:24 +08:00
|
|
|
assets_manager_add(am, ui_kb_ascii_default_uiex);
|
2023-11-24 18:39:09 +08:00
|
|
|
assets_manager_add(am, ui_page_list_view_default_uiex);
|
2023-11-13 18:25:24 +08:00
|
|
|
assets_manager_add(am, ui_kb_foo_default_uiex);
|
2023-11-24 18:39:09 +08:00
|
|
|
assets_manager_add(am, ui_page_slide_view_default_uiex);
|
|
|
|
assets_manager_add(am, ui_preload_default_uiex);
|
|
|
|
assets_manager_add(am, ui_page_window_default_uiex);
|
|
|
|
assets_manager_add(am, ui_page_color_default_uiex);
|
|
|
|
assets_manager_add(am, ui_page_edit_default_uiex);
|
2023-11-19 08:47:08 +08:00
|
|
|
assets_manager_add(am, ui_kb_int_default_uiex);
|
2023-11-24 18:39:09 +08:00
|
|
|
assets_manager_add(am, ui_kb_hex_default_uiex);
|
|
|
|
assets_manager_add(am, ui_page_date_time_default_uiex);
|
|
|
|
assets_manager_add(am, ui_sysbar_portrait_default_uiex);
|
2023-11-13 18:25:24 +08:00
|
|
|
assets_manager_add(am, ui_page_animate_default_uiex);
|
2023-11-24 18:39:09 +08:00
|
|
|
assets_manager_add(am, ui_page_layout_default_uiex);
|
2023-11-13 18:25:24 +08:00
|
|
|
assets_manager_add(am, ui_page_chart_default_uiex);
|
|
|
|
assets_manager_add(am, ui_page_checkbox_default_uiex);
|
2023-11-24 18:39:09 +08:00
|
|
|
assets_manager_add(am, ui_sysbar_landscape_default_uiex);
|
|
|
|
assets_manager_add(am, ui_page_button_default_uiex);
|
2023-11-13 18:25:24 +08:00
|
|
|
assets_manager_add(am, ui_page_progress_default_uiex);
|
2023-11-24 18:39:09 +08:00
|
|
|
assets_manager_add(am, ui_dlg_center_scale_default_uiex);
|
|
|
|
assets_manager_add(am, ui_htranslate_default_uiex);
|
|
|
|
assets_manager_add(am, ui_overlay_default_uiex);
|
|
|
|
assets_manager_add(am, ui_slide_down_default_uiex);
|
|
|
|
assets_manager_add(am, ui_slide_right_default_uiex);
|
2023-11-13 18:25:24 +08:00
|
|
|
assets_manager_add(am, ui_page_selector_default_uiex);
|
2023-11-24 18:39:09 +08:00
|
|
|
assets_manager_add(am, ui_dlg_popup_default_uiex);
|
|
|
|
assets_manager_add(am, ui_dlg_fade_default_uiex);
|
|
|
|
assets_manager_add(am, ui_dlg_popdown_default_uiex);
|
2023-11-13 18:25:24 +08:00
|
|
|
assets_manager_add(am, ui_page_slider_default_uiex);
|
2023-11-24 18:39:09 +08:00
|
|
|
assets_manager_add(am, ui_menu_portrait_default_uiex);
|
|
|
|
assets_manager_add(am, ui_page_mledit_default_uiex);
|
|
|
|
assets_manager_add(am, ui_page_image_default_uiex);
|
2023-11-19 08:47:08 +08:00
|
|
|
assets_manager_add(am, ui_slide_left_default_uiex);
|
2023-11-24 18:39:09 +08:00
|
|
|
assets_manager_add(am, ui_menu_landscape_default_uiex);
|
|
|
|
assets_manager_add(am, ui_page_tab_ctrl_default_uiex);
|
2023-11-19 08:47:08 +08:00
|
|
|
assets_manager_add(am, ui_vtranslate_default_uiex);
|
2023-11-24 18:39:09 +08:00
|
|
|
assets_manager_add(am, ui_kb_default_default_uiex);
|
|
|
|
assets_manager_add(am, ui_slide_up_default_uiex);
|
|
|
|
assets_manager_add(am, ui_menu_bar_default_uiex);
|
|
|
|
assets_manager_add(am, ui_popup_default_uiex);
|
|
|
|
assets_manager_add(am, ui_page_label_default_uiex);
|
|
|
|
assets_manager_add(am, ui_kb_uint_default_uiex);
|
2022-06-23 17:36:08 +08:00
|
|
|
#ifndef AWTK_WEB
|
2021-02-25 18:14:45 +08:00
|
|
|
#ifdef WITH_TRUETYPE_FONT
|
|
|
|
#else /*WITH_TRUETYPE_FONT*/
|
|
|
|
#endif /*WITH_TRUETYPE_FONT*/
|
2022-06-23 17:36:08 +08:00
|
|
|
#endif /*AWTK_WEB*/
|
|
|
|
#ifdef WITH_VGCANVAS
|
2023-12-07 18:39:38 +08:00
|
|
|
assets_manager_add(am, image_computer_dark);
|
|
|
|
assets_manager_add(am, image_gradient_default);
|
|
|
|
assets_manager_add(am, image_windmill_default);
|
2022-06-23 17:36:08 +08:00
|
|
|
#endif /*WITH_VGCANVAS*/
|
|
|
|
#endif /*defined(WITH_FS_RES) && !defined(AWTK_WEB)*/
|
2021-02-25 18:14:45 +08:00
|
|
|
|
|
|
|
tk_init_assets();
|
|
|
|
return RET_OK;
|
|
|
|
}
|