mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-11 21:49:51 +00:00
98385a16b8
Citation and Texinfo dialogs. Remove all the horrible #if FL_REVISION < 89 cruft from FormBase and put it in a little wrapper class Tooltips. For now use the 0.88 code for all versions of xforms as I can't see an easy way of changing the tooltip on the fly with fl_set_object_helper. To use, call setTooltipHandler for each widget, add a choice widget to the dialog together with 4 lines of code to set/get the level of verbosity. Finally, and two methods, getMinimalTooltip and getVerboseTooltip to return the tooltip. What could be easier? Please try this out. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3496 a592a061-630c-0410-9148-cb99ea01b6c8
29 lines
712 B
C
29 lines
712 B
C
// File modified by fdfix.sh for use by lyx (with xforms >= 0.88) and gettext
|
|
/** Header file generated with fdesign **/
|
|
|
|
#ifndef FD_form_bibtex_h_
|
|
#define FD_form_bibtex_h_
|
|
|
|
/** Callbacks, globals and object handlers **/
|
|
extern "C" void C_FormBaseInputCB(FL_OBJECT *, long);
|
|
extern "C" void C_FormBaseOKCB(FL_OBJECT *, long);
|
|
extern "C" void C_FormBaseCancelCB(FL_OBJECT *, long);
|
|
|
|
|
|
/**** Forms and Objects ****/
|
|
struct FD_form_bibtex {
|
|
~FD_form_bibtex();
|
|
|
|
FL_FORM *form;
|
|
FL_OBJECT *database;
|
|
FL_OBJECT *button_ok;
|
|
FL_OBJECT *button_cancel;
|
|
FL_OBJECT *style;
|
|
FL_OBJECT *database_browse;
|
|
FL_OBJECT *style_browse;
|
|
FL_OBJECT *radio_bibtotoc;
|
|
FL_OBJECT *choice_help;
|
|
};
|
|
|
|
#endif /* FD_form_bibtex_h_ */
|