Ataxia02

Untitled

Nov 13th, 2018
182
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.83 KB | None | 0 0
  1. set %userx 1060
  2. set %usery 800
  3.  
  4. menu show
  5. set %clixres #clixres
  6. set %cliyres #cliyres
  7. start:
  8. set #menubutton N/A
  9. menu clear
  10. menu window size 215 210
  11. menu window title Zmieniacz Rozdzialki
  12. menu window color black
  13. menu font bgcolor black
  14. menu font size 11
  15. menu Font Style b
  16. menu font color white
  17. menu font size 9
  18. menu Font Style bu
  19. menu text 1 20 3 Rozdzielczosc
  20. menu text 1 150 3 Przywroc
  21. menu text 1 162 63 Inne
  22. menu Font Style b
  23. menu text 1 32 110 Rozdzielczosc
  24. menu text 1 48 185 Ekran (%)
  25. menu Font Style
  26. menu text 1 20 23 1024 x 768
  27. menu text 1 20 43 1280 x 1024
  28. menu text 1 20 63 1600 x 1200
  29. menu text 1 20 83 %userx x %usery
  30. menu text 1 5 133 X
  31. menu text 1 125 133 Y
  32. menu text 1 5 163 %
  33. menu text 1 125 163 %
  34. menu button set1024 95 24 45 16 Ustaw
  35. menu button set1280 95 44 45 16 Ustaw
  36. menu button set1600 95 64 45 16 Ustaw
  37. menu button setuser 95 84 45 16 Ustaw
  38. menu button setcust 145 130 55 25 Ustaw
  39. menu button update 145 160 55 25 Update
  40. menu button restore600 150 24 55 16 640x480
  41. menu button restore800 150 44 55 16 800x600
  42. menu button hold 150 84 50 15 Hold
  43. menu button exit 150 104 50 15 Exit
  44. menu edit customx 20 130 50 #clixres
  45. menu edit customy 70 130 50 #cliyres
  46. menu edit ratiox 20 160 50 100
  47. menu edit ratioy 70 160 50 100
  48. menu hideeuo
  49.  
  50. loop:
  51. menu show
  52.  
  53. menu getnum ratiox
  54. if #menures <> %ratiox
  55. {
  56. set %ratiox #menures
  57. set %newvalue ( #clixres * %ratiox ) / 100
  58. menu delete customx
  59. menu edit customx 20 130 50 %newvalue
  60. }
  61. menu getnum ratioy
  62. if #menures <> %ratioy
  63. {
  64. set %ratioy #menures
  65. set %newvalue ( #cliyres * %ratioy ) / 100
  66. menu delete customy
  67. menu edit customy 70 130 50 %newvalue
  68. }
  69.  
  70. if #menubutton = set1024
  71. {
  72. set #clixres 1020
  73. set #cliyres 745
  74. goto start
  75. }
  76.  
  77. if #menubutton = set1280
  78. {
  79. set #clixres 1270
  80. set #cliyres 990
  81. goto start
  82. }
  83.  
  84. if #menubutton = set1600
  85. {
  86. set #clixres 1595
  87. set #cliyres 1175
  88. goto start
  89. }
  90.  
  91. if #menubutton = setcust
  92. {
  93. menu getnum customx
  94. set #clixres #menures
  95. menu getnum customy
  96. set #cliyres #menures
  97. goto start
  98. }
  99.  
  100. if #menubutton = setuser
  101. {
  102. if %userx = N/A
  103. {
  104. display ok Set your custom resolution in the script and save... =)
  105. goto start
  106. }
  107. set #clixres %userx
  108. set #cliyres %usery
  109. goto start
  110. }
  111.  
  112. if #menubutton = restore600
  113. {
  114. set #clixres 640
  115. set #cliyres 480
  116. goto start
  117. }
  118.  
  119. if #menubutton = restore800
  120. {
  121. set #clixres 800
  122. set #cliyres 600
  123. goto start
  124. }
  125.  
  126. if #menubutton = hold
  127. {
  128. menu getnum customx
  129. set %clixres #menures
  130. menu getnum customy
  131. set %cliyres #menures
  132. loop2:
  133. if #menubutton = hold
  134. {
  135. set #clixres %clixres
  136. set #cliyres %cliyres
  137. goto loop2
  138. }
  139.  
  140. if #menubutton = exit
  141. {
  142. terminate euo
  143. }
  144.  
  145. if #menubutton = update
  146. {
  147. goto start
  148. }
  149.  
  150.  
  151. goto loop
Add Comment
Please, Sign In to add comment