Move retained popups to checked handles
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
#include "node_button_custom.h"
|
||||
#include "node_image.h"
|
||||
#include "node_panel_brush.h"
|
||||
#include "ui_core/node_lifetime.h"
|
||||
|
||||
namespace pp::app {
|
||||
struct BrushStrokeControlPlan;
|
||||
@@ -100,7 +101,8 @@ public:
|
||||
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::function<void(Node* target)> on_popup_close;
|
||||
pp::ui::NodeHandle m_popup_overlay_handle {};
|
||||
pp::ui::NodeHandle m_tick_overlay_handle {};
|
||||
|
||||
struct SliderCurve
|
||||
{
|
||||
@@ -130,4 +132,5 @@ public:
|
||||
void init_checkbox(NodeCheckBox*& slider, const char* id, pp::app::BrushStrokeBoolSetting setting, bool Brush::* prop);
|
||||
void handle_checkbox(pp::app::BrushStrokeBoolSetting setting, bool value);
|
||||
void execute_stroke_control_plan(const pp::app::BrushStrokeControlPlan& plan);
|
||||
void close_popup_overlay_handles() noexcept;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user