awtk/res/assets_dark.inc
2023-12-07 18:39:38 +08:00

303 lines
15 KiB
C++

#include "awtk.h"
#include "base/assets_manager.h"
#if !defined(WITH_FS_RES) || defined(AWTK_WEB)
#include "assets/default/inc/strings/en_US.data"
#include "assets/dark/inc/styles/uiex_keyboard.data"
#include "assets/dark/inc/styles/uiex.data"
#include "assets/dark/inc/styles/uiex_dialog_confirm.data"
#include "assets/default/inc/styles/dialog_toast.data"
#include "assets/default/inc/styles/default.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/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/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/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/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"
#ifndef AWTK_WEB
#ifdef WITH_STB_IMAGE
#else /*WITH_STB_IMAGE*/
#include "assets/dark/inc/images/uiex_keyboard_CN.data"
#include "assets/dark/inc/images/uiex_arrow_left_n.data"
#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"
#include "assets/dark/inc/images/uiex_arrow_right_n.data"
#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"
#include "assets/dark/inc/images/uiex_arrow_right_p.data"
#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"
#include "assets/dark/inc/images/uiex_battery_0.data"
#include "assets/dark/inc/images/uiex_editor_TextUnderscore.data"
#include "assets/dark/inc/images/uiex_battery_1.data"
#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"
#include "assets/dark/inc/images/uiex_battery_2.data"
#include "assets/dark/inc/images/uiex_arrow_up_n.data"
#include "assets/dark/inc/images/uiex_big_logo.data"
#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"
#include "assets/dark/inc/images/uiex_button_Import.data"
#include "assets/dark/inc/images/uiex_num4.data"
#include "assets/dark/inc/images/uiex_check_n.data"
#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"
#include "assets/dark/inc/images/uiex_check_p.data"
#include "assets/dark/inc/images/uiex_clock_Hourhand.data"
#include "assets/dark/inc/images/uiex_button_Export.data"
#include "assets/dark/inc/images/uiex_editor_TextAlignright.data"
#include "assets/dark/inc/images/uiex_close_n.data"
#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"
#include "assets/dark/inc/images/uiex_combobox_btn_p.data"
#include "assets/dark/inc/images/uiex_num2.data"
#include "assets/dark/inc/images/uiex_arrow_up_p.data"
#include "assets/dark/inc/images/uiex_RecordForm_bg.data"
#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"
#include "assets/default/inc/images/bg3.data"
#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"
#include "assets/default/inc/images/bg5_s.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/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/debug_restart_o.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/repeat2.data"
#include "assets/default/inc/images/uiex_load1_loading.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_List_Connectandshare.data"
#include "assets/default/inc/images/uiex_list_Battery.data"
#include "assets/default/inc/images/uiex_loading_repeat_bg.data"
#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"
#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/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"
#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/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"
#include "assets/default/inc/images/uiex_Universal_nor.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/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"
#include "assets/default/inc/images/uiex_Universal_sel.data"
#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"
#endif /*WITH_STB_IMAGE*/
#ifdef WITH_TRUETYPE_FONT
#else /*WITH_TRUETYPE_FONT*/
#endif /*WITH_TRUETYPE_FONT*/
#endif /*AWTK_WEB*/
#ifdef WITH_VGCANVAS
#include "assets/dark/inc/images/computer.bsvg"
#include "assets/default/inc/images/gradient.bsvg"
#include "assets/default/inc/images/windmill.bsvg"
#endif /*WITH_VGCANVAS*/
#endif /*!defined(WITH_FS_RES) || defined(AWTK_WEB)*/
ret_t assets_init(void) {
assets_manager_t* am = assets_manager();
assets_manager_set_theme(am, "dark");
#if defined(WITH_FS_RES) && !defined(AWTK_WEB)
assets_manager_preload(am, ASSET_TYPE_STYLE, "default");
#else /*defined(WITH_FS_RES) && !defined(AWTK_WEB)*/
assets_manager_add(am, strings_en_US_default);
assets_manager_add(am, style_uiex_keyboard_dark);
assets_manager_add(am, style_uiex_dark);
assets_manager_add(am, style_uiex_dialog_confirm_dark);
assets_manager_add(am, style_dialog_toast_default);
assets_manager_add(am, style_default_default);
assets_manager_add(am, ui_kb_ascii_default_uiex);
assets_manager_add(am, ui_page_list_view_default_uiex);
assets_manager_add(am, ui_kb_foo_default_uiex);
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);
assets_manager_add(am, ui_kb_int_default_uiex);
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);
assets_manager_add(am, ui_page_animate_default_uiex);
assets_manager_add(am, ui_page_layout_default_uiex);
assets_manager_add(am, ui_page_chart_default_uiex);
assets_manager_add(am, ui_page_checkbox_default_uiex);
assets_manager_add(am, ui_sysbar_landscape_default_uiex);
assets_manager_add(am, ui_page_button_default_uiex);
assets_manager_add(am, ui_page_progress_default_uiex);
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);
assets_manager_add(am, ui_page_selector_default_uiex);
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);
assets_manager_add(am, ui_page_slider_default_uiex);
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);
assets_manager_add(am, ui_slide_left_default_uiex);
assets_manager_add(am, ui_menu_landscape_default_uiex);
assets_manager_add(am, ui_page_tab_ctrl_default_uiex);
assets_manager_add(am, ui_vtranslate_default_uiex);
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);
#ifndef AWTK_WEB
#ifdef WITH_TRUETYPE_FONT
#else /*WITH_TRUETYPE_FONT*/
#endif /*WITH_TRUETYPE_FONT*/
#endif /*AWTK_WEB*/
#ifdef WITH_VGCANVAS
assets_manager_add(am, image_computer_dark);
assets_manager_add(am, image_gradient_default);
assets_manager_add(am, image_windmill_default);
#endif /*WITH_VGCANVAS*/
#endif /*defined(WITH_FS_RES) && !defined(AWTK_WEB)*/
tk_init_assets();
return RET_OK;
}