Some performance fixes, added UITable widget for easy tables (needs more work still), Worked on Market order displaying.

This commit is contained in:
BeniS
2012-07-22 00:15:29 +12:00
parent 3461761739
commit 9c8134c8a6
6 changed files with 158 additions and 32 deletions

View File

@@ -1,14 +1,22 @@
OfferListLabel < Label
OfferTableRow < TableRow
font: verdana-11px-monochrome
background-color: alpha
text-offset: 2 0
focusable: true
color: #cccccc
height: 25
$focus:
background-color: #294f6d
color: #ffffff
OfferTableColumn < TableColumn
font: verdana-11px-monochrome
background-color: alpha
text-offset: 2 0
color: #cccccc
width: 80
Panel
background-color: #22283399
margin: 1
@@ -28,8 +36,8 @@ Panel
margin-top: 44
margin-left: 6
TextList
id: sellingList
Table
id: sellingTable
anchors.top: prev.bottom
anchors.left: prev.left
anchors.right: parent.right
@@ -39,10 +47,13 @@ Panel
margin-right: 6
padding: 1
focusable: false
vertical-scrollbar: sellingListScrollBar
background-color: #222833
border-width: 1
border-color: #191f27
vertical-scrollbar: sellingTableScrollBar
VerticalScrollBar
id: sellingListScrollBar
id: sellingTableScrollBar
anchors.top: prev.top
anchors.bottom: prev.bottom
anchors.right: prev.right
@@ -65,8 +76,8 @@ Panel
margin-top: 9
margin-left: 6
TextList
id: buyingList
Table
id: buyingTable
anchors.top: prev.bottom
anchors.left: prev.left
anchors.right: parent.right
@@ -76,10 +87,13 @@ Panel
height: 120
padding: 1
focusable: false
vertical-scrollbar: buyingListScrollBar
background-color: #222833
border-width: 1
border-color: #191f27
vertical-scrollbar: buyingTableScrollBar
VerticalScrollBar
id: buyingListScrollBar
id: buyingTableScrollBar
anchors.top: prev.top
anchors.bottom: prev.bottom
anchors.right: prev.right