summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--FL/Fl_Cairo.H8
-rw-r--r--FL/Fl_Cairo_Window.H6
-rw-r--r--src/Fl_Cairo.cxx4
3 files changed, 9 insertions, 9 deletions
diff --git a/FL/Fl_Cairo.H b/FL/Fl_Cairo.H
index 15cd14831..3793b669f 100644
--- a/FL/Fl_Cairo.H
+++ b/FL/Fl_Cairo.H
@@ -26,7 +26,7 @@
//
/** \file
- Hanling transparently platform dependent cairo include files
+ Handling transparently platform dependent cairo include files
*/
#ifndef FL_CAIRO_H
@@ -68,7 +68,7 @@ public:
// access attributes
cairo_t* cc() const {return cc_;} ///< Gets the current cairo context
- bool autolink() const {return autolink_;} ///< Sets the autolink option \see Fl:cairo_autolink_context(bool)
+ bool autolink() const {return autolink_;} ///< Sets the autolink option \see Fl::cairo_autolink_context(bool)
void cc(cairo_t* c, bool own=true) { ///< Sets the current cairo context, \a own indicates cc deletion is made by us
if (cc_ && own_cc_) cairo_destroy(cc_);
cc_=c;
@@ -76,9 +76,9 @@ public:
own_cc_=own;
}
void autolink(bool b) {autolink_ = b;} ///< Gets the autolink option
- void window(void* w) {window_=w;} ///< Sets the window \w to keep track on
+ void window(void* w) {window_=w;} ///< Sets the window \a w to keep track on
void* window() const {return window_;} ///< Gets the last window attached to a cc
- void gc(void* c) {gc_=c;} ///< Sets the gc \c to keep track on
+ void gc(void* c) {gc_=c;} ///< Sets the gc \a c to keep track on
void* gc() const {return gc_;} ///< Gets the last gc attached to a cc
private:
diff --git a/FL/Fl_Cairo_Window.H b/FL/Fl_Cairo_Window.H
index 3914657a9..a711577c8 100644
--- a/FL/Fl_Cairo_Window.H
+++ b/FL/Fl_Cairo_Window.H
@@ -26,7 +26,7 @@
//
/** \file
- Fl_Cairo_Window Hanling transparently a fltk window incorporte a cairo draw callback.
+ Fl_Cairo_Window Handling transparently a fltk window incorporte a cairo draw callback.
*/
#ifndef FL_CAIRO_WINDOW_H
@@ -50,8 +50,8 @@
All cairo context handling is achieved transparently.
\note You can alternatively define your custom cairo fltk window,
and thus at least override the draw() method to provide custom cairo
- support. In this case you will probably use Fl:cairo_make_current(Fl_Window*)
- to attach a context to your window. You should do it on ly when your Window is
+ support. In this case you will probably use Fl::cairo_make_current(Fl_Window*)
+ to attach a context to your window. You should do it only when your window is
the current window. \see Fl_Window::current()
*/
class FL_EXPORT Fl_Cairo_Window : public Fl_Double_Window {
diff --git a/src/Fl_Cairo.cxx b/src/Fl_Cairo.cxx
index 6a87d3c8c..dda01f142 100644
--- a/src/Fl_Cairo.cxx
+++ b/src/Fl_Cairo.cxx
@@ -37,7 +37,7 @@ Fl_Cairo_State Fl::cairo_state_; ///< contains all necesary info for current cai
// Fl cairo features implementation
/**
- Provides a corresponding cairo context for Window \a w.
+ Provides a corresponding cairo context for window \a wi.
This is needed in a draw() override if Fl::cairo_autolink_context()
returns false, which is the default.
The cairo_context() does not need to be freed as it is freed every time
@@ -93,7 +93,7 @@ static cairo_surface_t * cairo_create_surface(void * gc, int W, int H) {
}
/**
- Creates a cairo context from a \a gc only, get its window size or offscreen size if fl_window is null
+ Creates a cairo context from a \a gc only, get its window size or offscreen size if fl_window is null.
\note Only available when configure has the --enable-cairo option
*/
cairo_t * Fl::cairo_make_current(void *gc) {