Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

16 lines
701 B

#ifndef _FONTNSC_H
#define _FONTNSC_H
HRESULT HrCreateColorMenu(ULONG idmStart, HMENU* pMenu, BOOL fUseAuto);
HRESULT HrCreateComboColor(HWND hCombo);
void Color_WMDrawItem(LPDRAWITEMSTRUCT pdis, INT iColor, BOOL fBackground=FALSE);
DWORD GetColorRGB(INT index);
void Color_WMMeasureItem(HDC hdc, LPMEASUREITEMSTRUCT pmis, INT iColor);
HRESULT HrColorMenu_Show(HMENU hmenuColor, HWND hwndParent, POINT pt, COLORREF *pclrf);
INT GetColorIndex(INT rbg);
void FillFontNames(HWND hwndCombo);
INT CALLBACK NEnumFontNameProc(LOGFONT *plf, TEXTMETRIC *ptm, INT nFontType, LPARAM lParam);
void FillSizes(HWND hwndSize);
HRESULT HrFromIDToRBG(INT id, LPWSTR pwszColor, BOOL fBkColor);
#endif