1. Pedro Ferreira
  2. screen_ruler

Commits

drk  committed e399653

- removed labels from the options window

  • Participants
  • Parent commits df5a3ba
  • Branches default

Comments (0)

Files changed (2)

File options.cpp

View file
 {
     // :: Background color :: //
 
-colorLabel_ui.set_label( "Ruler's color" );
-
 backgroundColorLabel_ui.set_label( "Background" );
 
 backgroundColor_ui.set_title( "Select a color" );
 
     // :: Orientation :: //
 
-orientation_ui.set_label( "Orientation" );  //HERE por tipo bold...
-
 horizontal_ui.set_label( "Horizontal" );
 vertical_ui.set_label( "Vertical" );
 
 
     // :: Mouse Length  :: //
 
-mouseLengthLabel_ui.set_label( "Length" );
+
 mouseLength_ui.set_label( "0px" );
 
 
 container_ui.set_row_spacing( 5 );
 container_ui.set_column_spacing( 30 );
 container_ui.set_orientation( Gtk::ORIENTATION_HORIZONTAL );
-//container_ui.set_column_homogeneous( true );
 
 
 container_ui.attach( pixels_ui, 0, 0, 1, 1 );
 container_ui.attach( centimeters_ui, 0, 1, 1, 1 );
 container_ui.attach( inches_ui, 0, 2, 1, 1 );
 
-container_ui.attach( orientation_ui, 1, 0, 1, 1 );
+container_ui.attach( alwaysAbove_ui, 1, 0, 1, 1 );
 container_ui.attach( horizontal_ui, 1, 1, 1, 1 );
 container_ui.attach( vertical_ui, 1, 2, 1, 1 );
 
-container_ui.attach( colorLabel_ui, 2, 0, 1, 1 );
-container_ui.attach( backgroundColorContainer_ui, 2, 1, 1, 1 );
-container_ui.attach( numberLinesColorContainer_ui, 2, 2, 1, 1 );
-
-container_ui.attach( alwaysAbove_ui, 3, 0, 1, 1 );
-container_ui.attach( mouseLengthLabel_ui, 3, 1, 1, 1 );
-container_ui.attach( mouseLength_ui, 3, 2, 1, 1);
-
+container_ui.attach( backgroundColorContainer_ui, 2, 0, 1, 1 );
+container_ui.attach( numberLinesColorContainer_ui, 2, 1, 1, 1 );
+container_ui.attach( mouseLength_ui, 2, 2, 1, 1);
 
 
     // :: Window :: //

File options.h

View file
             Gtk::RadioButton centimeters_ui;
             Gtk::RadioButton inches_ui;
 
-                // orientation column
-            Gtk::Label orientation_ui;
+                // orientation/alwaysAbove column
+            Gtk::CheckButton alwaysAbove_ui;
             Gtk::RadioButton horizontal_ui;
             Gtk::RadioButton vertical_ui;
 
-
-                // other stuff
-            Gtk::CheckButton alwaysAbove_ui;
-            Gtk::Label mouseLengthLabel_ui;
-            Gtk::Label mouseLength_ui;
-
-
-                // color column
-            Gtk::Label colorLabel_ui;
+                // color/mouseLength column
 
             Gtk::Box backgroundColorContainer_ui;
 
                 Gtk::Label numberLinesColorLabel_ui;
                 Gtk::ColorButton numberLinesColor_ui;
 
+            Gtk::Label mouseLength_ui;
+
 };
 
 #endif // OPTIONS_GUARD