easing.gui 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262
  1. script: "/example/easing.gui_script"
  2. fonts {
  3. name: "text24"
  4. font: "/assets/text24.font"
  5. }
  6. textures {
  7. name: "easing"
  8. texture: "/assets/easing.atlas"
  9. }
  10. nodes {
  11. position {
  12. x: 360.0
  13. y: 25.0
  14. }
  15. size {
  16. x: 200.0
  17. y: 100.0
  18. }
  19. type: TYPE_BOX
  20. id: "container"
  21. layer: "graphics"
  22. inherit_alpha: true
  23. size_mode: SIZE_MODE_AUTO
  24. visible: false
  25. }
  26. nodes {
  27. position {
  28. y: 135.0
  29. }
  30. size {
  31. x: 230.0
  32. y: 210.0
  33. }
  34. color {
  35. x: 0.3019608
  36. y: 0.3019608
  37. z: 0.3019608
  38. }
  39. type: TYPE_BOX
  40. id: "function_graph_box"
  41. parent: "container"
  42. layer: "graphics"
  43. inherit_alpha: true
  44. }
  45. nodes {
  46. position {
  47. y: 13.0
  48. }
  49. type: TYPE_BOX
  50. texture: "easing/easing_inback"
  51. id: "function_graph"
  52. parent: "function_graph_box"
  53. layer: "graphics"
  54. inherit_alpha: true
  55. size_mode: SIZE_MODE_AUTO
  56. }
  57. nodes {
  58. position {
  59. y: 104.0
  60. }
  61. size {
  62. x: 200.0
  63. y: 20.0
  64. }
  65. type: TYPE_BOX
  66. id: "hide_name"
  67. parent: "function_graph_box"
  68. layer: "graphics"
  69. inherit_alpha: true
  70. }
  71. nodes {
  72. position {
  73. x: -59.0
  74. }
  75. size {
  76. x: 113.0
  77. y: 40.0
  78. }
  79. color {
  80. x: 0.3019608
  81. y: 0.3019608
  82. z: 0.3019608
  83. }
  84. type: TYPE_BOX
  85. id: "prev_button"
  86. parent: "container"
  87. layer: "graphics"
  88. inherit_alpha: true
  89. }
  90. nodes {
  91. position {
  92. y: 1.0
  93. }
  94. size {
  95. x: 120.0
  96. y: 50.0
  97. }
  98. type: TYPE_TEXT
  99. text: "Previous"
  100. font: "text24"
  101. id: "text"
  102. outline {
  103. x: 1.0
  104. y: 1.0
  105. z: 1.0
  106. }
  107. shadow {
  108. x: 1.0
  109. y: 1.0
  110. z: 1.0
  111. }
  112. parent: "prev_button"
  113. layer: "text"
  114. inherit_alpha: true
  115. }
  116. nodes {
  117. position {
  118. x: 59.0
  119. }
  120. size {
  121. x: 113.0
  122. y: 40.0
  123. }
  124. color {
  125. x: 0.3019608
  126. y: 0.3019608
  127. z: 0.3019608
  128. }
  129. type: TYPE_BOX
  130. id: "next_button"
  131. parent: "container"
  132. layer: "graphics"
  133. inherit_alpha: true
  134. }
  135. nodes {
  136. position {
  137. y: 1.0
  138. }
  139. size {
  140. x: 120.0
  141. y: 50.0
  142. }
  143. type: TYPE_TEXT
  144. text: "Next"
  145. font: "text24"
  146. id: "text1"
  147. outline {
  148. x: 1.0
  149. y: 1.0
  150. z: 1.0
  151. }
  152. shadow {
  153. x: 1.0
  154. y: 1.0
  155. z: 1.0
  156. }
  157. parent: "next_button"
  158. layer: "text"
  159. inherit_alpha: true
  160. }
  161. nodes {
  162. position {
  163. y: 40.0
  164. }
  165. size {
  166. x: 230.0
  167. y: 30.0
  168. }
  169. color {
  170. x: 0.3019608
  171. y: 0.3019608
  172. z: 0.3019608
  173. }
  174. type: TYPE_BOX
  175. id: "index"
  176. parent: "container"
  177. inherit_alpha: true
  178. }
  179. nodes {
  180. scale {
  181. x: 0.8
  182. y: 0.8
  183. }
  184. size {
  185. x: 288.0
  186. y: 40.0
  187. }
  188. type: TYPE_TEXT
  189. text: "1/40"
  190. font: "text24"
  191. id: "index_text"
  192. outline {
  193. x: 1.0
  194. y: 1.0
  195. z: 1.0
  196. }
  197. shadow {
  198. x: 1.0
  199. y: 1.0
  200. z: 1.0
  201. }
  202. parent: "index"
  203. layer: "text"
  204. inherit_alpha: true
  205. }
  206. nodes {
  207. position {
  208. y: 247.0
  209. }
  210. size {
  211. x: 230.0
  212. y: 30.0
  213. }
  214. color {
  215. x: 0.3019608
  216. y: 0.3019608
  217. z: 0.3019608
  218. }
  219. type: TYPE_BOX
  220. id: "easing_name"
  221. parent: "container"
  222. layer: "graphics"
  223. inherit_alpha: true
  224. }
  225. nodes {
  226. position {
  227. y: 1.25
  228. }
  229. scale {
  230. x: 0.8
  231. y: 0.8
  232. }
  233. size {
  234. x: 288.0
  235. y: 30.0
  236. }
  237. type: TYPE_TEXT
  238. text: "go.EASING_NAME"
  239. font: "text24"
  240. id: "easing_text"
  241. outline {
  242. x: 1.0
  243. y: 1.0
  244. z: 1.0
  245. }
  246. shadow {
  247. x: 1.0
  248. y: 1.0
  249. z: 1.0
  250. }
  251. parent: "easing_name"
  252. layer: "text"
  253. inherit_alpha: true
  254. }
  255. layers {
  256. name: "graphics"
  257. }
  258. layers {
  259. name: "text"
  260. }
  261. material: "/builtins/materials/gui.material"
  262. adjust_reference: ADJUST_REFERENCE_PARENT