Fixed byte order in OS X cursor shape data. Added Xft font pointer fl_xftfont.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5262 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Matthias Melcher
2006-07-18 11:23:20 +00:00
parent b6f3595669
commit e6818b19a6
5 changed files with 16 additions and 1 deletions
+11 -1
View File
@@ -139,7 +139,17 @@ href="drawing.html#fl_color"><TT>fl_color()</TT></A> would use.
href="drawing.html#fl_font"><TT>fl_font()</TT></A>. This is not
necessarily the current font of <TT>fl_gc</TT>, which is not set
until <A href="drawing.html#text"><TT>fl_draw()</TT></A> is
called.
called. If FLTK was compiled with Xft support, <TT>fl_xfont</TT>
will usually be 0 and <TT>fl_xftfont</TT> will contain a pointer
to the XftFont structure instead.
<H4><A name="fl_xftfont">extern void *fl_xftfont</A></H4>
<P>If FLTK was compiled with Xft support enabled, <tt>fl_xftfont</tt>
Points to the xft font selected by the most recent <A
href="drawing.html#fl_font"><TT>fl_font()</TT></A>. Otherwise
it will be 0. <tt>fl_xftfont</tt> should be casted to
<tt>XftFont*</tt>.
<H3>Changing the Display, Screen, or X Visual</H3>