From c5f62494f14629797c109acc0b3048203a1adb6a Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sun, 3 Nov 2002 12:27:49 +0000 Subject: fix compiling in display. make the timer manager work in and of itself --- otk/display.cc | 5 +++++ otk/display.hh | 6 +----- 2 files changed, 6 insertions(+), 5 deletions(-) (limited to 'otk') 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(_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(_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; } -- cgit v1.2.3