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.

52 lines
1.1 KiB

  1. #ifndef _ANIMATE_H_
  2. #define _ANIMATE_H_
  3. extern UINT g_uiAnimateIndex;
  4. extern UINT g_uiLastAnimateIndex;
  5. BOOL InitAnimate(HWND hwnd, HDC hdc);
  6. void Animate(HDC hdc);
  7. void AnimateNext();
  8. void TerminateAnimate();
  9. #define LEFT 0
  10. #define CENTER 1
  11. BOOL DisplayString(
  12. HDC hdc,
  13. int x,
  14. int y,
  15. TEXTMETRIC* lptm,
  16. int iLineSpace,
  17. RECT* lprc,
  18. LPINT pNumLines,
  19. LPTSTR szTextOut,
  20. WORD wfPlacement
  21. );
  22. int WrapText(
  23. IN HDC hdc,
  24. IN int x,
  25. IN RECT* lprc,
  26. IN OUT LPTSTR szBBResource);
  27. BOOL DrawWrapText(
  28. IN HDC hdc,
  29. IN TEXTMETRIC* lptm,
  30. IN int iLineSpace,
  31. IN int x,
  32. IN int y,
  33. IN RECT* lprc,
  34. IN WORD wfPlacement,
  35. IN int iLineCount,
  36. IN LPTSTR szLines);
  37. VOID ImproveWrap(
  38. IN OUT LPTSTR szLines,
  39. IN OUT PINT piNumLine,
  40. IN LPTSTR szOrigText,
  41. IN INT cchOrigText
  42. );
  43. #endif _ANIMATE_H_