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

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