chatHud.gui 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162
  1. //-----------------------------------------------------------------------------
  2. // Chat edit window
  3. //-----------------------------------------------------------------------------
  4. new GuiControl(MessageHud)
  5. {
  6. profile = "GuiDefaultProfile";
  7. horizSizing = "width";
  8. vertSizing = "height";
  9. position = "0 0";
  10. extent = "640 480";
  11. minExtent = "8 8";
  12. visible = "0";
  13. noCursor = true;
  14. new GuiBitmapBorderCtrl(MessageHud_Frame) {
  15. profile = "ChatHudBorderProfile";
  16. horizSizing = "right";
  17. vertSizing = "bottom";
  18. position = "120 375";
  19. extent = "400 40";
  20. minExtent = "8 8";
  21. visible = "1";
  22. new GuiBitmapCtrl() {
  23. profile = "GuiDefaultProfile";
  24. horizSizing = "width";
  25. vertSizing = "height";
  26. position = "8 8";
  27. extent = "384 24";
  28. minExtent = "8 8";
  29. visible = "1";
  30. helpTag = "0";
  31. bitmap = "data/UI/art/gui/hudfill.png";
  32. wrap = "0";
  33. };
  34. new GuiTextCtrl(MessageHud_Text)
  35. {
  36. profile = "ChatHudTextProfile";
  37. horizSizing = "right";
  38. vertSizing = "bottom";
  39. position = "14 12";
  40. extent = "10 22";
  41. minExtent = "8 8";
  42. visible = "1";
  43. };
  44. new GuiTextEditCtrl(MessageHud_Edit)
  45. {
  46. profile = "ChatHudEditProfile";
  47. horizSizing = "right";
  48. vertSizing = "bottom";
  49. position = "0 13";
  50. extent = "10 22";
  51. minExtent = "8 8";
  52. visible = "1";
  53. altCommand = "$ThisControl.eval();";
  54. escapeCommand = "MessageHud_Edit.onEscape();";
  55. historySize = "5";
  56. maxLength = "120";
  57. };
  58. };
  59. };
  60. //--- OBJECT WRITE BEGIN ---
  61. new GuiControl(MainChatHud) {
  62. profile = "GuiModelessDialogProfile";
  63. horizSizing = "width";
  64. vertSizing = "height";
  65. position = "0 0";
  66. extent = "640 480";
  67. minExtent = "8 8";
  68. visible = "1";
  69. helpTag = "0";
  70. noCursor = "1";
  71. new GuiControl() {
  72. profile = "GuiModelessDialogProfile";
  73. horizSizing = "relative";
  74. vertSizing = "bottom";
  75. position = "0 0";
  76. extent = "400 300";
  77. minExtent = "8 8";
  78. visible = "1";
  79. helpTag = "0";
  80. new GuiBitmapBorderCtrl(OuterChatHud) {
  81. profile = "ChatHudBorderProfile";
  82. horizSizing = "width";
  83. vertSizing = "bottom";
  84. position = "0 0";
  85. extent = "272 88";
  86. minExtent = "8 8";
  87. visible = "1";
  88. helpTag = "0";
  89. useVariable = "0";
  90. tile = "0";
  91. new GuiBitmapCtrl() {
  92. profile = "GuiDefaultProfile";
  93. horizSizing = "width";
  94. vertSizing = "height";
  95. position = "8 8";
  96. extent = "256 72";
  97. minExtent = "8 8";
  98. visible = "1";
  99. helpTag = "0";
  100. bitmap = "data/UI/art/gui/hudfill.png";
  101. wrap = "0";
  102. };
  103. new GuiButtonCtrl(chatPageDown) {
  104. profile = "GuiButtonProfile";
  105. horizSizing = "left";
  106. vertSizing = "top";
  107. position = "220 58";
  108. extent = "36 14";
  109. minExtent = "8 8";
  110. visible = "0";
  111. helpTag = "0";
  112. text = "Dwn";
  113. groupNum = "-1";
  114. buttonType = "PushButton";
  115. };
  116. new GuiScrollCtrl(ChatScrollHud) {
  117. profile = "ChatHudScrollProfile";
  118. horizSizing = "width";
  119. vertSizing = "height";
  120. position = "8 8";
  121. extent = "256 72";
  122. minExtent = "8 8";
  123. visible = "1";
  124. helpTag = "0";
  125. willFirstRespond = "1";
  126. hScrollBar = "alwaysOff";
  127. vScrollBar = "alwaysOff";
  128. lockHorizScroll = "true";
  129. lockVertScroll = "false";
  130. constantThumbHeight = "0";
  131. childMargin = "0 0";
  132. new GuiMessageVectorCtrl(ChatHud) {
  133. profile = "ChatHudMessageProfile";
  134. horizSizing = "width";
  135. vertSizing = "height";
  136. position = "1 1";
  137. extent = "252 16";
  138. minExtent = "8 8";
  139. visible = "1";
  140. helpTag = "0";
  141. lineSpacing = "0";
  142. lineContinuedIndex = "10";
  143. allowedMatches[0] = "http";
  144. allowedMatches[1] = "tgeserver";
  145. matchColor = "0 0 255 255";
  146. maxColorIndex = "5";
  147. };
  148. };
  149. };
  150. };
  151. };
  152. //--- OBJECT WRITE END ---