Leaked source code of windows server 2003
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.

35 lines
1.0 KiB

  1. //-----------------------------------------------------------------------------
  2. // File: npipe.h
  3. //
  4. // Desc: Normal pipes code
  5. //
  6. // Copyright (c) 1994-2000 Microsoft Corporation
  7. //-----------------------------------------------------------------------------
  8. #ifndef __npipe_h__
  9. #define __npipe_h__
  10. class NORMAL_STATE;
  11. //-----------------------------------------------------------------------------
  12. // Name:
  13. // Desc:
  14. //-----------------------------------------------------------------------------
  15. class NORMAL_PIPE : public PIPE
  16. {
  17. public:
  18. NORMAL_STATE* m_pNState;
  19. NORMAL_PIPE( STATE *state );
  20. void Start();
  21. int ChooseElbow( int oldDir, int newDir);
  22. void DrawJoint( int newDir );
  23. void Draw( ); //mf: could take param to draw n sections
  24. void DrawStartCap( int newDir );
  25. void DrawEndCap();
  26. void align_plusy( int oldDir, int newDir );
  27. void align_notch( int newDir, int notch );
  28. };
  29. #endif // __npipe_h__