33 #include <OISKeyboard.h>
37 static inline ImVec2
operator*(
const ImVec2& lhs,
const float rhs) {
return ImVec2(lhs.x*rhs, lhs.y*rhs); }
38 static inline ImVec2
operator/(
const ImVec2& lhs,
const float rhs) {
return ImVec2(lhs.x/rhs, lhs.y/rhs); }
39 static inline ImVec2
operator+(
const ImVec2& lhs,
const ImVec2& rhs) {
return ImVec2(lhs.x+rhs.x, lhs.y+rhs.y); }
40 static inline ImVec2
operator-(
const ImVec2& lhs,
const ImVec2& rhs) {
return ImVec2(lhs.x-rhs.x, lhs.y-rhs.y); }
41 static inline ImVec2
operator*(
const ImVec2& lhs,
const ImVec2& rhs) {
return ImVec2(lhs.x*rhs.x, lhs.y*rhs.y); }
42 static inline ImVec2
operator/(
const ImVec2& lhs,
const ImVec2& rhs) {
return ImVec2(lhs.x/rhs.x, lhs.y/rhs.y); }
43 static inline ImVec2&
operator+=(ImVec2& lhs,
const ImVec2& rhs) { lhs.x += rhs.x; lhs.y += rhs.y;
return lhs; }
44 static inline ImVec2&
operator-=(ImVec2& lhs,
const ImVec2& rhs) { lhs.x -= rhs.x; lhs.y -= rhs.y;
return lhs; }
45 static inline ImVec2&
operator*=(ImVec2& lhs,
const float rhs) { lhs.x *= rhs; lhs.y *= rhs;
return lhs; }
46 static inline ImVec2&
operator/=(ImVec2& lhs,
const float rhs) { lhs.x /= rhs; lhs.y /= rhs;
return lhs; }
68 const Ogre::String& invocation,
bool& skipThisInvocation)
override;