diff options
author | rachytski <siarhei.rachytski@gmail.com> | 2012-08-20 13:39:03 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:42:11 +0300 |
commit | 80d3874ed0add377a93e5d6334a1fce11f6a6a2e (patch) | |
tree | 813161b5d4481f584bbb3b72f146a9f0c02121fa /gui/element.cpp | |
parent | e00411fd42c356e9e988dc99efc10b3ebcb4bd15 (diff) |
refactored guy::Controller to accept yg::gl::Screen for caching, updating elements on every frame and purging them when renderPolicy is reseted.
Diffstat (limited to 'gui/element.cpp')
-rw-r--r-- | gui/element.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gui/element.cpp b/gui/element.cpp index 24e411937c..acc3d10928 100644 --- a/gui/element.cpp +++ b/gui/element.cpp @@ -66,6 +66,12 @@ namespace gui void Element::cache() {} + void Element::purge() + {} + + void Element::update() + {} + void Element::checkDirtyDrawing() const { if (isDirtyDrawing()) |