Lumiera  0.pre.03
»edityourfreedom«
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

◆ enableDraw()

void enableDraw ( bool  yes)

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

Referenced by TimelinePanel::TimelinePanel().

+ Here is the caller graph for this function:

◆ adjustSize()

void adjustSize ( )

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

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

+ Here is the caller graph for this function:

◆ on_draw()

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

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

References ChildEx::childNo.

◆ determineExtension()

void determineExtension ( )
private

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

References lib::meta::max().

+ Here is the call graph for this function:

Member Data Documentation

◆ shallDraw_

bool shallDraw_
private

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

◆ recalcExtension_

bool recalcExtension_
private

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

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

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