diff options
| author | Manolo Gouy <Manolo> | 2011-01-06 10:24:58 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2011-01-06 10:24:58 +0000 |
| commit | bc509d32eb741e5d3876eaaf0abd270cf68cd3b4 (patch) | |
| tree | 54dc5262309cd9a5d89812f6f3ac42439ffc2f2e /README.Cairo.txt | |
| parent | ead3432f9b9629f201bba47e1b3fbf25d487eba8 (diff) | |
Fix STR #2504 (first part). Replaced HAVE _CAIRO by FLTK_HAVE_CAIRO and USE_CAIRO
by FLTK_USE_CAIRO everywhere.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8198 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'README.Cairo.txt')
| -rw-r--r-- | README.Cairo.txt | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/README.Cairo.txt b/README.Cairo.txt index ba3bdb8bf..38fc6ffa2 100644 --- a/README.Cairo.txt +++ b/README.Cairo.txt @@ -39,7 +39,7 @@ as in fltk2. All the changes are *inactive* as long as the new configuration option --enable-cairo is not added to the configure command. -For non configure based platforms/ide, the HAVE_CAIRO preprocess var. +For non configure based platforms/ide, the FLTK_HAVE_CAIRO preprocess var. has to be defined. All configure based build files has now this feature integrated, also vc2005 build files have 2 new build modes "Release Cairo" and @@ -79,7 +79,7 @@ in the Modules section. ----------------------- From Bill: -First there is the HAVE_CAIRO configuration option. This indicates that +First there is the FLTK_HAVE_CAIRO configuration option. This indicates that any cairo calls are available. In this case you get something like this: // static variable holding the last cairo context fltk set: @@ -95,14 +95,14 @@ void Fl::cairo_make_current(Fl_Window*) // thus cannot be destroyed or reused for a different window: void Fl::cairo_make_current(cairo_t*) -Second there is the USE_CAIRO configuration option. This means that all +Second there is the FLTK_USE_CAIRO configuration option. This means that all drawing is done using Cairo. In this case when a widget draw() method is called, it is exactly as though cairo_make_current(window) has been done. *** -Note that it should be possible to compile so HAVE_CAIRO works even if -USE_CAIRO does not, and so that turning on USE_CAIRO does not break any -programs written for HAVE_CAIRO. +Note that it should be possible to compile so FLTK_HAVE_CAIRO works even if +FLTK_USE_CAIRO does not, and so that turning on FLTK_USE_CAIRO does not break any +programs written for FLTK_HAVE_CAIRO. DOCUMENT HISTORY |
