Lumiera  0.pre.03
»edityourfreedom«
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Canvas Class Reference

#include "gui/panel/timeline-panel.hpp"

Description

"experimental" custom canvas, based on Gtk::Layout.

In addition this customised widget supports direct drawing

Definition at line 85 of file timeline-panel.hpp.

Public Member Functions

void adjustSize ()
 
void enableDraw (bool)
 

Private Member Functions

void determineExtension ()
 
virtual bool on_draw (Cairo::RefPtr< Cairo::Context > const &) override
 

Private Attributes

bool recalcExtension_
 
bool shallDraw_
 

Member Function Documentation

void enableDraw ( bool  yes)

Definition at line 229 of file timeline-panel.cpp.

References Canvas::shallDraw_.

Referenced by TimelinePanel::TimelinePanel().

+ Here is the caller graph for this function:

void adjustSize ( )

Definition at line 247 of file timeline-panel.cpp.

References Canvas::recalcExtension_.

Referenced by TimelinePanel::experiment_1(), TimelinePanel::experiment_2(), TimelinePanel::experiment_3(), and TimelinePanel::TimelinePanel().

+ Here is the caller graph for this function:

bool on_draw ( Cairo::RefPtr< Cairo::Context > const &  cox)
overrideprivatevirtual

Definition at line 276 of file timeline-panel.cpp.

References Canvas::determineExtension(), and Canvas::shallDraw_.

+ Here is the call graph for this function:

void determineExtension ( )
private

Definition at line 253 of file timeline-panel.cpp.

References lib::meta::max(), and Canvas::recalcExtension_.

Referenced by Canvas::on_draw().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

bool shallDraw_
private

Definition at line 88 of file timeline-panel.hpp.

Referenced by Canvas::enableDraw(), and Canvas::on_draw().

bool recalcExtension_
private

Definition at line 89 of file timeline-panel.hpp.

Referenced by Canvas::adjustSize(), and Canvas::determineExtension().

+ Inheritance diagram for Canvas:
+ Collaboration diagram for Canvas:

The documentation for this class was generated from the following files: