svn rev #19990: branches/krb5-1-6/ src/windows/identity/ui/

tlyu@MIT.EDU tlyu at MIT.EDU
Fri Sep 28 19:36:44 EDT 2007


Commit By: tlyu
Log Message: 
ticket: 5676
version_fixed: 1.6.3

pull up r19855 from trunk

 r19855 at cathode-dark-space:  jaltman | 2007-08-24 10:28:21 -0400
 ticket: new
 subject: NIM: Color Schemas
 component: windows
 
 The default color scheme used by the Network Identity Manager credentials
 display can sometimes cause the text to be difficult to read.  In
 addition, since some of the colors are derived from colors used by the
 current Windows theme, the selection, window background and text
 colors may be mismatched with the colors that are hardcoded into the
 application.
 
 To rememdy this problem, this patch defines a new set of colors
 that will be used with the credentials display.  The new scheme
 doesn't use a special color to distinguish the default identity which
 is already indicated with the text "(Default)" displayed alongside it.
 Instead the colors are used to denote the remaining lifetime of
 credentials and identities.
 
 Also, the color scheme defines all the colors that it uses instead of
 deriving some of them from the Windows color scheme.
 
 All the color information is now kept in the Network Identity Manager
 UI schema.  The schema automatically maps to the registry, so users
 (and deployers) can override the colors by creating the necessary 
 registry keys and values.  The registry keys containing color 
 information are:
 
   Software\MIT\NetIDMgr\CredWindow\Themes and
   Software\MIT\NetIDMgr\CredWindow\Themes\Default
 
 The "Default" key contains the default color scheme.  The color value
 names are defined in ui\uiconfig.csv under Themes\_Schema
 configuration subspace.  Each color is represented by a 32-bit number.
 The low-order 24 bits contain a COLORREF value.  The high-order 8 bits
 contain an alpha value which, if non-zero, will be used to blend the
 color with the selection color (color value named ClrSelection).
 




Changed Files:
_U  branches/krb5-1-6/
U   branches/krb5-1-6/src/windows/identity/ui/credwnd.c
U   branches/krb5-1-6/src/windows/identity/ui/credwnd.h
U   branches/krb5-1-6/src/windows/identity/ui/uiconfig.csv



More information about the cvs-krb5 mailing list