Zrythm
a highly automated and intuitive digital audio workstation
Loading...
Searching...
No Matches
region.h File Reference

Base widget class for Region's. More...

#include "dsp/region.h"
#include "gui/widgets/arranger_object.h"
#include "utils/ui.h"
#include <gtk/gtk.h>
Include dependency graph for region.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define REGION_NAME_FONT_NO_SIZE   "Bold"
 
#define REGION_NAME_FONT   REGION_NAME_FONT_NO_SIZE " 8"
 
#define REGION_NAME_PADDING_R   5
 
#define REGION_NAME_BOX_PADDING   2
 
#define REGION_NAME_BOX_CURVINESS   4.0
 

Functions

void region_get_lane_full_rect (ZRegion *self, GdkRectangle *rect)
 Returns the lane rectangle for the region.
 
HOT void region_draw (ZRegion *self, GtkSnapshot *snapshot, GdkRectangle *rect)
 Draws the ZRegion in the given cairo context in relative coordinates.
 

Detailed Description

Base widget class for Region's.

Definition in file region.h.