/[xforms]/xforms/lib/tooltip.c
ViewVC logotype

Diff of /xforms/lib/tooltip.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.5 by leeming, Thu Apr 24 09:35:35 2003 UTC revision 1.6 by leeming, Tue Sep 9 00:28:25 2003 UTC
# Line 24  Line 24 
24   * \file tooltip.c   * \file tooltip.c
25   *.   *.
26   *  This file is part of the XForms library package.   *  This file is part of the XForms library package.
27   *  Copyright (c) 1998-2002  T.C. Zhao   *  Copyright (c) 1998-2002  T.C. Zhao
28   *  All rights reserved.   *  All rights reserved.
29   *.   *.
30   *   *
# Line 100  fl_show_tooltip(const char *s, int x, in Line 100  fl_show_tooltip(const char *s, int x, in
100      create_it();      create_it();
101    
102      extra = 1 + !(tip->boxtype == FL_FLAT_BOX || tip->boxtype == FL_BORDER_BOX);      extra = 1 + !(tip->boxtype == FL_FLAT_BOX || tip->boxtype == FL_BORDER_BOX);
103      fl_get_string_dimension(tip->fntstyle, tip->fntsize,      fl_get_string_dimension(tip->fntstyle, tip->fntsize,
104                              s, strlen(s), &maxw, &maxh);                              s, strlen(s), &maxw, &maxh);
105    
106      maxw += 7 + extra;      maxw += 7 + extra;
# Line 147  fl_set_tooltip_font(int style, int size) Line 147  fl_set_tooltip_font(int style, int size)
147      fl_set_object_lsize(tip->text, tip->fntsize = size);      fl_set_object_lsize(tip->text, tip->fntsize = size);
148  }  }
149    
150  void  void
151  fl_set_tooltip_lalign(int align)  fl_set_tooltip_lalign(int align)
152  {  {
153      create_it();      create_it();

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26