move shaders into .glsl files and add #include feature

This commit is contained in:
2019-02-21 19:26:40 +01:00
parent 16eb9de358
commit eaab9c79e5
47 changed files with 1124 additions and 777 deletions

View File

@@ -20,6 +20,6 @@ public:
virtual void draw() override;
virtual void parse_attributes(kAttribute ka, const tinyxml2::XMLAttribute* attr) override;
void set_icon(const std::string& icon_path);
void set_value(bool checked) { this->checked = checked; update_icon(); }
void set_value(bool checked, bool trigger_event = false);
void update_icon();
};