add stacked edl editing, add sketcher/vframe line anti-aliasing
[goodguy/cinelerra.git] / cinelerra-5.1 / guicast / bcbutton.h
index 2250dc6dc3f3993714607c08701b9d95fb314477..372b4d30a7abf0e103cbc09dda5237d5d23f1c24 100644 (file)
@@ -75,6 +75,8 @@ private:
 
 class BC_GenericButton : public BC_Button
 {
+       int color;
+       char text[BCTEXTLEN];
 public:
        BC_GenericButton(int x, int y,
                const char *text, VFrame **data = 0, int color=-1);
@@ -85,10 +87,8 @@ public:
        int draw_face(int flash = 1);
        static int calculate_w(BC_WindowBase *gui, const char *text);
        static int calculate_h();
+       void set_text(const char *cp);
        const char *get_text () { return text; }
-private:
-       int color;
-       char text[BCTEXTLEN];
 };
 
 class BC_OKTextButton : public BC_GenericButton