summaryrefslogtreecommitdiff
path: root/ucoo/intf/frame_buffer.hh
diff options
context:
space:
mode:
Diffstat (limited to 'ucoo/intf/frame_buffer.hh')
-rw-r--r--ucoo/intf/frame_buffer.hh2
1 files changed, 2 insertions, 0 deletions
diff --git a/ucoo/intf/frame_buffer.hh b/ucoo/intf/frame_buffer.hh
index 5df91e3..ef7a788 100644
--- a/ucoo/intf/frame_buffer.hh
+++ b/ucoo/intf/frame_buffer.hh
@@ -89,6 +89,8 @@ class FrameBuffer
virtual void disable () = 0;
/// Turn display on or off.
virtual void on (bool state = true) = 0;
+ /// To be called before drawing in the hidden buffer.
+ virtual void will_refresh () { }
/// Show hidden buffer on screen.
virtual void refresh () = 0;
/// Fill with color.