titler fixes, auto paste bug, resize popup hang, focus policy fix, chk lang
[goodguy/history.git] / cinelerra-5.1 / plugins / titler / titler.h
index d24dbbbdfd8c11f4082fd968b46780017513646b..5192e67e2ab11064bffd53910e12e017f3e80e47 100644 (file)
@@ -482,8 +482,8 @@ public:
 class TitleCurFont : public TitleStack<BC_FontEntry*>
 {
 public:
-       BC_FontEntryget(const char *txt, int style);
-       int set(const char *txt, int style);
+       BC_FontEntry *get(const char *txt, int style);
+       BC_FontEntry *set(const char *txt, int style);
        int style();
        virtual int set(const char *txt=0);
        virtual int unset(const char *txt);
@@ -566,6 +566,7 @@ public:
        void update_gui();
        void save_data(KeyFrame *keyframe);
        void read_data(KeyFrame *keyframe);
+       void insert_text(const char *txt, int pos);
 
        void build_previews(TitleWindow *gui);
        void reset_render();
@@ -593,7 +594,7 @@ public:
        Indexable *open_background(const char *filename);
        int read_background(VFrame *frame, int64_t position, int color_model);
        void draw_background();
-       BC_FontEntry* get_font(const char *font_name, int style);
+       static BC_FontEntry* get_font(const char *font_name, int style);
        BC_FontEntry* config_font();
        TitleGlyph *get_glyph(FT_ULong char_code, BC_FontEntry *font, int size, int style);
        int get_width(TitleGlyph *cur, TitleGlyph *nxt);