Add hidpi support for threshold selector and curves

This commit is contained in:
Pandagrapher
2022-12-25 15:35:25 +01:00
parent 3c348599dc
commit c48531448e
15 changed files with 302 additions and 566 deletions

View File

@@ -29,7 +29,7 @@ public:
virtual void shcChanged() = 0;
};
class SHCSelector final : public Gtk::DrawingArea, BackBuffer
class SHCSelector final : public Gtk::DrawingArea
{
protected:
@@ -61,7 +61,7 @@ protected:
bool on_button_press_event (GdkEventButton* event) override;
bool on_button_release_event (GdkEventButton* event) override;
bool on_motion_notify_event (GdkEventMotion* event) override;
void updateBackBuffer();
void updateDrawingArea (const ::Cairo::RefPtr< Cairo::Context> &cr);
public: