synfig-studio
1.0.3
|
#include <workarearenderer.h>
Public Types | |
typedef etl::handle < WorkAreaRenderer > | Handle |
typedef etl::loose_handle < WorkAreaRenderer > | LooseHandle |
Public Member Functions | |
sigc::signal< void > & | signal_changed () |
int | get_w () const |
int | get_h () const |
float | get_pw () const |
float | get_ph () const |
synfig::Point | screen_to_comp_coords (synfig::Point pos) const |
Converts screen coords (ie: pixels) to composition coordinates. | |
synfig::Point | comp_to_screen_coords (synfig::Point pos) const |
Converts composition coordinates to screen coords (ie: pixels) | |
WorkAreaRenderer () | |
virtual | ~WorkAreaRenderer () |
bool | get_enabled () const |
int | get_priority () const |
WorkArea * | get_work_area () const |
void | set_enabled (bool x) |
void | set_priority (int x) |
void | set_work_area (WorkArea *work_area_) |
virtual void | render_vfunc (const Glib::RefPtr< Gdk::Window > &window, const Gdk::Rectangle &expose_area) |
virtual bool | event_vfunc (GdkEvent *event) |
bool | operator< (const WorkAreaRenderer &rhs) |
Protected Member Functions | |
virtual bool | get_enabled_vfunc () const |
typedef etl::handle<WorkAreaRenderer> studio::WorkAreaRenderer::Handle |
typedef etl::loose_handle<WorkAreaRenderer> studio::WorkAreaRenderer::LooseHandle |
WorkAreaRenderer::WorkAreaRenderer | ( | ) |
|
virtual |
|
inline |
Referenced by set_enabled(), and set_priority().
int WorkAreaRenderer::get_w | ( | ) | const |
References studio::WorkArea::get_w(), and get_work_area().
int WorkAreaRenderer::get_h | ( | ) | const |
References studio::WorkArea::get_h(), and get_work_area().
float WorkAreaRenderer::get_pw | ( | ) | const |
References studio::WorkArea::get_pw(), and get_work_area().
float WorkAreaRenderer::get_ph | ( | ) | const |
References studio::WorkArea::get_ph(), and get_work_area().
synfig::Point WorkAreaRenderer::screen_to_comp_coords | ( | synfig::Point | pos | ) | const |
Converts screen coords (ie: pixels) to composition coordinates.
References get_work_area(), and studio::WorkArea::screen_to_comp_coords().
synfig::Point WorkAreaRenderer::comp_to_screen_coords | ( | synfig::Point | pos | ) | const |
Converts composition coordinates to screen coords (ie: pixels)
References studio::WorkArea::comp_to_screen_coords(), and get_work_area().
|
inline |
References get_enabled_vfunc().
|
inline |
|
inline |
Referenced by comp_to_screen_coords(), get_h(), get_ph(), get_pw(), get_w(), and screen_to_comp_coords().
void WorkAreaRenderer::set_enabled | ( | bool | x | ) |
References signal_changed().
void WorkAreaRenderer::set_priority | ( | int | x | ) |
References signal_changed().
void WorkAreaRenderer::set_work_area | ( | WorkArea * | work_area_ | ) |
|
virtual |
|
virtual |
Reimplemented in studio::Renderer_Dragbox, and studio::Renderer_Guides.
|
protectedvirtual |
Reimplemented in studio::Renderer_Dragbox, studio::Renderer_Guides, studio::Renderer_Timecode, studio::Renderer_Background, studio::Renderer_BoneSetup, and studio::Renderer_Grid.
Referenced by get_enabled().
|
inline |