Patch from issue 1012: Proposal of an icon theme for RT

This patch add multiple iconset capabilities, on a per theme basis. See comment #61 and #68 from issue 1012 to see how it works.
This commit is contained in:
natureh
2011-10-12 01:10:45 +02:00
parent cc437409aa
commit 81c988a852
81 changed files with 1257 additions and 322 deletions

View File

@@ -22,6 +22,7 @@
#include <options.h>
#include <string.h>
#include <LUT.h>
#include <rtimage.h>
extern Glib::ustring argv0;
extern Options options;
@@ -42,12 +43,12 @@ HistogramPanel::HistogramPanel () {
if (options.histogramBar)
gfxVBox->pack_start (*histogramRGBArea, Gtk::PACK_SHRINK, 0);
Gtk::Image* redImage = Gtk::manage( new Gtk::Image (Glib::ustring::compose("%1%2",argv0,"/images/histRed.png")) );
Gtk::Image* greenImage = Gtk::manage( new Gtk::Image (Glib::ustring::compose("%1%2",argv0,"/images/histGreen.png")) );
Gtk::Image* blueImage = Gtk::manage( new Gtk::Image (Glib::ustring::compose("%1%2",argv0,"/images/histBlue.png")) );
Gtk::Image* valueImage = Gtk::manage( new Gtk::Image (Glib::ustring::compose("%1%2",argv0,"/images/histValue.png")) );
Gtk::Image* rawImage = Gtk::manage( new Gtk::Image (Glib::ustring::compose("%1%2",argv0,"/images/histRaw.png")) );
Gtk::Image* barImage = Gtk::manage( new Gtk::Image (Glib::ustring::compose("%1%2",argv0,"/images/histBar.png")) );
Gtk::Image* redImage = Gtk::manage( new RTImage ("histRed.png") );
Gtk::Image* greenImage = Gtk::manage( new RTImage ("histGreen.png") );
Gtk::Image* blueImage = Gtk::manage( new RTImage ("histBlue.png") );
Gtk::Image* valueImage = Gtk::manage( new RTImage ("histValue.png") );
Gtk::Image* rawImage = Gtk::manage( new RTImage ("histRaw.png") );
Gtk::Image* barImage = Gtk::manage( new RTImage ("histBar.png") );
showRed = Gtk::manage (new Gtk::ToggleButton ());
showGreen = Gtk::manage (new Gtk::ToggleButton ());