summaryrefslogtreecommitdiff
path: root/otk/display.cc
diff options
context:
space:
mode:
Diffstat (limited to 'otk/display.cc')
-rw-r--r--otk/display.cc5
1 files changed, 5 insertions, 0 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];
+}