X-Git-Url: https://git.cinelerra-gg.org/git/?p=goodguy%2Fcinelerra.git;a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Fshbtnprefs.h;h=de7050d3dead177506d150b155417c059e01a64b;hp=360222051899c6465a0a5275314c1a8c88f82ccc;hb=3d5faf45a6c261bb3e9973b42cf682415a1fde2e;hpb=bdd6708750aa8b8315e9f4456504903f5f368807;ds=sidebyside diff --git a/cinelerra-5.1/cinelerra/shbtnprefs.h b/cinelerra-5.1/cinelerra/shbtnprefs.h index 36022205..de7050d3 100644 --- a/cinelerra-5.1/cinelerra/shbtnprefs.h +++ b/cinelerra-5.1/cinelerra/shbtnprefs.h @@ -107,12 +107,26 @@ public: ~ShBtnTextOK(); }; -class ShBtnErrWarn : public BC_CheckBox +class ShBtnErrWarnItem : public BC_MenuItem +{ +public: + ShBtnErrWarnItem(ShBtnErrWarn *popup, const char *text, int warn); + ShBtnErrWarnItem(); + int handle_event(); + + ShBtnErrWarn *popup; + int warn; +}; + +class ShBtnErrWarn : public BC_PopupMenu { public: ShBtnErrWarn(ShBtnTextWindow *st_window, int x, int y); ~ShBtnErrWarn(); + void create_objects(); + int handle_event(); + ShBtnTextWindow *st_window; };