diff options
author | Sven Eden <sven.eden@gmx.de> | 2013-01-18 08:22:56 +0100 |
---|---|---|
committer | Sven Eden <sven.eden@gmx.de> | 2013-01-18 08:22:56 +0100 |
commit | f6cc45aff1e8011bd496908ce3f2afc0c5ee2e46 (patch) | |
tree | d5c99eb6467789c8d6d4ec955af1af8dcb3e3183 /ufed-curses.h | |
parent | Added more commentary to the useless looking part of read_packages() (diff) | |
download | ufed-f6cc45aff1e8011bd496908ce3f2afc0c5ee2e46.tar.gz ufed-f6cc45aff1e8011bd496908ce3f2afc0c5ee2e46.tar.bz2 ufed-f6cc45aff1e8011bd496908ce3f2afc0c5ee2e46.zip |
The following changes are made:
1. Removed the "Local Flag: " prefix for flag descriptions
2. Added [x] prefix for all descriptions with the following meanings:
g = global flag
l = local flag, package not installed
L = local flag, package is installed
m = masked flag (package not installed if local)
M = masked flag package is installed
3. Moved affected packages list of local flags to the front.
This is a preparation to add local/global and installed/uninstalled
filters.
The display, as it now is, is not pretty. I am not happy with the
static description line.
It is important to add a destinction between a globally masked flag,
and a locally masked flag. Further the prefix [x] is a) ugly and
b) must not scroll. It should be moved to the static left side,
getting its own column.
Diffstat (limited to 'ufed-curses.h')
-rw-r--r-- | ufed-curses.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ufed-curses.h b/ufed-curses.h index 03bb62a..81ee779 100644 --- a/ufed-curses.h +++ b/ufed-curses.h @@ -16,6 +16,8 @@ struct item { struct item *prev, *next; int top, height; bool isMasked; + bool isGlobal; + bool isInstalled; }; struct key { |