summaryrefslogtreecommitdiffstats
path: root/Source/MFCDialog/PropertyList.h
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2001-07-25 22:30:27 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2001-07-25 22:30:27 (GMT)
commita5eac44d1833c80ce82dad9331418f1119582f3b (patch)
treeb42d695d47580684a1b8a92785d5870921bb6273 /Source/MFCDialog/PropertyList.h
parent4ab2650802f7b0addce7860aff4fd5a2709eae24 (diff)
downloadCMake-a5eac44d1833c80ce82dad9331418f1119582f3b.zip
CMake-a5eac44d1833c80ce82dad9331418f1119582f3b.tar.gz
CMake-a5eac44d1833c80ce82dad9331418f1119582f3b.tar.bz2
ENH: rework GUI with configure/OK/Cancel
Diffstat (limited to 'Source/MFCDialog/PropertyList.h')
-rw-r--r--Source/MFCDialog/PropertyList.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/Source/MFCDialog/PropertyList.h b/Source/MFCDialog/PropertyList.h
index 9224e6d..3db0474 100644
--- a/Source/MFCDialog/PropertyList.h
+++ b/Source/MFCDialog/PropertyList.h
@@ -16,12 +16,14 @@ public:
CString m_curValue;
int m_nItemType;
CString m_cmbItems;
+ bool m_NewValue;
bool m_Removed;
public:
CPropertyItem(CString propName, CString curValue,
CString helpString,
int nItemType, CString cmbItems)
{
+ m_NewValue = true;
m_HelpString = helpString;
m_Removed = false;
m_propName = propName;
@@ -63,7 +65,9 @@ public:
const char* value,
const char* helpString,
int type,
- const char* comboItems);
+ const char* comboItems,
+ bool reverseOrder);
+ void HideControls();
std::set<CPropertyItem*> GetItems()
{
return m_PropertyItems;
@@ -111,7 +115,7 @@ protected:
void InvertLine(CDC* pDC,CPoint ptFrom,CPoint ptTo);
void DisplayButton(CRect region);
- int AddPropItem(CPropertyItem* pItem);
+ int AddPropItem(CPropertyItem* pItem, bool top);
void InvalidateList();
CComboBox m_cmbBox;