lyx_mirror/src/frontends/xforms/form_texinfo.h
Angus Leeming 98385a16b8 Stabilise the tooltips interface and use it successfully in the Bibtex,
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
2002-02-06 17:15:28 +00:00

30 lines
716 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_texinfo_h_
#define FD_form_texinfo_h_
/** Callbacks, globals and object handlers **/
extern "C" void C_FormBaseInputCB(FL_OBJECT *, long);
extern "C" void C_FormBaseCancelCB(FL_OBJECT *, long);
/**** Forms and Objects ****/
struct FD_form_texinfo {
~FD_form_texinfo();
FL_FORM *form;
FL_OBJECT *browser;
FL_OBJECT *radio_cls;
FL_OBJECT *radio_sty;
FL_OBJECT *radio_bst;
FL_OBJECT *button_rescan;
FL_OBJECT *button_view;
FL_OBJECT *button_fullPath;
FL_OBJECT *button_texhash;
FL_OBJECT *button_close;
FL_OBJECT *choice_help;
};
#endif /* FD_form_texinfo_h_ */