windows-nt/Source/XPSP1/NT/admin/controls/smonctrl/visuals.h

39 lines
808 B
C
Raw Permalink Normal View History

2020-09-26 03:20:57 -05:00
/*++
Copyright (C) 1996-1999 Microsoft Corporation
Module Name:
visuals.h
Abstract:
<abstract>
--*/
#ifndef _VISUALS_H_
#define _VISUALS_H_
#define NumStandardColorIndices() (16)
#define NumColorIndices() (NumStandardColorIndices()+1)
#define NumStyleIndices() (5)
#define NumWidthIndices() (9)
#define IndexToStandardColor(i) (argbStandardColors[i])
#define IndexToStyle(i) (i)
#define IndexToWidth(i) (i+1)
#define WidthToIndex(i) (i-1)
#define StyleToIndex(i) (i)
extern COLORREF argbStandardColors[16];
//===========================================================================
// Exported Functions
//===========================================================================
INT ColorToIndex( COLORREF );
#endif