Canola
0.8.D001
|
#include <lib/config.h>
#include <map>
#include <canola/gui_search_path.h>
#include <canola/load_image.h>
Go to the source code of this file.
Typedefs | |
typedef std::map< std::string, img_ptr_t > | cache_t |
Functions | |
img_ptr_t | load_gui_image (const std::string &filename) |
Gdk::RGBA | custom_widget_background ("#cccccc") |
Variables | |
static cache_t | cache |
Definition at line 25 of file load_image.cc.
Gdk::RGBA custom_widget_background | ( | "#cccccc" | ) |
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.
filename | The 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.
Definition at line 26 of file load_image.cc.