feat: Python Plugins

This commit is contained in:
Ian Chua
2026-07-02 17:49:36 +08:00
parent 395e070a0e
commit ecddf3d18f
183 changed files with 49955 additions and 2120 deletions

View File

@@ -106,6 +106,7 @@ public:
wxWindow * stb;
const wxString icon;
const wxString title;
bool m_labels_hidden{false};
size_t label_width = 20 ;// {200};
wxSizer* sizer {nullptr};
OG_CustomCtrl* custom_ctrl{ nullptr };
@@ -185,7 +186,7 @@ public:
void clear_fields_except_of(const std::vector<std::string> left_fields);
void hide_labels() { label_width = 0; }
void hide_labels() { label_width = 0; m_labels_hidden = true; }
OptionsGroup(wxWindow *_parent, const wxString &title, const wxString &icon, bool is_tab_opt = false,
column_t extra_clmn = nullptr);
@@ -243,6 +244,9 @@ protected:
public:
static wxString get_url(const std::string& path_end);
static bool launch_browser(const std::string& path_end);
protected:
std::string pick_plugin(const ConfigOptionDef& opt);
};
class ConfigOptionsGroup: public OptionsGroup {