summaryrefslogtreecommitdiff
path: root/src/menu.h
diff options
context:
space:
mode:
authorAndrzej Rybczak <electricityispower@gmail.com>2009-09-17 00:59:30 +0000
committerAndrzej Rybczak <electricityispower@gmail.com>2009-09-17 00:59:30 +0000
commit8109d26daf59f8f37bca30489516da0798be76e5 (patch)
tree8bcb0d9aca43fd283a0c35626cefbd5488145bd1 /src/menu.h
parentff84ba8d9d64dee96fe5342fee39e7bbc232f856 (diff)
refresh main screen only if necessary
Diffstat (limited to 'src/menu.h')
-rw-r--r--src/menu.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/menu.h b/src/menu.h
index 1331cb16..640ff068 100644
--- a/src/menu.h
+++ b/src/menu.h
@@ -466,6 +466,10 @@ namespace NCurses
///
void HighlightColor(Color color) { itsHighlightColor = color; }
+ /// @return state of highlighting
+ ///
+ bool isHighlighted() { return highlightEnabled; }
+
/// Turns on/off highlighting
/// @param state state of hihglighting
///