X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=gtk2_ardour%2Fcanvas_vars.h;h=7688f0c62903b967ce3f381a0ee99d35fa517084;hb=3aa7dacfdf214f0db9330d975e94b7697a0259eb;hp=06ae244816ccc6fb98013f26fac00d21f4109390;hpb=702cca1c93fe3a8c142380cba724823ff7a1f26b;p=ardour.git diff --git a/gtk2_ardour/canvas_vars.h b/gtk2_ardour/canvas_vars.h index 06ae244816..7688f0c629 100644 --- a/gtk2_ardour/canvas_vars.h +++ b/gtk2_ardour/canvas_vars.h @@ -188,3 +188,19 @@ BUTTON_VARS(MouseModeButton, "mouse mode button") BUTTON_VARS(ZoomButton, "zoom button") BUTTON_VARS(RouteButton, "route button") +#define CLOCK_VARS(root,name) \ + CANVAS_VARIABLE(canvasvar_ ## root ## Background, name ": background") \ + CANVAS_VARIABLE(canvasvar_ ## root ## Text, name ": text") \ + CANVAS_VARIABLE(canvasvar_ ## root ## EditedText, name ": edited text") \ + CANVAS_VARIABLE(canvasvar_ ## root ## Cursor, name ": cursor") + +CLOCK_VARS(TransportClock, "transport clock") +CLOCK_VARS(SecondaryClock, "secondary clock") +CLOCK_VARS(TransportDeltaClock, "transport delta clock") +CLOCK_VARS(SecondaryDeltaClock, "secondary delta clock") +CLOCK_VARS(BigClock, "big clock") +CLOCK_VARS(BigClockActive, "big clock active") +CLOCK_VARS(PunchClock, "punch clock") +CLOCK_VARS(SelectionClock, "selection clock") +CLOCK_VARS(NudgeClock, "nudge clock") +CLOCK_VARS(GenericClock, "clock")