awtk/res/assets_default.inc

649 lines
28 KiB
PHP
Raw Normal View History

2020-08-16 08:25:51 +08:00
#include "awtk.h"
#include "base/assets_manager.h"
#ifndef WITH_FS_RES
2020-09-02 07:40:13 +08:00
#include "assets/default/inc/strings/en_US.data"
2020-09-11 22:49:51 +08:00
#include "assets/default/inc/strings/zh_CN.data"
#include "assets/default/inc/styles/big_font.data"
#include "assets/default/inc/styles/button.data"
2020-09-02 07:40:13 +08:00
#include "assets/default/inc/styles/calibration.data"
2020-09-11 22:49:51 +08:00
#include "assets/default/inc/styles/color.data"
2020-09-02 07:40:13 +08:00
#include "assets/default/inc/styles/default.data"
2020-09-11 22:49:51 +08:00
#include "assets/default/inc/styles/dialog.data"
#include "assets/default/inc/styles/dialog_confirm.data"
2020-09-02 07:40:13 +08:00
#include "assets/default/inc/styles/dialog_info.data"
2020-09-11 22:49:51 +08:00
#include "assets/default/inc/styles/dialog_toast.data"
#include "assets/default/inc/styles/dialog_warn.data"
#include "assets/default/inc/styles/digit_clock.data"
#include "assets/default/inc/styles/edit.data"
2020-09-02 07:40:13 +08:00
#include "assets/default/inc/styles/file_browser.data"
2020-09-11 22:49:51 +08:00
#include "assets/default/inc/styles/guage.data"
#include "assets/default/inc/styles/image_packed.data"
#include "assets/default/inc/styles/keyboard.data"
#include "assets/default/inc/styles/list_view_dynamic.data"
#include "assets/default/inc/styles/slide_menu.data"
2020-09-02 07:40:13 +08:00
#include "assets/default/inc/styles/system_bar.data"
2020-09-11 22:49:51 +08:00
#include "assets/default/inc/styles/system_bar_bottom.data"
#include "assets/default/inc/styles/tab_bottom.data"
2020-09-02 07:40:13 +08:00
#include "assets/default/inc/styles/tab_bottom_compact.data"
2020-09-11 22:49:51 +08:00
#include "assets/default/inc/styles/tab_list.data"
#include "assets/default/inc/styles/tab_top.data"
#include "assets/default/inc/styles/tab_top_compact.data"
#include "assets/default/inc/ui/animation.data"
#include "assets/default/inc/ui/animator.data"
#include "assets/default/inc/ui/auto_play.data"
2020-08-16 08:25:51 +08:00
#include "assets/default/inc/ui/auto_play_landscape.data"
2020-09-11 22:49:51 +08:00
#include "assets/default/inc/ui/auto_play_portrait.data"
#include "assets/default/inc/ui/back_to_home.data"
#include "assets/default/inc/ui/basic.data"
2020-09-02 07:40:13 +08:00
#include "assets/default/inc/ui/bidi.data"
2020-09-11 22:49:51 +08:00
#include "assets/default/inc/ui/big_font.data"
#include "assets/default/inc/ui/button.data"
#include "assets/default/inc/ui/calibration_win.data"
#include "assets/default/inc/ui/color.data"
#include "assets/default/inc/ui/color_picker.data"
#include "assets/default/inc/ui/color_picker_full.data"
#include "assets/default/inc/ui/color_picker_hsv.data"
#include "assets/default/inc/ui/color_picker_rgb.data"
#include "assets/default/inc/ui/color_picker_simple.data"
2020-08-16 08:25:51 +08:00
#include "assets/default/inc/ui/combo_box.data"
2020-09-11 22:49:51 +08:00
#include "assets/default/inc/ui/dialog1.data"
#include "assets/default/inc/ui/dialog2.data"
#include "assets/default/inc/ui/dialogs.data"
2020-08-16 08:25:51 +08:00
#include "assets/default/inc/ui/digit_clock.data"
2020-09-11 22:49:51 +08:00
#include "assets/default/inc/ui/draggable.data"
#include "assets/default/inc/ui/dragger.data"
2020-09-02 07:40:13 +08:00
#include "assets/default/inc/ui/edit.data"
2020-09-11 22:49:51 +08:00
#include "assets/default/inc/ui/fade.data"
#include "assets/default/inc/ui/file_browser.data"
#include "assets/default/inc/ui/file_chooser_for_open.data"
#include "assets/default/inc/ui/file_chooser_for_save.data"
#include "assets/default/inc/ui/folder_chooser.data"
#include "assets/default/inc/ui/gif_image.data"
#include "assets/default/inc/ui/guage.data"
#include "assets/default/inc/ui/hscroll_label.data"
#include "assets/default/inc/ui/htranslate.data"
#include "assets/default/inc/ui/images.data"
#include "assets/default/inc/ui/image_animation.data"
#include "assets/default/inc/ui/image_list.data"
#include "assets/default/inc/ui/image_packed.data"
#include "assets/default/inc/ui/image_value.data"
#include "assets/default/inc/ui/kb_ascii.data"
2020-08-16 08:25:51 +08:00
#include "assets/default/inc/ui/kb_ascii_t9.data"
2020-09-11 22:49:51 +08:00
#include "assets/default/inc/ui/kb_default.data"
2020-08-16 08:25:51 +08:00
#include "assets/default/inc/ui/kb_default_t9.data"
2020-09-11 22:49:51 +08:00
#include "assets/default/inc/ui/kb_default_t9ext.data"
#include "assets/default/inc/ui/kb_float.data"
#include "assets/default/inc/ui/kb_foo.data"
#include "assets/default/inc/ui/kb_hex.data"
2020-08-16 08:25:51 +08:00
#include "assets/default/inc/ui/kb_int.data"
2020-09-11 22:49:51 +08:00
#include "assets/default/inc/ui/kb_phone.data"
#include "assets/default/inc/ui/kb_ufloat.data"
#include "assets/default/inc/ui/kb_uint.data"
2020-08-16 08:25:51 +08:00
#include "assets/default/inc/ui/keyboard.data"
2020-09-11 22:49:51 +08:00
#include "assets/default/inc/ui/label.data"
2020-09-02 07:40:13 +08:00
#include "assets/default/inc/ui/language.data"
2020-09-11 22:49:51 +08:00
#include "assets/default/inc/ui/linear_gradient.data"
#include "assets/default/inc/ui/list_view.data"
#include "assets/default/inc/ui/list_view_d.data"
2020-09-02 07:40:13 +08:00
#include "assets/default/inc/ui/list_view_dynamic.data"
2020-09-11 22:49:51 +08:00
#include "assets/default/inc/ui/list_view_h.data"
#include "assets/default/inc/ui/list_view_m.data"
#include "assets/default/inc/ui/list_view_vh.data"
#include "assets/default/inc/ui/locale.data"
#include "assets/default/inc/ui/lua.data"
#include "assets/default/inc/ui/main.data"
#include "assets/default/inc/ui/memtest.data"
#include "assets/default/inc/ui/menu.data"
2020-09-02 07:40:13 +08:00
#include "assets/default/inc/ui/menu_down_center.data"
2020-09-11 22:49:51 +08:00
#include "assets/default/inc/ui/menu_down_left.data"
#include "assets/default/inc/ui/menu_down_right.data"
#include "assets/default/inc/ui/menu_left_bottom.data"
2020-08-16 08:25:51 +08:00
#include "assets/default/inc/ui/menu_left_middle.data"
2020-09-11 22:49:51 +08:00
#include "assets/default/inc/ui/menu_left_top.data"
#include "assets/default/inc/ui/menu_point.data"
#include "assets/default/inc/ui/menu_right_bottom.data"
#include "assets/default/inc/ui/menu_right_middle.data"
2020-08-16 08:25:51 +08:00
#include "assets/default/inc/ui/menu_right_top.data"
2020-09-11 22:49:51 +08:00
#include "assets/default/inc/ui/menu_up_center.data"
#include "assets/default/inc/ui/menu_up_left.data"
#include "assets/default/inc/ui/menu_up_right.data"
#include "assets/default/inc/ui/mledit.data"
2020-08-16 08:25:51 +08:00
#include "assets/default/inc/ui/mono_test.data"
2020-09-11 22:49:51 +08:00
#include "assets/default/inc/ui/mutable_image.data"
#include "assets/default/inc/ui/overlay.data"
#include "assets/default/inc/ui/popdown.data"
#include "assets/default/inc/ui/popup.data"
#include "assets/default/inc/ui/preload.data"
#include "assets/default/inc/ui/progress_circle.data"
#include "assets/default/inc/ui/radial_gradient.data"
#include "assets/default/inc/ui/rich_text.data"
#include "assets/default/inc/ui/rich_text1.data"
#include "assets/default/inc/ui/rich_text2.data"
#include "assets/default/inc/ui/rich_text_view.data"
#include "assets/default/inc/ui/scroll_bar.data"
#include "assets/default/inc/ui/scroll_bar_h.data"
#include "assets/default/inc/ui/scroll_view.data"
#include "assets/default/inc/ui/scroll_view_h.data"
#include "assets/default/inc/ui/scroll_view_v.data"
2020-08-16 08:25:51 +08:00
#include "assets/default/inc/ui/select1.data"
2020-09-11 22:49:51 +08:00
#include "assets/default/inc/ui/selectm.data"
#include "assets/default/inc/ui/slide_down.data"
2020-08-16 08:25:51 +08:00
#include "assets/default/inc/ui/slide_left.data"
2020-09-11 22:49:51 +08:00
#include "assets/default/inc/ui/slide_menu.data"
#include "assets/default/inc/ui/slide_right.data"
#include "assets/default/inc/ui/slide_up.data"
2020-08-16 08:25:51 +08:00
#include "assets/default/inc/ui/slide_view.data"
2020-09-11 22:49:51 +08:00
#include "assets/default/inc/ui/slide_view_h.data"
#include "assets/default/inc/ui/slide_view_h1.data"
#include "assets/default/inc/ui/slide_view_h2.data"
#include "assets/default/inc/ui/slide_view_h_loop.data"
2020-08-16 08:25:51 +08:00
#include "assets/default/inc/ui/slide_view_v.data"
2020-09-11 22:49:51 +08:00
#include "assets/default/inc/ui/slide_view_v1.data"
#include "assets/default/inc/ui/slide_view_v2.data"
#include "assets/default/inc/ui/slide_view_v_loop.data"
#include "assets/default/inc/ui/soft_keyboard.data"
#include "assets/default/inc/ui/spinbox.data"
#include "assets/default/inc/ui/stroke_gradient.data"
#include "assets/default/inc/ui/svg_image.data"
#include "assets/default/inc/ui/switch.data"
2020-08-16 08:25:51 +08:00
#include "assets/default/inc/ui/system_bar.data"
2020-09-11 22:49:51 +08:00
#include "assets/default/inc/ui/system_bar_bottom.data"
#include "assets/default/inc/ui/tab_bottom.data"
2020-09-02 07:40:13 +08:00
#include "assets/default/inc/ui/tab_bottom_compact.data"
2020-09-11 22:49:51 +08:00
#include "assets/default/inc/ui/tab_button_view_page1.data"
#include "assets/default/inc/ui/tab_button_view_page2.data"
#include "assets/default/inc/ui/tab_control.data"
#include "assets/default/inc/ui/tab_dynamic_list.data"
#include "assets/default/inc/ui/tab_list.data"
#include "assets/default/inc/ui/tab_scrollable.data"
#include "assets/default/inc/ui/tab_top.data"
#include "assets/default/inc/ui/tab_top_compact.data"
#include "assets/default/inc/ui/test_view.data"
#include "assets/default/inc/ui/text_selector.data"
#include "assets/default/inc/ui/time_clock.data"
#include "assets/default/inc/ui/vgcanvas.data"
#include "assets/default/inc/ui/vtranslate.data"
2020-08-23 18:22:41 +08:00
#include "assets/default/inc/xml/test.data"
2020-09-11 22:49:51 +08:00
#include "assets/default/inc/data/a_b_c_any.data"
2020-08-23 18:22:41 +08:00
#include "assets/default/inc/data/com_zlg_app_json.data"
#include "assets/default/inc/data/gpinyin_dat.data"
2020-09-02 07:40:13 +08:00
#include "assets/default/inc/data/suggest_words_zh_cn_dat.data"
2020-09-11 22:49:51 +08:00
#include "assets/default/inc/data/test_dat.data"
2020-08-23 18:22:41 +08:00
#include "assets/default/inc/data/test_json.data"
2020-08-16 08:25:51 +08:00
#ifdef WITH_STB_IMAGE
2020-09-11 22:49:51 +08:00
#include "assets/default/inc/images/1.res"
#include "assets/default/inc/images/2.res"
#include "assets/default/inc/images/3.res"
#include "assets/default/inc/images/active_dot.res"
#include "assets/default/inc/images/ani1.res"
#include "assets/default/inc/images/ani2.res"
#include "assets/default/inc/images/ani3.res"
#include "assets/default/inc/images/ani4.res"
#include "assets/default/inc/images/ani5.res"
2020-08-16 08:25:51 +08:00
#include "assets/default/inc/images/ani6.res"
2020-08-16 08:50:11 +08:00
#include "assets/default/inc/images/ani7.res"
2020-09-11 22:49:51 +08:00
#include "assets/default/inc/images/ani8.res"
#include "assets/default/inc/images/ani9.res"
2020-08-16 08:50:11 +08:00
#include "assets/default/inc/images/ania.res"
2020-09-11 22:49:51 +08:00
#include "assets/default/inc/images/anib.res"
2020-08-16 08:50:11 +08:00
#include "assets/default/inc/images/anic.res"
2020-09-11 22:49:51 +08:00
#include "assets/default/inc/images/arrow_down_n.res"
#include "assets/default/inc/images/arrow_down_o.res"
#include "assets/default/inc/images/arrow_down_p.res"
#include "assets/default/inc/images/arrow_left_n.res"
#include "assets/default/inc/images/arrow_left_o.res"
#include "assets/default/inc/images/arrow_left_p.res"
#include "assets/default/inc/images/arrow_right_n.res"
#include "assets/default/inc/images/arrow_right_o.res"
#include "assets/default/inc/images/arrow_right_p.res"
#include "assets/default/inc/images/arrow_up_n.res"
#include "assets/default/inc/images/arrow_up_o.res"
#include "assets/default/inc/images/arrow_up_p.res"
#include "assets/default/inc/images/backspace.res"
#include "assets/default/inc/images/battery_0.res"
#include "assets/default/inc/images/battery_1.res"
#include "assets/default/inc/images/battery_2.res"
#include "assets/default/inc/images/battery_3.res"
2020-09-02 07:40:13 +08:00
#include "assets/default/inc/images/battery_4.res"
#include "assets/default/inc/images/battery_5.res"
2020-09-11 22:49:51 +08:00
#include "assets/default/inc/images/bee.res"
#include "assets/default/inc/images/bricks.res"
#include "assets/default/inc/images/check.res"
#include "assets/default/inc/images/checked.res"
#include "assets/default/inc/images/clock.res"
#include "assets/default/inc/images/clock_bg.res"
#include "assets/default/inc/images/clock_hour.res"
#include "assets/default/inc/images/clock_minute.res"
#include "assets/default/inc/images/clock_second.res"
#include "assets/default/inc/images/close_d.res"
#include "assets/default/inc/images/close_n.res"
#include "assets/default/inc/images/close_o.res"
#include "assets/default/inc/images/close_p.res"
#include "assets/default/inc/images/contact.res"
#include "assets/default/inc/images/contact_active.res"
#include "assets/default/inc/images/cross.res"
#include "assets/default/inc/images/cursor.res"
2020-09-02 07:40:13 +08:00
#include "assets/default/inc/images/cursor_hand.res"
2020-09-11 22:49:51 +08:00
#include "assets/default/inc/images/cursor_text.res"
#include "assets/default/inc/images/dialog_title.res"
#include "assets/default/inc/images/discovery.res"
#include "assets/default/inc/images/discovery_active.res"
#include "assets/default/inc/images/dot.res"
#include "assets/default/inc/images/earth.res"
#include "assets/default/inc/images/edit_clear_n.res"
#include "assets/default/inc/images/edit_clear_o.res"
2020-09-02 07:40:13 +08:00
#include "assets/default/inc/images/edit_clear_p.res"
2020-09-11 22:49:51 +08:00
#include "assets/default/inc/images/empty.res"
2020-09-02 07:40:13 +08:00
#include "assets/default/inc/images/en.res"
2020-09-11 22:49:51 +08:00
#include "assets/default/inc/images/file.res"
#include "assets/default/inc/images/find.res"
#include "assets/default/inc/images/flag_CN.res"
#include "assets/default/inc/images/flag_none.res"
#include "assets/default/inc/images/flag_US.res"
#include "assets/default/inc/images/folder.res"
#include "assets/default/inc/images/green_btn_n.res"
#include "assets/default/inc/images/green_btn_o.res"
#include "assets/default/inc/images/green_btn_p.res"
2020-09-02 07:40:13 +08:00
#include "assets/default/inc/images/guage_bg.res"
2020-09-11 22:49:51 +08:00
#include "assets/default/inc/images/guage_pointer.res"
2020-09-11 14:51:38 +08:00
#include "assets/default/inc/images/image_packed_bg.res"
2020-09-11 22:49:51 +08:00
#include "assets/default/inc/images/image_packed_fg.res"
#include "assets/default/inc/images/info.res"
#include "assets/default/inc/images/invisible.res"
#include "assets/default/inc/images/left_off.res"
#include "assets/default/inc/images/left_on.res"
#include "assets/default/inc/images/logo.res"
#include "assets/default/inc/images/me.res"
#include "assets/default/inc/images/message.res"
#include "assets/default/inc/images/me_active.res"
#include "assets/default/inc/images/middle_off.res"
#include "assets/default/inc/images/middle_on.res"
2020-09-02 07:40:13 +08:00
#include "assets/default/inc/images/msg.res"
#include "assets/default/inc/images/msg_active.res"
2020-09-11 22:49:51 +08:00
#include "assets/default/inc/images/muted.res"
#include "assets/default/inc/images/num_0.res"
#include "assets/default/inc/images/num_1.res"
#include "assets/default/inc/images/num_2.res"
#include "assets/default/inc/images/num_3.res"
#include "assets/default/inc/images/num_4.res"
#include "assets/default/inc/images/num_5.res"
#include "assets/default/inc/images/num_6.res"
#include "assets/default/inc/images/num_7.res"
#include "assets/default/inc/images/num_8.res"
#include "assets/default/inc/images/num_9.res"
#include "assets/default/inc/images/num_dot.res"
#include "assets/default/inc/images/play_n.res"
#include "assets/default/inc/images/play_o.res"
#include "assets/default/inc/images/play_p.res"
#include "assets/default/inc/images/progress_circle.res"
2020-09-02 07:40:13 +08:00
#include "assets/default/inc/images/question.res"
2020-09-11 22:49:51 +08:00
#include "assets/default/inc/images/radio_checked.res"
#include "assets/default/inc/images/radio_unchecked.res"
#include "assets/default/inc/images/red_btn_n.res"
#include "assets/default/inc/images/red_btn_o.res"
2020-08-16 08:25:51 +08:00
#include "assets/default/inc/images/red_btn_p.res"
#include "assets/default/inc/images/return_up.res"
#include "assets/default/inc/images/rgb.res"
2020-09-11 22:49:51 +08:00
#include "assets/default/inc/images/rgba.res"
2020-08-16 08:25:51 +08:00
#include "assets/default/inc/images/right_off.res"
2020-09-02 07:40:13 +08:00
#include "assets/default/inc/images/right_on.res"
2020-09-11 22:49:51 +08:00
#include "assets/default/inc/images/shift.res"
#include "assets/default/inc/images/shifton.res"
#include "assets/default/inc/images/slider_bg.res"
2020-08-16 08:25:51 +08:00
#include "assets/default/inc/images/slider_drag.res"
2020-09-11 22:49:51 +08:00
#include "assets/default/inc/images/slider_drag_o.res"
#include "assets/default/inc/images/slider_drag_p.res"
#include "assets/default/inc/images/slider_fg.res"
2020-09-02 07:40:13 +08:00
#include "assets/default/inc/images/slider_v_bg.res"
2020-09-11 22:49:51 +08:00
#include "assets/default/inc/images/slider_v_fg.res"
2020-09-02 07:40:13 +08:00
#include "assets/default/inc/images/switch.res"
2020-09-11 22:49:51 +08:00
#include "assets/default/inc/images/unchecked.res"
#include "assets/default/inc/images/unmuted.res"
#include "assets/default/inc/images/visible.res"
#include "assets/default/inc/images/warn.res"
#include "assets/default/inc/images/zh.res"
2020-08-16 08:25:51 +08:00
#else
#endif /*WITH_STB_IMAGE*/
2020-08-16 08:50:11 +08:00
#ifdef WITH_VGCANVAS
2020-08-20 10:12:44 +08:00
#include "assets/default/inc/images/ball.bsvg"
#include "assets/default/inc/images/china.bsvg"
2020-09-02 07:40:13 +08:00
#include "assets/default/inc/images/girl.bsvg"
2020-09-11 22:49:51 +08:00
#include "assets/default/inc/images/htest.bsvg"
#include "assets/default/inc/images/pointer.bsvg"
#include "assets/default/inc/images/pointer_1.bsvg"
#include "assets/default/inc/images/pointer_4.bsvg"
2020-08-16 08:50:11 +08:00
#endif /*WITH_VGCANVAS*/
2020-08-16 08:51:05 +08:00
#ifdef WITH_TRUETYPE_FONT
2020-09-02 07:40:13 +08:00
#include "assets/default/inc/fonts/default.res"
2020-08-16 08:50:11 +08:00
#else /*WITH_TRUETYPE_FONT*/
#endif /*WITH_TRUETYPE_FONT*/
2020-08-16 08:51:05 +08:00
#include "assets/default/inc/scripts/dummy.res"
2020-08-16 08:50:11 +08:00
#endif /*WITH_FS_RES*/
ret_t assets_init(void) {
assets_manager_t* am = assets_manager();
#ifdef WITH_FS_RES
assets_manager_preload(am, ASSET_TYPE_FONT, "default");
assets_manager_preload(am, ASSET_TYPE_STYLE, "default");
#else
2020-09-02 07:40:13 +08:00
assets_manager_add(am, strings_en_US);
2020-09-11 22:49:51 +08:00
assets_manager_add(am, strings_zh_CN);
assets_manager_add(am, style_big_font);
assets_manager_add(am, style_button);
2020-09-02 07:40:13 +08:00
assets_manager_add(am, style_calibration);
2020-09-11 22:49:51 +08:00
assets_manager_add(am, style_color);
2020-09-02 07:40:13 +08:00
assets_manager_add(am, style_default);
2020-09-11 22:49:51 +08:00
assets_manager_add(am, style_dialog);
assets_manager_add(am, style_dialog_confirm);
2020-09-02 07:40:13 +08:00
assets_manager_add(am, style_dialog_info);
2020-09-11 22:49:51 +08:00
assets_manager_add(am, style_dialog_toast);
assets_manager_add(am, style_dialog_warn);
assets_manager_add(am, style_digit_clock);
assets_manager_add(am, style_edit);
2020-09-02 07:40:13 +08:00
assets_manager_add(am, style_file_browser);
2020-09-11 22:49:51 +08:00
assets_manager_add(am, style_guage);
assets_manager_add(am, style_image_packed);
assets_manager_add(am, style_keyboard);
assets_manager_add(am, style_list_view_dynamic);
assets_manager_add(am, style_slide_menu);
2020-09-02 07:40:13 +08:00
assets_manager_add(am, style_system_bar);
2020-09-11 22:49:51 +08:00
assets_manager_add(am, style_system_bar_bottom);
assets_manager_add(am, style_tab_bottom);
2020-09-02 07:40:13 +08:00
assets_manager_add(am, style_tab_bottom_compact);
2020-09-11 22:49:51 +08:00
assets_manager_add(am, style_tab_list);
assets_manager_add(am, style_tab_top);
assets_manager_add(am, style_tab_top_compact);
assets_manager_add(am, ui_animation);
assets_manager_add(am, ui_animator);
assets_manager_add(am, ui_auto_play);
2020-08-16 08:25:51 +08:00
assets_manager_add(am, ui_auto_play_landscape);
2020-09-11 22:49:51 +08:00
assets_manager_add(am, ui_auto_play_portrait);
assets_manager_add(am, ui_back_to_home);
assets_manager_add(am, ui_basic);
2020-09-02 07:40:13 +08:00
assets_manager_add(am, ui_bidi);
2020-09-11 22:49:51 +08:00
assets_manager_add(am, ui_big_font);
assets_manager_add(am, ui_button);
assets_manager_add(am, ui_calibration_win);
assets_manager_add(am, ui_color);
assets_manager_add(am, ui_color_picker);
assets_manager_add(am, ui_color_picker_full);
assets_manager_add(am, ui_color_picker_hsv);
assets_manager_add(am, ui_color_picker_rgb);
assets_manager_add(am, ui_color_picker_simple);
2020-08-16 08:25:51 +08:00
assets_manager_add(am, ui_combo_box);
2020-09-11 22:49:51 +08:00
assets_manager_add(am, ui_dialog1);
assets_manager_add(am, ui_dialog2);
assets_manager_add(am, ui_dialogs);
2020-08-16 08:25:51 +08:00
assets_manager_add(am, ui_digit_clock);
2020-09-11 22:49:51 +08:00
assets_manager_add(am, ui_draggable);
assets_manager_add(am, ui_dragger);
2020-09-02 07:40:13 +08:00
assets_manager_add(am, ui_edit);
2020-09-11 22:49:51 +08:00
assets_manager_add(am, ui_fade);
assets_manager_add(am, ui_file_browser);
assets_manager_add(am, ui_file_chooser_for_open);
assets_manager_add(am, ui_file_chooser_for_save);
assets_manager_add(am, ui_folder_chooser);
assets_manager_add(am, ui_gif_image);
assets_manager_add(am, ui_guage);
assets_manager_add(am, ui_hscroll_label);
assets_manager_add(am, ui_htranslate);
assets_manager_add(am, ui_images);
assets_manager_add(am, ui_image_animation);
assets_manager_add(am, ui_image_list);
assets_manager_add(am, ui_image_packed);
assets_manager_add(am, ui_image_value);
assets_manager_add(am, ui_kb_ascii);
2020-08-16 08:25:51 +08:00
assets_manager_add(am, ui_kb_ascii_t9);
2020-09-11 22:49:51 +08:00
assets_manager_add(am, ui_kb_default);
2020-08-16 08:25:51 +08:00
assets_manager_add(am, ui_kb_default_t9);
2020-09-11 22:49:51 +08:00
assets_manager_add(am, ui_kb_default_t9ext);
assets_manager_add(am, ui_kb_float);
assets_manager_add(am, ui_kb_foo);
assets_manager_add(am, ui_kb_hex);
2020-08-16 08:25:51 +08:00
assets_manager_add(am, ui_kb_int);
2020-09-11 22:49:51 +08:00
assets_manager_add(am, ui_kb_phone);
assets_manager_add(am, ui_kb_ufloat);
assets_manager_add(am, ui_kb_uint);
2020-08-16 08:25:51 +08:00
assets_manager_add(am, ui_keyboard);
2020-09-11 22:49:51 +08:00
assets_manager_add(am, ui_label);
2020-09-02 07:40:13 +08:00
assets_manager_add(am, ui_language);
2020-09-11 22:49:51 +08:00
assets_manager_add(am, ui_linear_gradient);
assets_manager_add(am, ui_list_view);
assets_manager_add(am, ui_list_view_d);
2020-09-02 07:40:13 +08:00
assets_manager_add(am, ui_list_view_dynamic);
2020-09-11 22:49:51 +08:00
assets_manager_add(am, ui_list_view_h);
assets_manager_add(am, ui_list_view_m);
assets_manager_add(am, ui_list_view_vh);
assets_manager_add(am, ui_locale);
assets_manager_add(am, ui_lua);
assets_manager_add(am, ui_main);
assets_manager_add(am, ui_memtest);
assets_manager_add(am, ui_menu);
2020-09-02 07:40:13 +08:00
assets_manager_add(am, ui_menu_down_center);
2020-09-11 22:49:51 +08:00
assets_manager_add(am, ui_menu_down_left);
assets_manager_add(am, ui_menu_down_right);
assets_manager_add(am, ui_menu_left_bottom);
2020-09-02 07:40:13 +08:00
assets_manager_add(am, ui_menu_left_middle);
2020-09-11 22:49:51 +08:00
assets_manager_add(am, ui_menu_left_top);
assets_manager_add(am, ui_menu_point);
assets_manager_add(am, ui_menu_right_bottom);
assets_manager_add(am, ui_menu_right_middle);
2020-09-02 07:40:13 +08:00
assets_manager_add(am, ui_menu_right_top);
2020-09-11 22:49:51 +08:00
assets_manager_add(am, ui_menu_up_center);
assets_manager_add(am, ui_menu_up_left);
assets_manager_add(am, ui_menu_up_right);
assets_manager_add(am, ui_mledit);
2020-09-02 07:40:13 +08:00
assets_manager_add(am, ui_mono_test);
2020-09-11 22:49:51 +08:00
assets_manager_add(am, ui_mutable_image);
assets_manager_add(am, ui_overlay);
assets_manager_add(am, ui_popdown);
assets_manager_add(am, ui_popup);
assets_manager_add(am, ui_preload);
assets_manager_add(am, ui_progress_circle);
assets_manager_add(am, ui_radial_gradient);
assets_manager_add(am, ui_rich_text);
assets_manager_add(am, ui_rich_text1);
assets_manager_add(am, ui_rich_text2);
assets_manager_add(am, ui_rich_text_view);
assets_manager_add(am, ui_scroll_bar);
assets_manager_add(am, ui_scroll_bar_h);
assets_manager_add(am, ui_scroll_view);
assets_manager_add(am, ui_scroll_view_h);
assets_manager_add(am, ui_scroll_view_v);
2020-09-02 07:40:13 +08:00
assets_manager_add(am, ui_select1);
2020-09-11 22:49:51 +08:00
assets_manager_add(am, ui_selectm);
assets_manager_add(am, ui_slide_down);
2020-09-02 07:40:13 +08:00
assets_manager_add(am, ui_slide_left);
2020-09-11 22:49:51 +08:00
assets_manager_add(am, ui_slide_menu);
assets_manager_add(am, ui_slide_right);
assets_manager_add(am, ui_slide_up);
2020-09-02 07:40:13 +08:00
assets_manager_add(am, ui_slide_view);
2020-09-11 22:49:51 +08:00
assets_manager_add(am, ui_slide_view_h);
assets_manager_add(am, ui_slide_view_h1);
assets_manager_add(am, ui_slide_view_h2);
assets_manager_add(am, ui_slide_view_h_loop);
2020-09-02 07:40:13 +08:00
assets_manager_add(am, ui_slide_view_v);
2020-09-11 22:49:51 +08:00
assets_manager_add(am, ui_slide_view_v1);
assets_manager_add(am, ui_slide_view_v2);
assets_manager_add(am, ui_slide_view_v_loop);
assets_manager_add(am, ui_soft_keyboard);
assets_manager_add(am, ui_spinbox);
assets_manager_add(am, ui_stroke_gradient);
assets_manager_add(am, ui_svg_image);
assets_manager_add(am, ui_switch);
2020-09-02 07:40:13 +08:00
assets_manager_add(am, ui_system_bar);
2020-09-11 22:49:51 +08:00
assets_manager_add(am, ui_system_bar_bottom);
assets_manager_add(am, ui_tab_bottom);
2020-09-02 07:40:13 +08:00
assets_manager_add(am, ui_tab_bottom_compact);
2020-09-11 22:49:51 +08:00
assets_manager_add(am, ui_tab_button_view_page1);
assets_manager_add(am, ui_tab_button_view_page2);
assets_manager_add(am, ui_tab_control);
assets_manager_add(am, ui_tab_dynamic_list);
assets_manager_add(am, ui_tab_list);
assets_manager_add(am, ui_tab_scrollable);
assets_manager_add(am, ui_tab_top);
assets_manager_add(am, ui_tab_top_compact);
assets_manager_add(am, ui_test_view);
assets_manager_add(am, ui_text_selector);
assets_manager_add(am, ui_time_clock);
assets_manager_add(am, ui_vgcanvas);
assets_manager_add(am, ui_vtranslate);
2020-08-16 08:25:51 +08:00
assets_manager_add(am, xml_test);
2020-09-11 22:49:51 +08:00
assets_manager_add(am, data_a_b_c_any);
2020-08-16 08:25:51 +08:00
assets_manager_add(am, data_com_zlg_app_json);
assets_manager_add(am, data_gpinyin_dat);
2020-09-02 07:40:13 +08:00
assets_manager_add(am, data_suggest_words_zh_cn_dat);
2020-09-11 22:49:51 +08:00
assets_manager_add(am, data_test_dat);
2020-08-16 08:25:51 +08:00
assets_manager_add(am, data_test_json);
2020-09-11 22:49:51 +08:00
assets_manager_add(am, image_1);
assets_manager_add(am, image_2);
assets_manager_add(am, image_3);
assets_manager_add(am, image_active_dot);
assets_manager_add(am, image_ani1);
assets_manager_add(am, image_ani2);
assets_manager_add(am, image_ani3);
assets_manager_add(am, image_ani4);
assets_manager_add(am, image_ani5);
2020-08-16 08:25:51 +08:00
assets_manager_add(am, image_ani6);
assets_manager_add(am, image_ani7);
2020-09-11 22:49:51 +08:00
assets_manager_add(am, image_ani8);
assets_manager_add(am, image_ani9);
2020-08-16 08:25:51 +08:00
assets_manager_add(am, image_ania);
2020-09-11 22:49:51 +08:00
assets_manager_add(am, image_anib);
2020-08-16 08:25:51 +08:00
assets_manager_add(am, image_anic);
2020-09-11 22:49:51 +08:00
assets_manager_add(am, image_arrow_down_n);
assets_manager_add(am, image_arrow_down_o);
assets_manager_add(am, image_arrow_down_p);
assets_manager_add(am, image_arrow_left_n);
assets_manager_add(am, image_arrow_left_o);
assets_manager_add(am, image_arrow_left_p);
assets_manager_add(am, image_arrow_right_n);
assets_manager_add(am, image_arrow_right_o);
assets_manager_add(am, image_arrow_right_p);
assets_manager_add(am, image_arrow_up_n);
assets_manager_add(am, image_arrow_up_o);
assets_manager_add(am, image_arrow_up_p);
assets_manager_add(am, image_backspace);
assets_manager_add(am, image_battery_0);
assets_manager_add(am, image_battery_1);
assets_manager_add(am, image_battery_2);
assets_manager_add(am, image_battery_3);
2020-09-02 07:40:13 +08:00
assets_manager_add(am, image_battery_4);
assets_manager_add(am, image_battery_5);
2020-09-11 22:49:51 +08:00
assets_manager_add(am, image_bee);
assets_manager_add(am, image_bricks);
assets_manager_add(am, image_check);
assets_manager_add(am, image_checked);
assets_manager_add(am, image_clock);
assets_manager_add(am, image_clock_bg);
assets_manager_add(am, image_clock_hour);
assets_manager_add(am, image_clock_minute);
assets_manager_add(am, image_clock_second);
assets_manager_add(am, image_close_d);
assets_manager_add(am, image_close_n);
assets_manager_add(am, image_close_o);
assets_manager_add(am, image_close_p);
assets_manager_add(am, image_contact);
assets_manager_add(am, image_contact_active);
assets_manager_add(am, image_cross);
assets_manager_add(am, image_cursor);
2020-09-02 07:40:13 +08:00
assets_manager_add(am, image_cursor_hand);
2020-09-11 22:49:51 +08:00
assets_manager_add(am, image_cursor_text);
assets_manager_add(am, image_dialog_title);
assets_manager_add(am, image_discovery);
assets_manager_add(am, image_discovery_active);
assets_manager_add(am, image_dot);
assets_manager_add(am, image_earth);
assets_manager_add(am, image_edit_clear_n);
assets_manager_add(am, image_edit_clear_o);
2020-09-02 07:40:13 +08:00
assets_manager_add(am, image_edit_clear_p);
2020-09-11 22:49:51 +08:00
assets_manager_add(am, image_empty);
2020-09-02 07:40:13 +08:00
assets_manager_add(am, image_en);
2020-09-11 22:49:51 +08:00
assets_manager_add(am, image_file);
assets_manager_add(am, image_find);
assets_manager_add(am, image_flag_CN);
assets_manager_add(am, image_flag_none);
assets_manager_add(am, image_flag_US);
assets_manager_add(am, image_folder);
assets_manager_add(am, image_green_btn_n);
assets_manager_add(am, image_green_btn_o);
assets_manager_add(am, image_green_btn_p);
2020-09-02 07:40:13 +08:00
assets_manager_add(am, image_guage_bg);
2020-09-11 22:49:51 +08:00
assets_manager_add(am, image_guage_pointer);
2020-09-11 14:51:38 +08:00
assets_manager_add(am, image_image_packed_bg);
2020-09-11 22:49:51 +08:00
assets_manager_add(am, image_image_packed_fg);
assets_manager_add(am, image_info);
assets_manager_add(am, image_invisible);
assets_manager_add(am, image_left_off);
assets_manager_add(am, image_left_on);
assets_manager_add(am, image_logo);
assets_manager_add(am, image_me);
assets_manager_add(am, image_message);
assets_manager_add(am, image_me_active);
assets_manager_add(am, image_middle_off);
assets_manager_add(am, image_middle_on);
2020-09-02 07:40:13 +08:00
assets_manager_add(am, image_msg);
assets_manager_add(am, image_msg_active);
2020-09-11 22:49:51 +08:00
assets_manager_add(am, image_muted);
assets_manager_add(am, image_num_0);
assets_manager_add(am, image_num_1);
assets_manager_add(am, image_num_2);
assets_manager_add(am, image_num_3);
assets_manager_add(am, image_num_4);
assets_manager_add(am, image_num_5);
assets_manager_add(am, image_num_6);
assets_manager_add(am, image_num_7);
assets_manager_add(am, image_num_8);
assets_manager_add(am, image_num_9);
assets_manager_add(am, image_num_dot);
assets_manager_add(am, image_play_n);
assets_manager_add(am, image_play_o);
assets_manager_add(am, image_play_p);
assets_manager_add(am, image_progress_circle);
2020-09-02 07:40:13 +08:00
assets_manager_add(am, image_question);
2020-09-11 22:49:51 +08:00
assets_manager_add(am, image_radio_checked);
assets_manager_add(am, image_radio_unchecked);
assets_manager_add(am, image_red_btn_n);
assets_manager_add(am, image_red_btn_o);
2020-08-16 08:25:51 +08:00
assets_manager_add(am, image_red_btn_p);
assets_manager_add(am, image_return_up);
assets_manager_add(am, image_rgb);
2020-09-11 22:49:51 +08:00
assets_manager_add(am, image_rgba);
2020-08-16 08:25:51 +08:00
assets_manager_add(am, image_right_off);
2020-09-02 07:40:13 +08:00
assets_manager_add(am, image_right_on);
2020-09-11 22:49:51 +08:00
assets_manager_add(am, image_shift);
assets_manager_add(am, image_shifton);
assets_manager_add(am, image_slider_bg);
2020-08-16 08:25:51 +08:00
assets_manager_add(am, image_slider_drag);
2020-09-11 22:49:51 +08:00
assets_manager_add(am, image_slider_drag_o);
assets_manager_add(am, image_slider_drag_p);
assets_manager_add(am, image_slider_fg);
2020-09-02 07:40:13 +08:00
assets_manager_add(am, image_slider_v_bg);
2020-09-11 22:49:51 +08:00
assets_manager_add(am, image_slider_v_fg);
2020-09-02 07:40:13 +08:00
assets_manager_add(am, image_switch);
2020-09-11 22:49:51 +08:00
assets_manager_add(am, image_unchecked);
assets_manager_add(am, image_unmuted);
assets_manager_add(am, image_visible);
assets_manager_add(am, image_warn);
assets_manager_add(am, image_zh);
2020-08-16 08:25:51 +08:00
#ifdef WITH_VGCANVAS
assets_manager_add(am, image_ball);
assets_manager_add(am, image_china);
2020-09-02 07:40:13 +08:00
assets_manager_add(am, image_girl);
2020-09-11 22:49:51 +08:00
assets_manager_add(am, image_htest);
assets_manager_add(am, image_pointer);
assets_manager_add(am, image_pointer_1);
assets_manager_add(am, image_pointer_4);
2020-08-16 08:25:51 +08:00
#endif /*WITH_VGCANVAS*/
2020-08-16 08:51:05 +08:00
#ifdef WITH_TRUETYPE_FONT
2020-09-02 07:40:13 +08:00
assets_manager_add(am, font_default);
2020-08-16 08:51:05 +08:00
#else /*WITH_TRUETYPE_FONT*/
#endif /*WITH_TRUETYPE_FONT*/
assets_manager_add(am, script_dummy);
2020-08-16 08:25:51 +08:00
#endif
tk_init_assets();
return RET_OK;
}