diff options
author | Roderick W. Smith <rodsmith@rodsbooks.com> | 2013-07-06 22:52:58 -0400 |
---|---|---|
committer | Roderick W. Smith <rodsmith@rodsbooks.com> | 2013-07-06 22:52:58 -0400 |
commit | 1eea9b0b51367472ce12efb59b0018c0ac96a463 (patch) | |
tree | 88c2eacf1fbcb909a24b60fab44151ea137d5965 /gptcurses.h | |
parent | f5dfbfa418675ca862408e4fb2240b21dd07d558 (diff) | |
download | sgdisk-1eea9b0b51367472ce12efb59b0018c0ac96a463.tar.gz |
New partition type codes & "-a" option for cgdisk
Diffstat (limited to 'gptcurses.h')
-rw-r--r-- | gptcurses.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gptcurses.h b/gptcurses.h index 4a9987e..3b1fd9a 100644 --- a/gptcurses.h +++ b/gptcurses.h @@ -54,6 +54,9 @@ static struct MenuItem menuMain[] = { #define EMPTY_SPACE_OPTIONS "abhlnqvw" #define PARTITION_OPTIONS "abdhilmqtvw" +// Constants for how to highlight a selected menu item +#define USE_CURSES 1 +#define USE_ARROW 2 // A "Space" is a partition or an unallocated chunk of disk space, maintained // in a doubly-linked-list data structure to facilitate creating displays of @@ -81,6 +84,7 @@ protected: string whichOptions; char currentKey; int numSpaces; + int displayType; // Functions relating to Spaces data structures void EmptySpaces(void); @@ -111,6 +115,7 @@ public: void LoadBackup(void); void ShowHelp(void); // User input and menuing functions + void SetDisplayType(int dt) {displayType = dt;} void ChangeSpaceSelection(int delta); void MoveSelection(int delta); void DisplayOptions(char selectedKey); |