Implement drawing border for framing tool

* Draws border after all resize operations are complete
* Update the RGB sliders for 16-bit channels
This commit is contained in:
Daniel Gao
2024-11-11 22:13:38 -05:00
parent a96dc4cdde
commit 7ccab91434
4 changed files with 66 additions and 5 deletions

View File

@@ -449,11 +449,11 @@ void Framing::setupBorderColorsGui()
frame->set_label_widget(*label);
Gtk::Box* const box = Gtk::manage(new Gtk::Box(Gtk::ORIENTATION_VERTICAL));
redAdj = Gtk::manage(new Adjuster(M("TP_FRAMING_RED"), 0, 255, 1, 255));
redAdj = Gtk::manage(new Adjuster(M("TP_FRAMING_RED"), 0, 65535, 1, 65535));
box->add(*redAdj);
greenAdj = Gtk::manage(new Adjuster(M("TP_FRAMING_GREEN"), 0, 255, 1, 255));
greenAdj = Gtk::manage(new Adjuster(M("TP_FRAMING_GREEN"), 0, 65535, 1, 65535));
box->add(*greenAdj);
blueAdj = Gtk::manage(new Adjuster(M("TP_FRAMING_BLUE"), 0, 255, 1, 255));
blueAdj = Gtk::manage(new Adjuster(M("TP_FRAMING_BLUE"), 0, 65535, 1, 65535));
box->add(*blueAdj);
frame->add(*box);