windows-nt/Source/XPSP1/NT/sdktools/setedit/legend.h
2020-09-26 16:20:57 +08:00

57 lines
1.3 KiB
C
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

//==========================================================================//
// Constants //
//==========================================================================//
#define szGraphLegendClass TEXT("PerfmonGraphLegendClass")
#define szGraphLegendClassA "PerfmonGraphLegendClass"
//==========================================================================//
// Exported Functions //
//==========================================================================//
void ClearLegend (HWND hWndLegend) ;
BOOL GraphLegendInitializeApplication (void) ;
HWND CreateGraphLegendWindow (HWND hWndGraph) ;
int LegendMinHeight (HWND hWnd) ;
int LegendMinWidth (HWND hWnd) ;
void LegendDeleteItem (HWND hWndLegend,
PLINE pLine) ;
int LegendHeight (HWND hWnd, int yGraphHeight) ;
BOOL LegendAddItem (HWND hWndGraph,
PLINESTRUCT pLine) ;
PLINE LegendCurrentLine (HWND hWndLegend) ;
int LegendNumItems (HWND hWndLegend) ;
void LegendSetSelection (HWND hWndLegend, int iIndex) ;
int LegendFullHeight (HWND hWnd, HDC hDC) ;
void PrintLegend (HDC hDC, PGRAPHSTRUCT pGraph, HWND hWndLegend,
RECT rectLegend) ;
void LegendSetRedraw (HWND hWndLegend, BOOL bRedraw) ;