Repository for import to local machine
Dependencies: DMBasicGUI DMSupport
Diff: MethodRampData.h
- Revision:
- 8:26e49e6955bd
- Parent:
- 6:dba3fbdfd5da
--- a/MethodRampData.h Fri Jul 28 15:53:40 2017 +0000
+++ b/MethodRampData.h Mon Jul 31 15:37:57 2017 +0000
@@ -56,9 +56,15 @@
GuiConst_TEXT* easyGUIRampUpperLimitVariable[EASYGUI_RAMP_LINES];
GuiConst_TEXT* easyGUIRampUpperTimeVariable[EASYGUI_RAMP_LINES];
+ // Different units for the method ramp values in each ramp type - so apply a different format string
+ // when sprintf'ing the values to the corresponding easyGUI variables
char easyGUIRampRateSprintfFormat[10];
char easyGUIRampUpperLimitSprintfFormat[10];
char easyGUIRampUpperTimeSprintfFormat[10];
+
+ // Different variables for the ramp row colours (to show scrolling)
+ GuiConst_INTCOLOR* easyGUIMethodRampOddRowsColour;
+ GuiConst_INTCOLOR* easyGUIMethodRampEvenRowsColour;
int GetIntRampValueFromGC(char *firstThreeCharsOfCommand, unsigned int rampIndex);
@@ -82,6 +88,9 @@
bool gotRampData;
bool needToUpdateEasyGUIMethodPageRampVariables;
+
+ static const GuiConst_INTCOLOR oddRampEasyGUIColour;
+ static const GuiConst_INTCOLOR evenRampEasyGUIColour;
};