mirror of
https://gitee.com/zlgopen/awtk.git
synced 2024-12-02 03:58:33 +08:00
89 lines
3.2 KiB
C
89 lines
3.2 KiB
C
#include "lftk.h"
|
|
#include "base/resource_manager.h"
|
|
#include "res/src/fonts/ap.data"
|
|
#include "res/src/fonts/default.data"
|
|
#include "res/src/fonts/default_ttf.data"
|
|
#include "res/src/images/bricks.data"
|
|
#include "res/src/images/checked.data"
|
|
#include "res/src/images/dialog_title.data"
|
|
#include "res/src/images/earth.data"
|
|
#include "res/src/images/green_btn_n.data"
|
|
#include "res/src/images/green_btn_o.data"
|
|
#include "res/src/images/green_btn_p.data"
|
|
#include "res/src/images/info.data"
|
|
#include "res/src/images/left_off.data"
|
|
#include "res/src/images/left_on.data"
|
|
#include "res/src/images/middle_off.data"
|
|
#include "res/src/images/middle_on.data"
|
|
#include "res/src/images/muted.data"
|
|
#include "res/src/images/radio_checked.data"
|
|
#include "res/src/images/radio_unchecked.data"
|
|
#include "res/src/images/red_btn_n.data"
|
|
#include "res/src/images/red_btn_o.data"
|
|
#include "res/src/images/red_btn_p.data"
|
|
#include "res/src/images/right_off.data"
|
|
#include "res/src/images/right_on.data"
|
|
#include "res/src/images/slider_bg.data"
|
|
#include "res/src/images/slider_drag.data"
|
|
#include "res/src/images/slider_drag_o.data"
|
|
#include "res/src/images/slider_drag_p.data"
|
|
#include "res/src/images/slider_fg.data"
|
|
#include "res/src/images/slider_v_bg.data"
|
|
#include "res/src/images/slider_v_fg.data"
|
|
#include "res/src/images/unchecked.data"
|
|
#include "res/src/images/unmuted.data"
|
|
#include "res/src/theme/default.data"
|
|
#include "res/src/ui/dialog1.data"
|
|
#include "res/src/ui/dialog2.data"
|
|
#include "res/src/ui/popup.data"
|
|
#include "res/src/ui/window.data"
|
|
#include "res/src/ui/window1.data"
|
|
#include "res/src/ui/window2.data"
|
|
|
|
ret_t resource_init() {
|
|
resource_manager_init(15);
|
|
|
|
resource_manager_add(font_ap);
|
|
resource_manager_add(font_default);
|
|
resource_manager_add(font_default_ttf);
|
|
resource_manager_add(image_bricks);
|
|
resource_manager_add(image_checked);
|
|
resource_manager_add(image_dialog_title);
|
|
resource_manager_add(image_earth);
|
|
resource_manager_add(image_green_btn_n);
|
|
resource_manager_add(image_green_btn_o);
|
|
resource_manager_add(image_green_btn_p);
|
|
resource_manager_add(image_info);
|
|
resource_manager_add(image_left_off);
|
|
resource_manager_add(image_left_on);
|
|
resource_manager_add(image_middle_off);
|
|
resource_manager_add(image_middle_on);
|
|
resource_manager_add(image_muted);
|
|
resource_manager_add(image_radio_checked);
|
|
resource_manager_add(image_radio_unchecked);
|
|
resource_manager_add(image_red_btn_n);
|
|
resource_manager_add(image_red_btn_o);
|
|
resource_manager_add(image_red_btn_p);
|
|
resource_manager_add(image_right_off);
|
|
resource_manager_add(image_right_on);
|
|
resource_manager_add(image_slider_bg);
|
|
resource_manager_add(image_slider_drag);
|
|
resource_manager_add(image_slider_drag_o);
|
|
resource_manager_add(image_slider_drag_p);
|
|
resource_manager_add(image_slider_fg);
|
|
resource_manager_add(image_slider_v_bg);
|
|
resource_manager_add(image_slider_v_fg);
|
|
resource_manager_add(image_unchecked);
|
|
resource_manager_add(image_unmuted);
|
|
resource_manager_add(theme_default);
|
|
resource_manager_add(ui_dialog1);
|
|
resource_manager_add(ui_dialog2);
|
|
resource_manager_add(ui_popup);
|
|
resource_manager_add(ui_window);
|
|
resource_manager_add(ui_window1);
|
|
resource_manager_add(ui_window2);
|
|
|
|
lftk_init_resources();
|
|
return RET_OK;
|
|
}
|