[Frugalware-git] fwsetup-ng: add user interface functions for retrieving data

James Buren ryuo at frugalware.org
Fri Aug 24 23:19:33 CEST 2012


Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=fwsetup-ng.git;a=commitdiff;h=acf84aeaa66973fe1795459f90e61d696790ce92

commit acf84aeaa66973fe1795459f90e61d696790ce92
Author: James Buren <ryuo at frugalware.org>
Date:   Fri Aug 24 16:18:58 2012 -0500

add user interface functions for retrieving data

diff --git a/UserInterface.hh b/UserInterface.hh
index 086622f..1ab2c22 100644
--- a/UserInterface.hh
+++ b/UserInterface.hh
@@ -7,6 +7,12 @@ public:
UserInterface();
~UserInterface();
bool initialize(int argc,char **argv);
+  int getScreenWidth() { return _s_width; }
+  int getScreenHeight() { return _s_height; }
+  int getWindowWidth() { return _w_width; }
+  int getWindowHeight() { return _w_height; }
+  int getWindowXOffset() { return _x; }
+  int getWindowYOffset() { return _y; }

private:
int _s_width;


More information about the Frugalware-git mailing list