43 typedef std::variant<std::monostate, neogfx::gradient::color_stop_list::const_iterator, neogfx::gradient::alpha_stop_list::const_iterator> stop_const_iterator;
44 typedef std::variant<std::monostate, neogfx::gradient::color_stop_list::iterator, neogfx::gradient::alpha_stop_list::iterator> stop_iterator;
54 const std::optional<color_dialog::custom_color_list>&
custom_colors()
const;
73 rect contents_rect()
const;
74 bool is_stop_at(
point const& aPosition)
const;
75 stop_const_iterator stop_at(
point const& aPosition)
const;
76 stop_iterator stop_at(
point const& aPosition);
77 void set_current_color_stop(std::optional<gradient::color_stop_list::iterator>
const& aStop);
78 void set_current_alpha_stop(std::optional<gradient::alpha_stop_list::iterator>
const& aStop);
88 dimension small_alpha_pattern_size()
const;
90 dimension border_spacer_thickness()
const;
92 bool iInGradientDialog;
95 std::optional<gradient::color_stop_list::iterator> iCurrentColorStop;
96 std::optional<gradient::alpha_stop_list::iterator> iCurrentAlphaStop;
98 std::unique_ptr<context_menu> iMenu;
99 mutable std::map<resource::hash_digest_type, texture> iStopTextures;
100 std::optional<color_dialog::custom_color_list> iCustomColors;