1// Don't modify, generated file from /home/lucius/Code/aseprite/data/widgets/home_view.xml
2
3#ifndef GENERATED_HOME_VIEW_H_INCLUDED
4#define GENERATED_HOME_VIEW_H_INCLUDED
5#pragma once
6
7#include "app/find_widget.h"
8#include "app/load_widget.h"
9#include "ui/box.h"
10#include "ui/button.h"
11#include "ui/link_label.h"
12#include "ui/view.h"
13
14namespace app {
15namespace gen {
16
17 class HomeView : public ui::VBox {
18 public:
19 HomeView() {
20 app::load_widget("home_view.xml", "home_view", this);
21 app::finder(this)
22 >> "header_placeholder" >> m_headerPlaceholder
23 >> "aseprite_face" >> m_asepriteFace
24 >> "new_file" >> m_newFile
25 >> "open_file" >> m_openFile
26 >> "recover_sprites" >> m_recoverSprites
27 >> "share_crashdb" >> m_shareCrashdb
28 >> "check_update" >> m_checkUpdate
29 >> "files_placeholder" >> m_filesPlaceholder
30 >> "files_view" >> m_filesView
31 >> "folders_placeholder" >> m_foldersPlaceholder
32 >> "folders_view" >> m_foldersView
33 >> "news_placeholder" >> m_newsPlaceholder
34 >> "news_view" >> m_newsView
35 ;
36 }
37
38 ui::HBox* headerPlaceholder() const { return m_headerPlaceholder; }
39 ui::LinkLabel* asepriteFace() const { return m_asepriteFace; }
40 ui::LinkLabel* newFile() const { return m_newFile; }
41 ui::LinkLabel* openFile() const { return m_openFile; }
42 ui::LinkLabel* recoverSprites() const { return m_recoverSprites; }
43 ui::CheckBox* shareCrashdb() const { return m_shareCrashdb; }
44 ui::LinkLabel* checkUpdate() const { return m_checkUpdate; }
45 ui::VBox* filesPlaceholder() const { return m_filesPlaceholder; }
46 ui::View* filesView() const { return m_filesView; }
47 ui::VBox* foldersPlaceholder() const { return m_foldersPlaceholder; }
48 ui::View* foldersView() const { return m_foldersView; }
49 ui::VBox* newsPlaceholder() const { return m_newsPlaceholder; }
50 ui::View* newsView() const { return m_newsView; }
51
52 private:
53 ui::HBox* m_headerPlaceholder;
54 ui::LinkLabel* m_asepriteFace;
55 ui::LinkLabel* m_newFile;
56 ui::LinkLabel* m_openFile;
57 ui::LinkLabel* m_recoverSprites;
58 ui::CheckBox* m_shareCrashdb;
59 ui::LinkLabel* m_checkUpdate;
60 ui::VBox* m_filesPlaceholder;
61 ui::View* m_filesView;
62 ui::VBox* m_foldersPlaceholder;
63 ui::View* m_foldersView;
64 ui::VBox* m_newsPlaceholder;
65 ui::View* m_newsView;
66 };
67
68} // namespace gen
69} // namespace app
70
71#endif
72