Gtk3 theme ready, Gtk2 stuff removed, slim mode removed, RT logo images enhanced.

This commit is contained in:
Beep6581
2015-11-17 02:52:38 +01:00
parent d26eaa174d
commit a9aa5308b5
90 changed files with 5127 additions and 8311 deletions

View File

@@ -30,8 +30,7 @@
#include "options.h"
#define RADIUS 3 /** radius of the control points */
#define CBAR_WIDTH_STD 13 /** width of the colored bar (border included) for standard themes */
#define CBAR_WIDTH_SLIM 10 /** width of the colored bar (border included) for slim themes */
#define CBAR_WIDTH 10 /** width of the colored bar (border included) */
#define CBAR_MARGIN 2 /** spacing between the colored bar and the graph */
#define SQUARE 2 /** half length of the square shape of the tangent handles */
#define MIN_DISTANCE 5 /** min distance between control points */
@@ -140,11 +139,6 @@ public:
virtual void pipetteButton1Released(EditDataProvider *provider) = 0;
virtual void pipetteDrag(EditDataProvider *provider, int modifierKey) = 0;
static int getBarWidth()
{
return options.slimUI ? CBAR_WIDTH_SLIM : CBAR_WIDTH_STD;
}
Gtk::SizeRequestMode get_request_mode_vfunc () const;
void get_preferred_height_vfunc (int& minimum_height, int& natural_height) const;
void get_preferred_width_vfunc (int &minimum_width, int &natural_width) const;