GUI bugfix (histogram) + touchup
- Fix the Histogram background and grid lines - Add 1 pixel of empty space between in the Histogram panel - Add a light grey color border for Gtk::DrawingArea oject, for those using the render_frame method - In the Toolbox, make the nested MyExpander and Gtk::Frame lighter, and adjust the Gtk::DrawingArea background color accordingly - All added class to the MyCurve has been removed, so that the Gtk::Drawing object's style is used - The Retinex Settings' expander is now level 2 for GUI consistency
This commit is contained in:
@@ -41,11 +41,6 @@ MyFlatCurve::MyFlatCurve ()
|
||||
editedPos.resize(4);
|
||||
editedPos.at(0) = editedPos.at(1) = editedPos.at(2) = editedPos.at(3) = 0.0;
|
||||
|
||||
Glib::RefPtr<Gtk::StyleContext> style = get_style_context();
|
||||
style->add_class(GTK_STYLE_CLASS_FRAME);
|
||||
//style->add_class(GTK_STYLE_CLASS_NOTEBOOK);
|
||||
//style->add_class(GTK_STYLE_CLASS_FLAT);
|
||||
|
||||
signal_event().connect( sigc::mem_fun(*this, &MyFlatCurve::handleEvents) );
|
||||
|
||||
// By default, we create a curve with 8 control points
|
||||
|
Reference in New Issue
Block a user