rename texture to pattern and implement initial pattern settings
This commit is contained in:
@@ -21,7 +21,7 @@ public:
|
||||
NodeSliderH* m_tip_angle;
|
||||
NodeSliderH* m_tip_angle_delay;
|
||||
NodeSliderH* m_tip_mix;
|
||||
NodeSliderH* m_tip_stencil;
|
||||
NodeSliderH* m_pattern_opacity;
|
||||
NodeSliderH* m_tip_wet;
|
||||
NodeSliderH* m_tip_noise;
|
||||
NodeSliderH* m_tip_hue;
|
||||
@@ -39,10 +39,10 @@ public:
|
||||
NodeCheckBox* m_tip_size_pressure;
|
||||
NodeButtonCustom* m_brush_button;
|
||||
NodeButtonCustom* m_dual_brush_button;
|
||||
NodeButtonCustom* m_texture_button;
|
||||
NodeButtonCustom* m_pattern_button;
|
||||
NodeImage* m_brush_thumb;
|
||||
NodeImage* m_dual_brush_thumb;
|
||||
NodeImage* m_texture_thumb;
|
||||
NodeImage* m_pattern_thumb;
|
||||
NodeImage* m_preset_thumb;
|
||||
NodeButtonCustom* m_preset_button;
|
||||
NodeStrokePreview* m_preset_preview;
|
||||
@@ -50,7 +50,7 @@ public:
|
||||
NodeCheckBox* m_tip_invert;
|
||||
NodeCheckBox* m_tip_flipx;
|
||||
NodeCheckBox* m_tip_flipy;
|
||||
NodeCheckBox* m_tex_enabled;
|
||||
NodeCheckBox* m_pattern_enabled;
|
||||
NodeCheckBox* m_dual_enabled;
|
||||
NodeCheckBox* m_dual_scatter_axis;
|
||||
NodeCheckBox* m_dual_invert;
|
||||
@@ -67,15 +67,26 @@ public:
|
||||
NodeSliderH* m_dual_opacity;
|
||||
NodeSliderH* m_dual_rotate;
|
||||
NodeComboBox* m_dual_blend_mode;
|
||||
NodeComboBox* m_pattern_blend_mode;
|
||||
NodeButtonCustom* m_tip_aspect_reset;
|
||||
|
||||
NodeCheckBox* m_pattern_eachsample;
|
||||
NodeCheckBox* m_pattern_invert;
|
||||
NodeCheckBox* m_pattern_flipx;
|
||||
NodeCheckBox* m_pattern_flipy;
|
||||
NodeSliderH* m_pattern_scale;
|
||||
NodeSliderH* m_pattern_brightness;
|
||||
NodeSliderH* m_pattern_contrast;
|
||||
|
||||
|
||||
std::shared_ptr<NodePanelBrush> m_brush_popup;
|
||||
std::shared_ptr<NodePanelBrush> m_texture_popup;
|
||||
std::shared_ptr<NodePanelBrush> m_pattern_popup;
|
||||
std::shared_ptr<NodePanelBrushPreset> m_presets_popup;
|
||||
std::function<void(Node* target)> on_stroke_change;
|
||||
std::function<void(Node* target, const std::string& path, const std::string& thumb)> on_texture_changed;
|
||||
std::function<void(Node* target, const std::string& path, const std::string& thumb)> on_pattern_changed;
|
||||
std::function<void(Node* target, const std::string& path, const std::string& thumb)> on_brush_changed;
|
||||
std::function<void(Node* target, const std::string& path, const std::string& thumb)> on_dual_changed;
|
||||
//std::function<void(Node* target, const std::string& path, const std::string& thumb)> on_texture_changed;
|
||||
std::map<NodeSliderH*, std::function<float(float)>> m_curves;
|
||||
|
||||
virtual Node* clone_instantiate() const override;
|
||||
|
||||
Reference in New Issue
Block a user