mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-08-18 06:55:48 +03:00
Added UIWindow::invalidated().
--HG-- branch : dev
This commit is contained in:
@@ -111,8 +111,9 @@ class EE_API UIWindow : public UIWidget {
|
||||
|
||||
void invalidate();
|
||||
|
||||
FrameBuffer * getFrameBuffer() const;
|
||||
bool invalidated();
|
||||
|
||||
FrameBuffer * getFrameBuffer() const;
|
||||
protected:
|
||||
class KeyboardShortcut {
|
||||
public:
|
||||
|
||||
@@ -1162,6 +1162,10 @@ FrameBuffer * UIWindow::getFrameBuffer() const {
|
||||
return mFrameBuffer;
|
||||
}
|
||||
|
||||
bool UIWindow::invalidated() {
|
||||
return 0 != ( mControlFlags & UI_CTRL_FLAG_NEEDS_REDRAW );
|
||||
}
|
||||
|
||||
void UIWindow::matrixSet() {
|
||||
if ( ownsFrameBuffer() ) {
|
||||
if ( NULL != mFrameBuffer ) {
|
||||
|
||||
Reference in New Issue
Block a user