mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-09-23 08:39:07 +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
30 lines
716 B
C
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_ */
|