titler fixes, auto paste bug, resize popup hang, focus policy fix, chk lang
[goodguy/history.git] / cinelerra-5.1 / guicast / bctextbox.h
index bb79e6899eef69910efa6e9e452e7bf1d6b3fd50..a46661cdc5f3d6dec33ccd9baca409341ed2ee8a 100644 (file)
@@ -250,27 +250,30 @@ public:
                 const wchar_t *default_wtext, int default_size=BCTEXTLEN);
        virtual ~BC_ScrollTextBox();
        void create_objects();
-       virtual int handle_event();
+
+       virtual int handle_event() { return 1; }
        virtual int button_press_event();
        virtual int button_release_event();
-       int get_buttonpress();
 
-       const char* get_text();
-       const wchar_t* get_wtext();
        void set_text(char *text, int isz);
        int set_text_row(int n);
        void update(const char *text);
        void update(const wchar_t *wtext);
-       void set_selection(int char1, int char2, int ibeam);
-       void wset_selection(int char1, int char2, int ibeam);
        void reposition_window(int x, int y, int w, int rows);
+// accessors
+       int get_x() { return x; }
+       int get_y() { return y; }
+       int get_w() { return w; }
+// Visible rows for resizing
+       int get_rows() { return rows; }
 
-       int get_x();
-       int get_y();
-       int get_w();
+// forward functions
        int get_h();
-// Visible rows for resizing
-       int get_rows();
+       const char *get_text();
+       const wchar_t *get_wtext();
+       int get_buttonpress();
+       void wset_selection(int char1, int char2, int ibeam);
+       void set_selection(int char1, int char2, int ibeam);
        int get_ibeam_letter();
 };
 
@@ -319,6 +322,9 @@ public:
        int get_y();
        int get_w();
        int get_h();
+       int get_show_query();
+       void set_show_query(int v);
+
        void update(const char *text);
        void update_list(ArrayList<BC_ListBoxItem*> *data);
        void reposition_window(int x, int y);
@@ -407,6 +413,7 @@ public:
        void set_precision(int precision);
        void set_increment(float value);
        void set_log_floatincrement(int value);
+       void set_tooltip(const char *text);
 
        friend class BC_TumbleTextBoxText;
        friend class BC_TumbleTextBoxTumble;