windows-nt/Source/XPSP1/NT/shell/osshell/control/scrnsave/pipes/npipe.h

36 lines
1,005 B
C
Raw Permalink Normal View History

2020-09-26 03:20:57 -05:00
//-----------------------------------------------------------------------------
// File: npipe.h
//
// Desc: Normal pipes code
//
// Copyright (c) 1994-2000 Microsoft Corporation
//-----------------------------------------------------------------------------
#ifndef __npipe_h__
#define __npipe_h__
class NORMAL_STATE;
//-----------------------------------------------------------------------------
// Name:
// Desc:
//-----------------------------------------------------------------------------
class NORMAL_PIPE : public PIPE
{
public:
NORMAL_STATE* m_pNState;
NORMAL_PIPE( STATE *state );
void Start();
int ChooseElbow( int oldDir, int newDir);
void DrawJoint( int newDir );
void Draw( ); //mf: could take param to draw n sections
void DrawStartCap( int newDir );
void DrawEndCap();
void align_plusy( int oldDir, int newDir );
void align_notch( int newDir, int notch );
};
#endif // __npipe_h__