#include <game_window.h>
Public Member Functions | |
draw_area (BaseObjectType *cobject, const Glib::RefPtr< Gnome::Glade::Xml > &refGlade) | |
virtual | ~draw_area () |
Public Attributes | |
game_window * | curr |
Protected Member Functions | |
void | bg_image (string name, int x, int y) |
void | calc_background () |
void | move_background (int dir) |
void | image (string name, int x, int y) |
virtual bool | on_expose_event (GdkEventExpose *event) |
Protected Attributes | |
Glib::RefPtr < Gdk::Pixmap > | background |
Glib::RefPtr < Gnome::Glade::Xml > | m_refGlade |
draw_area::draw_area | ( | BaseObjectType * | cobject, | |
const Glib::RefPtr< Gnome::Glade::Xml > & | refGlade | |||
) | [inline] |
virtual draw_area::~draw_area | ( | ) | [inline, virtual] |
void draw_area::bg_image | ( | string | name, | |
int | x, | |||
int | y | |||
) | [protected] |
void draw_area::calc_background | ( | ) | [protected] |
void draw_area::move_background | ( | int | dir | ) | [protected] |
void draw_area::image | ( | string | name, | |
int | x, | |||
int | y | |||
) | [protected] |
bool draw_area::on_expose_event | ( | GdkEventExpose * | event | ) | [protected, virtual] |
Glib::RefPtr<Gdk::Pixmap> draw_area::background [protected] |
Glib::RefPtr<Gnome::Glade::Xml> draw_area::m_refGlade [protected] |