/modules/client_skins/skins/default/styles/miniwindow.otui

http://github.com/edubart/otclient · Unknown · 91 lines · 76 code · 15 blank · 0 comment · 0 complexity · ad59cd87d1becd6eb5bb395f755fc341 MD5 · raw file

  1. MiniWindow < UIMiniWindow
  2. font: verdana-11px-antialised
  3. icon-rect: 4 4 16 16
  4. width: 192
  5. height: 200
  6. text-offset: 24 5
  7. text-align: topLeft
  8. image-source: /images/miniwindow.png
  9. image-border: 4
  10. image-border-top: 23
  11. image-border-bottom: 4
  12. focusable: false
  13. &minimizedHeight: 24
  14. $on:
  15. image-border-bottom: 2
  16. UIButton
  17. id: closeButton
  18. anchors.top: parent.top
  19. anchors.right: parent.right
  20. margin-top: 5
  21. margin-right: 5
  22. size: 14 14
  23. image-source: /images/miniwindowbuttons.png
  24. image-clip: 28 0 14 14
  25. $hover:
  26. image-clip: 28 14 14 14
  27. $pressed:
  28. image-clip: 28 28 14 14
  29. UIButton
  30. id: minimizeButton
  31. anchors.top: closeButton.top
  32. anchors.right: closeButton.left
  33. margin-right: 3
  34. size: 14 14
  35. image-source: /images/miniwindowbuttons.png
  36. image-clip: 0 0 14 14
  37. $hover:
  38. image-clip: 0 14 14 14
  39. $pressed:
  40. image-clip: 0 28 14 14
  41. $on:
  42. image-clip: 14 0 14 14
  43. $on hover:
  44. image-clip: 14 14 14 14
  45. $on pressed:
  46. image-clip: 14 28 14 14
  47. VerticalScrollBar
  48. id: miniwindowScrollBar
  49. anchors.top: parent.top
  50. anchors.bottom: parent.bottom
  51. anchors.right: parent.right
  52. step: 14
  53. margin-top: 22
  54. margin-right: 2
  55. margin-bottom: 3
  56. pixels-scroll: true
  57. $!on:
  58. width: 0
  59. ResizeBorder
  60. id: bottomResizeBorder
  61. anchors.bottom: parent.bottom
  62. anchors.left: parent.left
  63. anchors.right: parent.right
  64. height: 3
  65. minimum: 64
  66. background: #ffffff88
  67. MiniWindowContents < ScrollablePanel
  68. id: contentsPanel
  69. anchors.fill: parent
  70. anchors.right: miniwindowScrollBar.left
  71. margin-top: 19
  72. padding: 3 5 3 5
  73. vertical-scrollbar: miniwindowScrollBar
  74. BorderlessGameWindow < UIWindow
  75. focusable: false
  76. margin: 2