Advertisement
Guest User

Untitled

a guest
Jul 7th, 2013
230
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.73 KB | None | 0 0
  1. "resource/layout/gamespage_grid.layout"
  2. {
  3. controls
  4. {
  5. "grid"
  6. {
  7. "alignment" "justify" // left, right, justify
  8. "interiorspacing" -1 // minimum interitem spacing, used for both x and y_
  9. "wheelpct" 50 // mouse wheel -> scroll this percent of an item's dy
  10. "tabposition" 1
  11. }
  12.  
  13. "emptylisttext" { control="RichText" style="emptylisttext" }
  14. }
  15.  
  16. // random/generic settings go in "colors"
  17. colors
  18. {
  19. // values defining the aspect ratio of the images in the grid view
  20. GridView.OriginalImageWidth "460"
  21. GridView.OriginalImageHeight "215"
  22.  
  23. // value defining the extra vertical distance to leave below
  24. // the picture for drop shadow room, in px. This value should
  25. // match the margin values in the layout statements in the gamespage_grid_*.layout files.
  26. GridView.DropShadowLeading "0"
  27. }
  28.  
  29. styles
  30. {
  31. WrapPanel
  32. {
  33. inset="1 0 0 2"
  34. bgcolor="none"
  35. render
  36. {
  37. //gradient to obscure content at top of scrolling region
  38. 1="gradient( x0+1, y0, x1-1, y0 + 16, dialogbg, none )"
  39.  
  40. //gradient to obscure content at bottom of scrolling region
  41. 2="gradient( x0+1, y1 - 16, x1-1, y1-2, none, almostblack )"
  42.  
  43. // single pixel fills in the corners
  44. 6="fill( x0 + 1, y0, x0 + 2, y0 + 1, ButtonBorderDisabled )" //UL
  45. 7="fill( x1 - 2, y0, x1 - 1, y0 + 1, ButtonBorderDisabled )" //UR
  46. 8="fill( x0 + 1, y1 - 3, x0 + 2, y1 - 2, ButtonBorderDisabled )"
  47. 9="fill( x1 - 2, y1 - 3, x1 - 1, y1 - 2, ButtonBorderDisabled )"
  48. }
  49. render_bg {
  50.  
  51. // background gradient
  52. 0="gradient( x0+1, y0, x1-1, y1-2, dialogbg, almostblack )"
  53. 1="gradient( x0+1, y0, x1-1, y0 + 31, BackgroundStartsubtle, none )"
  54.  
  55. // lines around
  56. 2="fill( x0, y0 + 1, x0 + 1, y1 - 3, ButtonBorderDisabled)" //left
  57. 3="fill( x1 - 1, y0 + 1, x1, y1 - 3, ButtonBorderDisabled )" //right
  58. 4="fill( x0 + 2, y0 - 1, x1 - 2, y0, ButtonBorderDisabled )" //top
  59. 5="fill( x0 + 2, y1 - 2, x1 - 2, y1 - 1, ButtonBorderDisabled )" //btm
  60.  
  61.  
  62. }
  63. }
  64.  
  65. emptylisttext
  66. {
  67. textcolor="Text"
  68. font-size="15"
  69. render_bg {}
  70. }
  71.  
  72.  
  73. // GameItem_whatever suffix is computed on the fly. (not case sensitive.) possible values:
  74. // shortcut
  75. // mod
  76. // decrypting
  77. // syncing
  78. // installed
  79. // updating
  80. // uninstalled
  81. // notinstalled (yes there are two)
  82. GameItem_installed
  83. {
  84. alpha 255
  85. }
  86. GameItem_unInstalled
  87. {
  88. alpha 255
  89. }
  90. GameItem_Updating
  91. {
  92. alpha 255
  93. }
  94. }
  95.  
  96. layout
  97. {
  98. place
  99. {
  100. control = grid x=1 y=1 width=max height=max
  101. }
  102.  
  103. place { control=emptylisttext x=0 y=0 margin=10 margin-top=9 width=max height=max }
  104. }
  105. }
  106. //
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement