mirror of
https://github.com/TigerVNC/tigervnc.git
synced 2024-08-21 17:54:34 +02:00
Color level selection is disabled when using AutoSelect
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@55 3789f03b-4d11-0410-bbf8-ca57d06f2519
This commit is contained in:
parent
b2b44812a3
commit
1e6d898940
@ -121,6 +121,10 @@ public:
|
||||
enableItem(IDC_ENCODING_ZRLE, ok);
|
||||
enableItem(IDC_ENCODING_HEXTILE, ok);
|
||||
enableItem(IDC_ENCODING_RAW, ok);
|
||||
enableItem(IDC_FORMAT_FULLCOLOUR, ok);
|
||||
enableItem(IDC_FORMAT_MEDIUMCOLOUR, ok);
|
||||
enableItem(IDC_FORMAT_LOWCOLOUR, ok);
|
||||
enableItem(IDC_FORMAT_VERYLOWCOLOUR, ok);
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
|
@ -120,6 +120,10 @@ public:
|
||||
zrle.disabled(autoSelect.checked());
|
||||
hextile.disabled(autoSelect.checked());
|
||||
raw.disabled(autoSelect.checked());
|
||||
fullColour.disabled(autoSelect.checked());
|
||||
mediumColour.disabled(autoSelect.checked());
|
||||
lowColour.disabled(autoSelect.checked());
|
||||
veryLowColour.disabled(autoSelect.checked());
|
||||
sendPrimary.disabled(!sendClipboard.checked());
|
||||
dotWhenNoCursor.disabled(!useLocalCursor.checked());
|
||||
}
|
||||
@ -143,6 +147,10 @@ public:
|
||||
zrle.disabled(autoSelect.checked());
|
||||
hextile.disabled(autoSelect.checked());
|
||||
raw.disabled(autoSelect.checked());
|
||||
fullColour.disabled(autoSelect.checked());
|
||||
mediumColour.disabled(autoSelect.checked());
|
||||
lowColour.disabled(autoSelect.checked());
|
||||
veryLowColour.disabled(autoSelect.checked());
|
||||
} else if (checkbox == &fullColour || checkbox == &mediumColour ||
|
||||
checkbox == &lowColour || checkbox == &veryLowColour) {
|
||||
fullColour.checked(checkbox == &fullColour);
|
||||
|
Loading…
Reference in New Issue
Block a user