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.

39 lines
1.2 KiB

  1. /************************************************************/
  2. /* Windows Write, Copyright 1985-1992 Microsoft Corporation */
  3. /************************************************************/
  4. /* This file contains definitions for screen dependent positions in twips which
  5. will be converted to pixels later. */
  6. #define cch12pt 80 /* number of "12 pt" chars across the screen */
  7. #define cxa12pt 144 /* width of a 12 pt fixed font in twips */
  8. #define cya12pt 240 /* height of a 12 pt fixed font in twips */
  9. /* size of lines for dnMax estimation purposes */
  10. #define dyaAveInit 240
  11. /* width of the selection bar area to the left of lines */
  12. #define xaSelBar 288
  13. #define dxaScrlBar 270
  14. #define dyaScrlBar 300
  15. #define xaMinScroll 180
  16. /* these define the initial window size and amount of white space above
  17. the first line */
  18. #define yaMaxWwInit 5580
  19. /* should be > than largest window height + height of blank line after
  20. the endmark */
  21. #define yaMaxAll 20000 /* used for invalidation */
  22. #define dyaWwInit 60
  23. #define dyaBand 320 /* formerly dpxyLineSizeMin */
  24. /* height of left portion of a split line */
  25. #define dyaSplitLine 60
  26. #define yaSubSuper 60
  27. #define dxaInfoSize 1800
  28.