// Don't modify, generated file from /build/libresprite/src/libresprite/data/widgets/options.xml

#pragma once

#include "app/find_widget.h"
#include "app/load_widget.h"
#include "ui/ui.h"

namespace app {
namespace gen {

  class Options : public ui::Window {
  public:
    Options() : ui::Window(ui::Window::WithTitleBar) {
      app::load_widget("options.xml", "options", this);
      app::finder(this)
        >> "section_listbox" >> m_sectionListbox
        >> "panel" >> m_panel
        >> "section_general" >> m_sectionGeneral
        >> "language" >> m_language
        >> "screen_scale" >> m_screenScale
        >> "ui_scale" >> m_uiScale
        >> "gpu_acceleration" >> m_gpuAcceleration
        >> "expand_menubar_on_mouseover" >> m_expandMenubarOnMouseover
        >> "enable_data_recovery" >> m_enableDataRecovery
        >> "data_recovery_period" >> m_dataRecoveryPeriod
        >> "show_full_path" >> m_showFullPath
        >> "locate_file" >> m_locateFile
        >> "locate_crash_folder" >> m_locateCrashFolder
        >> "section_editor" >> m_sectionEditor
        >> "wheel_zoom" >> m_wheelZoom
        >> "slide_zoom" >> m_slideZoom
        >> "zoom_from_center_with_wheel" >> m_zoomFromCenterWithWheel
        >> "zoom_from_center_with_keys" >> m_zoomFromCenterWithKeys
        >> "show_scrollbars" >> m_showScrollbars
        >> "right_click_behavior" >> m_rightClickBehavior
        >> "auto_opaque" >> m_autoOpaque
        >> "keep_selection_after_clear" >> m_keepSelectionAfterClear
        >> "section_timeline" >> m_sectionTimeline
        >> "autotimeline" >> m_autotimeline
        >> "rewind_on_stop" >> m_rewindOnStop
        >> "section_cursors" >> m_sectionCursors
        >> "native_cursor" >> m_nativeCursor
        >> "cursor_color_type" >> m_cursorColorType
        >> "cursor_color_placeholder" >> m_cursorColorPlaceholder
        >> "brush_preview" >> m_brushPreview
        >> "section_grid" >> m_sectionGrid
        >> "grid_scope" >> m_gridScope
        >> "grid_color_placeholder" >> m_gridColorPlaceholder
        >> "grid_opacity" >> m_gridOpacity
        >> "grid_auto_opacity" >> m_gridAutoOpacity
        >> "pixel_grid_color_placeholder" >> m_pixelGridColorPlaceholder
        >> "pixel_grid_opacity" >> m_pixelGridOpacity
        >> "pixel_grid_auto_opacity" >> m_pixelGridAutoOpacity
        >> "checked_bg_size" >> m_checkedBgSize
        >> "checked_bg_zoom" >> m_checkedBgZoom
        >> "checked_bg_color1_box" >> m_checkedBgColor1Box
        >> "checked_bg_color2_box" >> m_checkedBgColor2Box
        >> "reset" >> m_reset
        >> "section_undo" >> m_sectionUndo
        >> "undo_size_limit" >> m_undoSizeLimit
        >> "undo_goto_modified" >> m_undoGotoModified
        >> "undo_allow_nonlinear_history" >> m_undoAllowNonlinearHistory
        >> "section_theme" >> m_sectionTheme
        >> "theme_list" >> m_themeList
        >> "select_theme" >> m_selectTheme
        >> "open_theme_folder" >> m_openThemeFolder
        >> "section_experimental" >> m_sectionExperimental
        >> "native_file_dialog" >> m_nativeFileDialog
        >> "flash_layer" >> m_flashLayer
        >> "button_ok" >> m_buttonOk
        >> "button_apply" >> m_buttonApply
      ;
    }

    ui::ListBox* sectionListbox() const { return m_sectionListbox; }
    ui::Panel* panel() const { return m_panel; }
    ui::VBox* sectionGeneral() const { return m_sectionGeneral; }
    ui::ComboBox* language() const { return m_language; }
    ui::ComboBox* screenScale() const { return m_screenScale; }
    ui::ComboBox* uiScale() const { return m_uiScale; }
    ui::CheckBox* gpuAcceleration() const { return m_gpuAcceleration; }
    ui::CheckBox* expandMenubarOnMouseover() const { return m_expandMenubarOnMouseover; }
    ui::CheckBox* enableDataRecovery() const { return m_enableDataRecovery; }
    ui::ComboBox* dataRecoveryPeriod() const { return m_dataRecoveryPeriod; }
    ui::CheckBox* showFullPath() const { return m_showFullPath; }
    ui::LinkLabel* locateFile() const { return m_locateFile; }
    ui::LinkLabel* locateCrashFolder() const { return m_locateCrashFolder; }
    ui::VBox* sectionEditor() const { return m_sectionEditor; }
    ui::CheckBox* wheelZoom() const { return m_wheelZoom; }
    ui::CheckBox* slideZoom() const { return m_slideZoom; }
    ui::CheckBox* zoomFromCenterWithWheel() const { return m_zoomFromCenterWithWheel; }
    ui::CheckBox* zoomFromCenterWithKeys() const { return m_zoomFromCenterWithKeys; }
    ui::CheckBox* showScrollbars() const { return m_showScrollbars; }
    ui::ComboBox* rightClickBehavior() const { return m_rightClickBehavior; }
    ui::CheckBox* autoOpaque() const { return m_autoOpaque; }
    ui::CheckBox* keepSelectionAfterClear() const { return m_keepSelectionAfterClear; }
    ui::VBox* sectionTimeline() const { return m_sectionTimeline; }
    ui::CheckBox* autotimeline() const { return m_autotimeline; }
    ui::CheckBox* rewindOnStop() const { return m_rewindOnStop; }
    ui::VBox* sectionCursors() const { return m_sectionCursors; }
    ui::CheckBox* nativeCursor() const { return m_nativeCursor; }
    ui::ComboBox* cursorColorType() const { return m_cursorColorType; }
    ui::Box* cursorColorPlaceholder() const { return m_cursorColorPlaceholder; }
    ui::ComboBox* brushPreview() const { return m_brushPreview; }
    ui::VBox* sectionGrid() const { return m_sectionGrid; }
    ui::ComboBox* gridScope() const { return m_gridScope; }
    ui::Box* gridColorPlaceholder() const { return m_gridColorPlaceholder; }
    ui::Slider* gridOpacity() const { return m_gridOpacity; }
    ui::CheckBox* gridAutoOpacity() const { return m_gridAutoOpacity; }
    ui::Box* pixelGridColorPlaceholder() const { return m_pixelGridColorPlaceholder; }
    ui::Slider* pixelGridOpacity() const { return m_pixelGridOpacity; }
    ui::CheckBox* pixelGridAutoOpacity() const { return m_pixelGridAutoOpacity; }
    ui::ComboBox* checkedBgSize() const { return m_checkedBgSize; }
    ui::CheckBox* checkedBgZoom() const { return m_checkedBgZoom; }
    ui::Box* checkedBgColor1Box() const { return m_checkedBgColor1Box; }
    ui::Box* checkedBgColor2Box() const { return m_checkedBgColor2Box; }
    ui::Button* reset() const { return m_reset; }
    ui::VBox* sectionUndo() const { return m_sectionUndo; }
    ui::Entry* undoSizeLimit() const { return m_undoSizeLimit; }
    ui::CheckBox* undoGotoModified() const { return m_undoGotoModified; }
    ui::CheckBox* undoAllowNonlinearHistory() const { return m_undoAllowNonlinearHistory; }
    ui::VBox* sectionTheme() const { return m_sectionTheme; }
    ui::ListBox* themeList() const { return m_themeList; }
    ui::Button* selectTheme() const { return m_selectTheme; }
    ui::Button* openThemeFolder() const { return m_openThemeFolder; }
    ui::VBox* sectionExperimental() const { return m_sectionExperimental; }
    ui::CheckBox* nativeFileDialog() const { return m_nativeFileDialog; }
    ui::CheckBox* flashLayer() const { return m_flashLayer; }
    ui::Button* buttonOk() const { return m_buttonOk; }
    ui::Button* buttonApply() const { return m_buttonApply; }

  private:
    ui::ListBox* m_sectionListbox;
    ui::Panel* m_panel;
    ui::VBox* m_sectionGeneral;
    ui::ComboBox* m_language;
    ui::ComboBox* m_screenScale;
    ui::ComboBox* m_uiScale;
    ui::CheckBox* m_gpuAcceleration;
    ui::CheckBox* m_expandMenubarOnMouseover;
    ui::CheckBox* m_enableDataRecovery;
    ui::ComboBox* m_dataRecoveryPeriod;
    ui::CheckBox* m_showFullPath;
    ui::LinkLabel* m_locateFile;
    ui::LinkLabel* m_locateCrashFolder;
    ui::VBox* m_sectionEditor;
    ui::CheckBox* m_wheelZoom;
    ui::CheckBox* m_slideZoom;
    ui::CheckBox* m_zoomFromCenterWithWheel;
    ui::CheckBox* m_zoomFromCenterWithKeys;
    ui::CheckBox* m_showScrollbars;
    ui::ComboBox* m_rightClickBehavior;
    ui::CheckBox* m_autoOpaque;
    ui::CheckBox* m_keepSelectionAfterClear;
    ui::VBox* m_sectionTimeline;
    ui::CheckBox* m_autotimeline;
    ui::CheckBox* m_rewindOnStop;
    ui::VBox* m_sectionCursors;
    ui::CheckBox* m_nativeCursor;
    ui::ComboBox* m_cursorColorType;
    ui::Box* m_cursorColorPlaceholder;
    ui::ComboBox* m_brushPreview;
    ui::VBox* m_sectionGrid;
    ui::ComboBox* m_gridScope;
    ui::Box* m_gridColorPlaceholder;
    ui::Slider* m_gridOpacity;
    ui::CheckBox* m_gridAutoOpacity;
    ui::Box* m_pixelGridColorPlaceholder;
    ui::Slider* m_pixelGridOpacity;
    ui::CheckBox* m_pixelGridAutoOpacity;
    ui::ComboBox* m_checkedBgSize;
    ui::CheckBox* m_checkedBgZoom;
    ui::Box* m_checkedBgColor1Box;
    ui::Box* m_checkedBgColor2Box;
    ui::Button* m_reset;
    ui::VBox* m_sectionUndo;
    ui::Entry* m_undoSizeLimit;
    ui::CheckBox* m_undoGotoModified;
    ui::CheckBox* m_undoAllowNonlinearHistory;
    ui::VBox* m_sectionTheme;
    ui::ListBox* m_themeList;
    ui::Button* m_selectTheme;
    ui::Button* m_openThemeFolder;
    ui::VBox* m_sectionExperimental;
    ui::CheckBox* m_nativeFileDialog;
    ui::CheckBox* m_flashLayer;
    ui::Button* m_buttonOk;
    ui::Button* m_buttonApply;
  };

} // namespace gen
} // namespace app
