Lumiera  0.pre.03
»edityourfreedom«
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
gui::util Namespace Reference

Description

GUI helpers, utility functions and classes.

Classes

class  CairoUtil
 

Functions

bool pt_in_rect (Gdk::Point const &point, Gdk::Rectangle const &rect)
 determine whether point is within the bounding box of a rectangle More...
 
bool rects_overlap (Gdk::Rectangle const &a, Gdk::Rectangle const &b)
 determine whether two rectangles overlap More...
 

Function Documentation

bool pt_in_rect ( const Gdk::Point &  point,
const Gdk::Rectangle &  rect 
)

determine whether point is within the bounding box of a rectangle

Definition at line 39 of file rectangle.cpp.

Referenced by TimelineLayoutHelper::attempt_drop(), TimelineLayoutHelper::header_from_point(), and TimelineHeaderWidget::on_motion_notify_event().

+ Here is the caller graph for this function:

bool rects_overlap ( Gdk::Rectangle const &  a,
Gdk::Rectangle const &  b 
)

determine whether two rectangles overlap

Definition at line 48 of file rectangle.cpp.

References util::max(), and util::min().

+ Here is the call graph for this function: