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

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

#include "common/dsp/region.h"
#include "common/utils/ui.h"
#include "gui/backend/gtk_widgets/arranger_object.h"
#include "gui/backend/gtk_widgets/gtk_wrapper.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 (const Region *self, GdkRectangle *rect)
 Returns the lane rectangle for the region.
ATTR_HOT void region_draw (Region *self, GtkSnapshot *snapshot, GdkRectangle *rect)
 Draws the Region in the given cairo context in relative coordinates.

Detailed Description

Base widget class for Region's.

Definition in file region.h.