Canola  0.8.D001
Typedefs | Functions | Variables
canola/load_image.h File Reference
#include <lib/config.h>
#include <gtkmm.h>

Go to the source code of this file.

Typedefs

typedef Glib::RefPtr< Gdk::Pixbuf > img_ptr_t

Functions

img_ptr_t load_gui_image (const std::string &filename)

Variables

Gdk::RGBA custom_widget_background

Typedef Documentation

typedef Glib::RefPtr<Gdk::Pixbuf> img_ptr_t

Definition at line 25 of file load_image.h.


Function Documentation

img_ptr_t load_gui_image ( const std::string &  filename)

The load_gui_image function is used to obtaina pointer to an image from the /gui directory.

Parameters:
filenameThe name of the image to load. Do not add a "gui/" prefix. Do not add a ".png" suffix.

Definition at line 30 of file load_image.cc.


Variable Documentation