From 9ba2d6e08c35300deb8ba98fe67964bc7477c9c6 Mon Sep 17 00:00:00 2001 From: patacongo Date: Wed, 23 May 2012 12:53:57 +0000 Subject: Various improvements to NxWM hex calculator display git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4767 42af7a65-404d-4744-a932-0658087f49c3 --- NxWidgets/nxwm/include/chexcalculator.hxx | 3 +++ 1 file changed, 3 insertions(+) (limited to 'NxWidgets/nxwm/include/chexcalculator.hxx') diff --git a/NxWidgets/nxwm/include/chexcalculator.hxx b/NxWidgets/nxwm/include/chexcalculator.hxx index 9f9b61a9b..69ee37624 100644 --- a/NxWidgets/nxwm/include/chexcalculator.hxx +++ b/NxWidgets/nxwm/include/chexcalculator.hxx @@ -48,6 +48,7 @@ #include "cbuttonarray.hxx" #include "clabel.hxx" +#include "cnxfont.hxx" #include "iapplication.hxx" #include "capplicationwindow.hxx" @@ -104,6 +105,7 @@ namespace NxWM NXWidgets::CButtonArray *m_keypad; /**< The calculator keyboard */ NXWidgets::CLabel *m_text; /**< The accumulator text display */ + NXWidgets::CNxFont *m_font; /**< The font used in the calculator */ /** * Calculator geometry. This stuff does not really have to be retained @@ -132,6 +134,7 @@ namespace NxWM struct SPendingOperation m_low; /**< Low precedence pending operation */ struct SPendingOperation m_high; /**< Hight precedence pending operation */ bool m_hexMode; /**< True if in hex mode */ + bool m_result ; /**< True if the accumulator holds a previoius result */ /** * Select the geometry of the calculator given the current window size. -- cgit v1.2.3