X-Git-Url: http://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fguicast%2Fbclistbox.h;h=66d13255f86bb2b59bd7782586923dcd127104de;hb=a07e46d684a8aff4b56566b010b697ba9891872d;hp=e815a7f7edd1935616c4f4d5efb5096116f480b0;hpb=25bafacda1fe9d8a9520cad451547a75d934c1bb;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.1/guicast/bclistbox.h b/cinelerra-5.1/guicast/bclistbox.h index e815a7f7..66d13255 100644 --- a/cinelerra-5.1/guicast/bclistbox.h +++ b/cinelerra-5.1/guicast/bclistbox.h @@ -253,6 +253,9 @@ public: void set_justify(int value); int get_w() { return is_popup ? BCPOPUPLISTBOX_W : popup_w; } int get_h() { return is_popup ? BCPOPUPLISTBOX_H : popup_h; } + int gui_tooltip(const char *text) { + return is_popup && gui ? gui->show_tooltip(text, gui->get_w(),0, -1,-1) : -1; + } int get_view_w() { return view_w; } int get_view_h() { return view_h; } int get_row_height() { return row_height; } @@ -275,6 +278,9 @@ public: void reset_query(); + int get_show_query() { return show_query; } + void set_show_query(int v) { show_query = v; } + int reposition_window(int x, int y, int w = -1, @@ -503,7 +509,7 @@ private: BC_ListBoxYScroll *yscrollbar; ArrayList expanders; char query[BCTEXTLEN]; - + int show_query; // Window containing the listbox BC_WindowBase *gui; @@ -534,7 +540,6 @@ private: int list_background; - // Popup button BC_Pixmap *button_images[4]; // Expander