]> git.lyx.org Git - features.git/commit
Stabilise the tooltips interface and use it successfully in the Bibtex,
authorAngus Leeming <leeming@lyx.org>
Wed, 6 Feb 2002 17:15:28 +0000 (17:15 +0000)
committerAngus Leeming <leeming@lyx.org>
Wed, 6 Feb 2002 17:15:28 +0000 (17:15 +0000)
commit98385a16b87859f19d1c726b46ba5e7ca18167fb
treeae737b3b31ecabf5302b72b421582ce08e85b0ab
parent832f62039838585b9ade78020b295d0c1c124a74
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
21 files changed:
src/frontends/xforms/ChangeLog
src/frontends/xforms/FormBase.C
src/frontends/xforms/FormBase.h
src/frontends/xforms/FormBibtex.C
src/frontends/xforms/FormBibtex.h
src/frontends/xforms/FormCitation.C
src/frontends/xforms/FormCitation.h
src/frontends/xforms/FormTexinfo.C
src/frontends/xforms/FormTexinfo.h
src/frontends/xforms/Makefile.am
src/frontends/xforms/Tooltips.C [new file with mode: 0644]
src/frontends/xforms/Tooltips.h [new file with mode: 0644]
src/frontends/xforms/form_bibtex.C
src/frontends/xforms/form_bibtex.h
src/frontends/xforms/form_citation.C
src/frontends/xforms/form_citation.h
src/frontends/xforms/form_texinfo.C
src/frontends/xforms/form_texinfo.h
src/frontends/xforms/forms/form_bibtex.fd
src/frontends/xforms/forms/form_citation.fd
src/frontends/xforms/forms/form_texinfo.fd