summaryrefslogtreecommitdiff
path: root/ucoo/intf/frame_buffer.hh
diff options
context:
space:
mode:
authorNicolas Schodet2016-10-11 12:08:35 +0200
committerNicolas Schodet2019-10-09 23:05:51 +0200
commitf72bcb2ecff195011892002dda694714853e14d3 (patch)
tree98c5d3f2fce0b0639056917226c4e86480b00729 /ucoo/intf/frame_buffer.hh
parentef384d2cbfcb7074a0c35444a2c55ba657fe2526 (diff)
ucoo/{intf, hal/frame_buffer}: add on method in frame_buffer interface
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 c8774f2..5df91e3 100644
--- a/ucoo/intf/frame_buffer.hh
+++ b/ucoo/intf/frame_buffer.hh
@@ -87,6 +87,8 @@ class FrameBuffer
virtual void enable () = 0;
/// Disable.
virtual void disable () = 0;
+ /// Turn display on or off.
+ virtual void on (bool state = true) = 0;
/// Show hidden buffer on screen.
virtual void refresh () = 0;
/// Fill with color.