diff options
| author | Manolo Gouy <Manolo> | 2010-12-23 16:11:29 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2010-12-23 16:11:29 +0000 |
| commit | 51ff20b053fc430d22697ac70a2b9eae8e530d9b (patch) | |
| tree | 8d3101a0084f47625f87af444052645bd5bbce50 /documentation/src | |
| parent | a8530c73fa2e7a53f0fcef9f391ce3ea6cbd6c4a (diff) | |
Added doc of fl_open_display() and fl_gc under OS X.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8114 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'documentation/src')
| -rw-r--r-- | documentation/src/osissues.dox | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/documentation/src/osissues.dox b/documentation/src/osissues.dox index ed87a1163..df2b98454 100644 --- a/documentation/src/osissues.dox +++ b/documentation/src/osissues.dox @@ -673,6 +673,13 @@ Whenever the user drops a file onto an application icon, OS X generates an Apple Event of the type "Open". You can have FLTK notify you of an Open event by setting the \c fl_open_callback +void fl_open_display() + +\par +Opens the display. Does nothing if it is already open. You should call +this if you wish to do Quartz calls and there is a chance that your +code will be called before the first \c show() of a window. + Window fl_xid(const Fl_Window *) \par @@ -713,7 +720,9 @@ All code inside Fl_Widget::draw() is expected to call Quartz drawing functions. The Quartz coordinate system is flipped to match FLTK's coordinate system. The origin for all drawing is in the top -left corner of the enclosing Fl_Window. +left corner of the enclosing Fl_Window. The global variable +\c fl_gc is the appropriate Quartz 2D drawing environment. +Include FL/x.H to declare the \c fl_gc variable. Fl_Double_Window |
