Source code of Windows XP (NT5)
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.

117 lines
3.4 KiB

  1. function DoNothing()
  2. {
  3. // Stub
  4. }
  5. //**********************************
  6. // FIXED CONSTANTS (Not localizable)
  7. //**********************************
  8. // Taskpad page constants
  9. var CON_LINKPAGE = 1;
  10. var CON_TASKPAGE = 2;
  11. var CON_TODOPAGE = 3;
  12. // Taskpad layout style constants
  13. var CON_TASKPAD_STYLE_VERTICAL1 = 1;
  14. var CON_TASKPAD_STYLE_HORIZONTAL1 = 2;
  15. var CON_TASKPAD_STYLE_NOLISTVIEW = 3;
  16. // Taskpad button display types
  17. var CON_TASK_DISPLAY_TYPE_SYMBOL = 1; // EOT-based symbol | font
  18. var CON_TASK_DISPLAY_TYPE_VANILLA_GIF = 2; // (GIF) index 0 is transparent
  19. var CON_TASK_DISPLAY_TYPE_CHOCOLATE_GIF = 3; // (GIF) index 1 is transparent
  20. var CON_TASK_DISPLAY_TYPE_BITMAP = 4; // non-transparent raster image
  21. //*******************************************
  22. // LOCALIZABLE CONSTANTS FOR DYNAMIC RESIZING
  23. //*******************************************
  24. // Menu
  25. var L_ConstMenuText_Size = .0265;
  26. // Title & Description
  27. var L_ConstTitleText_Number = .055;
  28. var L_ConstDescriptionText_Number = .025;
  29. // Taskpad Buttons
  30. var L_ConstTaskButtonBitmapSize_Number = .0955;
  31. var L_ConstSpanSymbolSize_Number = .095;
  32. var L_ConstSpanAnchorText_Number = .0255;
  33. // Tooltip
  34. var L_ConstTooltipText_Number = .025;
  35. var L_ConstTooltipPointerText_Number = .05;
  36. var L_ConstTooltipOffsetBottom_Number = .3;
  37. var L_ConstTooltipPointerOffsetBottom_Number = 1.8;
  38. var L_ConstLinkTooltipOffsetTop_Number = .0325;
  39. var L_ConstLinkTooltipPointerOffsetTop_Number = 2.25;
  40. // Branding
  41. var L_ConstBrandingText_Number = .115;
  42. // Watermark
  43. var L_ConstWatermarkHomeText_Number = .75;
  44. var L_ConstWatermarkVerticalText_Number = .65;
  45. var L_ConstWatermarkHorizontalText_Number = .425;
  46. var L_ConstWatermarkNoListviewText_Number = .7;
  47. // Listview
  48. var L_ConstLVButtonText_Number = .0215;
  49. var L_ConstLVTitleText_Number = .03;
  50. // Home page
  51. var L_ConstCaptionText_Number = .05;
  52. var L_ConstAnchorLinkText_Number = .025;
  53. // To Do page
  54. var L_ConstSummaryTitleText_Number = .1365;
  55. var L_ConstSummaryCaptionText_Number = .0575;
  56. var L_ConstSummaryToDoPointerSize_Number = .035;
  57. var L_ConstSummaryExitText_Number = .025;
  58. //************************************
  59. // MISCELLANEOUS GLOBALS AND CONSTANTS
  60. //************************************
  61. // TODO: The tooltip pointer uses Marlett to display a diamond-shaped pointer;
  62. // confirm that this TrueType font will be available in all languages targeted for localization
  63. var L_gszTooltipPointer_StaticText = 'u';
  64. // Set the window.setTimeout() latency for showing tooltips (expressed in milliseconds)
  65. var giTooltipLatency = 750;
  66. // Set the total number of zero-based tabs in the menu bar
  67. var giTotalTabs = 0;
  68. //*************
  69. // MENUBAR TEXT
  70. //*************
  71. var L_gszMenuText_StaticText = new Array();
  72. L_gszMenuText_StaticText[0] = 'Tasks';
  73. //***********************
  74. // GLOBAL COLOR CONSTANTS
  75. //***********************
  76. var gszBaseColor = 'FFBF00'; //Yellow
  77. var gszBgColorMenu = '000000';
  78. var gszBgColorBand = gszBaseColor;
  79. var gszColorTabDefault = '999999';
  80. var gszBgColorTabDefault = '000000';
  81. var gszColorTabSelected = 'FFFFFF';
  82. var gszBgColorTabSelected = gszBaseColor;
  83. var gszColorTabDisabled = 'FFFFFF';
  84. // NOTE: Can't set gszBgColorTabDisabled as a global here, because
  85. // it is a derived value from SysColor and I can't find an easy way to make
  86. // this global in the JS file.
  87. // var gszBgColorTabDisabled; // this global is set in-line when needed.
  88. var gszColorAnchorMenuDefault = '999999';
  89. var gszColorAnchorMenuSelected = 'FFFFFF';