Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrachytski <siarhei.rachytski@gmail.com>2012-06-02 21:21:26 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 01:39:18 +0300
commit36c49f0e317b063f2c614d635d033cfaede10929 (patch)
treefee3346218b60ffe5e7e9d43fd682a4a28e64aa9 /gui/element.hpp
parent3be82073ef66412c383fd89b8899c9c92a033e68 (diff)
implemented mechanism for drawable resources caching. this will allow us to use display lists in future for fast rendering of GUI elements in the main loop.
Diffstat (limited to 'gui/element.hpp')
-rw-r--r--gui/element.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/gui/element.hpp b/gui/element.hpp
index f6d5f1e38f..dca18fd92b 100644
--- a/gui/element.hpp
+++ b/gui/element.hpp
@@ -73,6 +73,10 @@ namespace gui
int visualRank() const;
+ virtual void cache();
+
virtual void setController(Controller * controller);
+
+ void checkDirtyDrawing() const;
};
}