Source code of Windows XP (NT5)
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.

56 lines
1.3 KiB

  1. //==========================================================================//
  2. // Constants //
  3. //==========================================================================//
  4. #define szGraphLegendClass TEXT("PerfLegend")
  5. #define szGraphLegendClassA "PerfLegend"
  6. //==========================================================================//
  7. // Exported Functions //
  8. //==========================================================================//
  9. void ClearLegend (HWND hWndLegend) ;
  10. BOOL GraphLegendInitializeApplication (void) ;
  11. HWND CreateGraphLegendWindow (HWND hWndGraph) ;
  12. int LegendMinHeight (HWND hWnd) ;
  13. int LegendMinWidth (HWND hWnd) ;
  14. void LegendDeleteItem (HWND hWndLegend,
  15. PLINE pLine) ;
  16. int LegendHeight (HWND hWnd, int yGraphHeight) ;
  17. BOOL LegendAddItem (HWND hWndGraph,
  18. PLINESTRUCT pLine) ;
  19. PLINE LegendCurrentLine (HWND hWndLegend) ;
  20. int LegendNumItems (HWND hWndLegend) ;
  21. void LegendSetSelection (HWND hWndLegend, int iIndex) ;
  22. int LegendFullHeight (HWND hWnd, HDC hDC) ;
  23. void PrintLegend (HDC hDC, PGRAPHSTRUCT pGraph, HWND hWndLegend,
  24. RECT rectLegend) ;
  25. void LegendSetRedraw (HWND hWndLegend, BOOL bRedraw) ;
  26.