summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/m_clc.h6
-rw-r--r--include/m_clistint.h2
-rw-r--r--include/m_gui.h9
3 files changed, 4 insertions, 13 deletions
diff --git a/include/m_clc.h b/include/m_clc.h
index 1fd2c1ad7f..c47a0ac84a 100644
--- a/include/m_clc.h
+++ b/include/m_clc.h
@@ -112,7 +112,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#define CLBF_TILEV 0x2000
#define CLBF_PROPORTIONAL 0x4000
#define CLBF_SCROLL 0x8000
-#define CLM_SETBKBITMAP (CLM_FIRST+27) //wParam = mode, lParam = hBitmap (don't delete it), NULL for none
+
#define CLM_SETBKCOLOR (CLM_FIRST+28) //wParam = a COLORREF, default is GetSysColor(COLOR_3DFACE)
#define CLM_SETCHECKMARK (CLM_FIRST+29) //wParam = hItem, lParam = 1 or 0
#define CLM_SETEXTRACOLUMNS (CLM_FIRST+30) //wParam = number of extra columns (zero to EXTRA_ICON_COUNT from clc.h, currently 16)
@@ -133,7 +133,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#define FONTID_MAX 18
#define CLM_SETFONT (CLM_FIRST+33) //wParam = hFont, lParam = MAKELPARAM(fRedraw,fontId)
-#define CLM_SETINDENT (CLM_FIRST+34) //wParam = new indent, default is 3 pixels
#define CLM_SETITEMTEXT (CLM_FIRST+35) //wParam = hItem, lParam = (char*)pszNewText
#define CLM_SETSCROLLTIME (CLM_FIRST+36) //wParam = time in ms, default 200
@@ -148,8 +147,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#define CLM_SETOFFLINEMODES (CLM_FIRST+43) //for 'hide offline', wParam = PF2_ flags and MODEF_OFFLINE
#define CLM_GETEXSTYLE (CLM_FIRST+44) //returns CLS_EX_ flags
#define CLM_SETEXSTYLE (CLM_FIRST+45) //wParam = CLS_EX_ flags
-#define CLM_GETLEFTMARGIN (CLM_FIRST+46) //returns count of pixels
-#define CLM_SETLEFTMARGIN (CLM_FIRST+47) //wParam = pixels
+
typedef struct {
int cbSize;
const wchar_t *pszText;
diff --git a/include/m_clistint.h b/include/m_clistint.h
index 1f11f2f292..592174e550 100644
--- a/include/m_clistint.h
+++ b/include/m_clistint.h
@@ -218,7 +218,7 @@ struct MenuProto
#define DROPTARGET_INSERTION 5
#define CLCDEFAULT_ROWHEIGHT 16
-#define CLCDEFAULT_EXSTYLE (CLS_EX_EDITLABELS|CLS_EX_TRACKSELECT|CLS_EX_SHOWGROUPCOUNTS|CLS_EX_HIDECOUNTSWHENEMPTY|CLS_EX_TRACKSELECT|CLS_EX_NOTRANSLUCENTSEL) //plus CLS_EX_NOSMOOTHSCROLL is got from the system
+#define CLCDEFAULT_EXSTYLE (CLS_EX_EDITLABELS|CLS_EX_TRACKSELECT|CLS_EX_SHOWGROUPCOUNTS|CLS_EX_HIDECOUNTSWHENEMPTY|CLS_EX_TRACKSELECT|CLS_EX_NOTRANSLUCENTSEL)
#define CLCDEFAULT_SCROLLTIME 150
#define CLCDEFAULT_GROUPINDENT 5
#define CLCDEFAULT_BKCOLOUR GetSysColor(COLOR_3DFACE)
diff --git a/include/m_gui.h b/include/m_gui.h
index 7234e37ebb..6b13667a83 100644
--- a/include/m_gui.h
+++ b/include/m_gui.h
@@ -727,31 +727,24 @@ public:
HANDLE GetSelection();
HANDLE HitTest(int x, int y, DWORD *hitTest);
void SelectItem(HANDLE hItem);
- void SetBkBitmap(DWORD mode, HBITMAP hBitmap);
void SetBkColor(COLORREF clBack);
void SetCheck(HANDLE hItem, bool check);
void SetExtraColumns(int iColumns);
void SetExtraImage(HANDLE hItem, int iColumn, int iImage);
void SetExtraImageList(HIMAGELIST hImgList);
void SetFont(int iFontId, HANDLE hFont, bool bRedraw);
- void SetIndent(int iIndent);
void SetItemText(HANDLE hItem, char *szText);
void SetHideEmptyGroups(bool state);
- void SetGreyoutFlags(DWORD flags);
bool GetHideOfflineRoot();
void SetHideOfflineRoot(bool state);
void SetUseGroups(bool state);
void SetOfflineModes(DWORD modes);
DWORD GetExStyle();
void SetExStyle(DWORD exStyle);
- int GetLefrMargin();
- void SetLeftMargin(int iMargin);
HANDLE AddInfoItem(CLCINFOITEM *cii);
int GetItemType(HANDLE hItem);
HANDLE GetNextItem(HANDLE hItem, DWORD flags);
- COLORREF GetTextColor(int iFontId);
- void SetTextColor(int iFontId, COLORREF clText);
-
+
struct TEventInfo
{
CCtrlClc *ctrl;