windows-nt/Source/XPSP1/NT/admin/controls/smonctrl/visuals.h
2020-09-26 16:20:57 +08:00

39 lines
808 B
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.

/*++
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