summaryrefslogtreecommitdiff
path: root/otk
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2002-11-03 12:27:49 +0000
committerDana Jansens <danakj@orodu.net>2002-11-03 12:27:49 +0000
commitc5f62494f14629797c109acc0b3048203a1adb6a (patch)
treeef003671e4265f9e07899b731ef90b84fd91a759 /otk
parent8ad26109179bd81f046e4aa6f4e5bd698fa1b9be (diff)
fix compiling in display.
make the timer manager work in and of itself
Diffstat (limited to 'otk')
-rw-r--r--otk/display.cc5
-rw-r--r--otk/display.hh6
2 files changed, 6 insertions, 5 deletions
diff --git a/otk/display.cc b/otk/display.cc
index 45924428..c30855d6 100644
--- a/otk/display.cc
+++ b/otk/display.cc
@@ -158,6 +158,11 @@ void OBDisplay::destroy()
}
+const ScreenInfo* OBDisplay::screenInfo(int snum) {
+ assert(snum >= 0);
+ assert(snum < static_cast<int>(_screenInfoList.size()));
+ return &_screenInfoList[snum];
+}
diff --git a/otk/display.hh b/otk/display.hh
index 7724bbab..13ceaa36 100644
--- a/otk/display.hh
+++ b/otk/display.hh
@@ -50,11 +50,7 @@ public:
\param snum The screen number of the screen to retrieve info on
\return Info on the requested screen, in a ScreenInfo class
*/
- inline static const ScreenInfo* screenInfo(int snum) {
- assert(snum >= 0);
- assert(snum < static_cast<int>(_screenInfoList.size()));
- return &_screenInfoList[snum];
- }
+ static const ScreenInfo* screenInfo(int snum);
//! Returns if the display has the shape extention available
inline static bool shape() { return _shape; }