~ubuntu-branches/ubuntu/karmic/fltk1.1/karmic

« back to all changes in this revision

Viewing changes to FL/mac.H

  • Committer: Bazaar Package Importer
  • Author(s): Aaron M. Ucko
  • Date: 2005-05-22 13:57:06 UTC
  • mfrom: (2.1.1 hoary)
  • Revision ID: james.westby@ubuntu.com-20050522135706-mchag24yf42lu7bu
Tags: 1.1.6-5
* Revert previous change, which seems to have been ineffective for some
  reason, in favor of commenting out the problematic Makefile rule
  altogether.  (Closes: #310151.)
* debian/control: Go back to specifying the URL as part of the
  description rather than via a non-standard field that doesn't seem to
  have caught on.  (Closes: #310240.)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
//
2
 
// "$Id: mac.H,v 1.1.2.11 2004/04/11 04:38:55 easysw Exp $"
 
2
// "$Id: mac.H,v 1.1.2.16 2004/09/09 00:55:41 matthiaswm Exp $"
3
3
//
4
4
// Mac header file for the Fast Light Tool Kit (FLTK).
5
5
//
77
77
  static int fake_X_wm(const Fl_Window*,int&,int&,int&,int&,int&);
78
78
  static void make(Fl_Window*);
79
79
  void flush();
 
80
  // Quartz additions:
 
81
  CGContextRef gc;                 // graphics context (NULL when using QD)
 
82
  static ATSUTextLayout atsu_layout; // windows share a global font
 
83
  static ATSUStyle      atsu_style;
 
84
  static void q_fill_context();    // fill a Quartz context with current FLTK state
 
85
  static void q_clear_clipping();  // remove all clipping from a Quartz context
 
86
  static void q_release_context(Fl_X *x=0); // free all resources associated with fl_gc
 
87
  static void q_begin_image(CGRect&, int x, int y, int w, int h);
 
88
  static void q_end_image();
80
89
};
81
90
 
82
91
inline Window fl_xid(const Fl_Window*w) 
93
102
 
94
103
extern FL_EXPORT void *fl_display;
95
104
extern FL_EXPORT Window fl_window;
 
105
extern FL_EXPORT CGContextRef fl_gc;
96
106
extern FL_EXPORT Handle fl_system_menu;
97
107
extern FL_EXPORT class Fl_Sys_Menu_Bar *fl_sys_menu_bar;
98
108
 
118
128
extern FL_EXPORT int fl_parse_color(const char* p, uchar& r, uchar& g, uchar& b);
119
129
 
120
130
//
121
 
// End of "$Id: mac.H,v 1.1.2.11 2004/04/11 04:38:55 easysw Exp $".
 
131
// End of "$Id: mac.H,v 1.1.2.16 2004/09/09 00:55:41 matthiaswm Exp $".
122
132
//
123
133