Various work on osgViewer library, including warp point and graphics window resize support
This commit is contained in:
@@ -64,10 +64,10 @@ class OSGGA_EXPORT EventQueue : public osg::Referenced
|
||||
|
||||
|
||||
/** Method for adapting window resize event, placing this event on the back of the event queue. */
|
||||
void windowResize(int x, int y, unsigned int width, unsigned int height) { windowResize(x,y,width,height,getTime()); }
|
||||
void windowResize(int x, int y, int width, int height) { windowResize(x,y,width,height,getTime()); }
|
||||
|
||||
/** Method for adapting window resize event, placing this event on the back of the event queue, with specified time. */
|
||||
void windowResize(int x, int y, unsigned int width, unsigned int height, double time);
|
||||
void windowResize(int x, int y, int width, int height, double time);
|
||||
|
||||
|
||||
/** Method for adapting mouse scroll wheel events, placing this event on the back of the event queue. */
|
||||
|
||||
@@ -274,7 +274,7 @@ public:
|
||||
|
||||
|
||||
/** set window rectangle. */
|
||||
void setWindowRectangle(int x, int y, unsigned int width, unsigned int height, bool updateMouseRange = true);
|
||||
void setWindowRectangle(int x, int y, int width, int height, bool updateMouseRange = true);
|
||||
|
||||
/** get window x origin.*/
|
||||
int getWindowX() const { return _windowX; }
|
||||
@@ -283,10 +283,10 @@ public:
|
||||
int getWindowY() const { return _windowY; }
|
||||
|
||||
/** get window width.*/
|
||||
unsigned int getWindowWidth() const { return _windowWidth; }
|
||||
int getWindowWidth() const { return _windowWidth; }
|
||||
|
||||
/** get window height.*/
|
||||
unsigned int getWindowHeight() const { return _windowHeight; }
|
||||
int getWindowHeight() const { return _windowHeight; }
|
||||
|
||||
|
||||
/** set key pressed. */
|
||||
|
||||
Reference in New Issue
Block a user