Un-inlined Fl_Window::icon() methods to make them easier to extend w/o

breaking the ABI. See discussion in STR #2563.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8472 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Albrecht Schlosser 2011-02-25 08:44:47 +00:00
parent 27987c6ee0
commit 94e5f2e1fc
2 changed files with 15 additions and 7 deletions

View File

@ -330,10 +330,8 @@ public:
static const char *default_xclass();
const char* xclass() const;
void xclass(const char* c);
/** Gets the current icon window target dependent data. */
const void* icon() const {return icon_;}
/** Sets the current icon window target dependent data. */
void icon(const void * ic) {icon_ = ic;}
const void* icon() const;
void icon(const void * ic);
/**
Returns non-zero if show() has been called (but not hide()

View File

@ -277,6 +277,16 @@ const char *Fl_Window::xclass() const
}
}
/** Gets the current icon window target dependent data. */
const void *Fl_Window::icon() const {
return icon_;
}
/** Sets the current icon window target dependent data. */
void Fl_Window::icon(const void * ic) {
icon_ = ic;
}
//
// End of "$Id$".