summaryrefslogtreecommitdiff
path: root/src/Fl_Shared_Image.cxx
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2002-07-14 21:25:39 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>2002-07-14 21:25:39 +0000
commitd0f18c45b5052098236b042331a578620d7b05be (patch)
tree0c8b43075631c98670bffa3cc83e3c4ea9f23ee7 /src/Fl_Shared_Image.cxx
parent7c4010a10684b49ad3ae85ef87af658acd3b038e (diff)
Boy, aren't WIN32 compilers *so* much fun.
Fix more export problems, make some more static inline methods regular functions, don't use FL_NORMAL_SIZE in a static initializer since BC++ doesn't seem to support it... git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2531 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_Shared_Image.cxx')
-rw-r--r--src/Fl_Shared_Image.cxx15
1 files changed, 13 insertions, 2 deletions
diff --git a/src/Fl_Shared_Image.cxx b/src/Fl_Shared_Image.cxx
index f101d2afe..fabcc191f 100644
--- a/src/Fl_Shared_Image.cxx
+++ b/src/Fl_Shared_Image.cxx
@@ -1,5 +1,5 @@
//
-// "$Id: Fl_Shared_Image.cxx,v 1.23.2.14 2002/06/28 21:04:36 easysw Exp $"
+// "$Id: Fl_Shared_Image.cxx,v 1.23.2.15 2002/07/14 21:25:39 easysw Exp $"
//
// Shared image code for the Fast Light Tool Kit (FLTK).
//
@@ -60,6 +60,17 @@ extern "C" {
}
+// Static methods that really should be inline, but some WIN32 compilers
+// can't handle it...
+Fl_Shared_Image **Fl_Shared_Image::images() {
+ return images_;
+}
+
+int Fl_Shared_Image::num_images() {
+ return num_images_;
+}
+
+
//
// 'Fl_Shared_Image::compare()' - Compare two shared images...
//
@@ -456,5 +467,5 @@ Fl_Shared_Image::remove_handler(Fl_Shared_Handler f) {
//
-// End of "$Id: Fl_Shared_Image.cxx,v 1.23.2.14 2002/06/28 21:04:36 easysw Exp $".
+// End of "$Id: Fl_Shared_Image.cxx,v 1.23.2.15 2002/07/14 21:25:39 easysw Exp $".
//