Commit 0cc2aa4 1 parent 4cff3b4 commit 0cc2aa4 Copy full SHA for 0cc2aa4
File tree 2 files changed +8
-1
lines changed
2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -325,7 +325,7 @@ namespace cycfi { namespace elements
325
325
};
326
326
327
327
// //////////////////////////////////////////////////////////////////////////
328
- inline void base_view::draw (cairo_t * /* ctx */ , rect /* area */ ) {};
328
+ inline void base_view::draw (cairo_t * /* ctx */ , rect /* area */ ) {}
329
329
inline void base_view::click (mouse_button /* btn */ ) {}
330
330
inline void base_view::drag (mouse_button /* btn */ ) {}
331
331
inline void base_view::cursor (point /* p */ , cursor_tracking /* status */ ) {}
Original file line number Diff line number Diff line change @@ -69,6 +69,13 @@ namespace cycfi { namespace elements
69
69
return (a * (1.0 - f)) + (b * f);
70
70
}
71
71
72
+ #ifndef __APPLE__
73
+ auto const & cairo_user_data_key ()
74
+ {
75
+ static const cairo_user_data_key_t key = {};
76
+ return key;
77
+ }
78
+ #endif
72
79
namespace fc
73
80
{
74
81
struct font_config_deleter
You can’t perform that action at this time.
0 commit comments