Skip to content

Commit

Permalink
Fixes #438
Browse files Browse the repository at this point in the history
  • Loading branch information
DirtDiglett committed Jan 20, 2016
1 parent 0d549f7 commit 5c368a4
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions resource/layout/pagedragframe.layout
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
"resource/layout/pagedragframe.layout" {
styles {
PageDragFrame {
bgcolor=darkestGrey

render_bg {
0="fill(x0,y0,x1,y1, darkestGrey)"

1="gradient(x0+1,y0+2,x1-1,y1,grey,lightGreyEnd)"

// Single pixel corner fills
2="fill(x0+1,y0+1,x0+2,y0+2, darkGreyEnd)" // Top Left
3="fill(x0+1,y1-1,x0+2,y1, darkGreyEnd)" // Bottom Left
4="fill(x1-2,y0+1,x1-1,y0+2, darkGreyEnd)" // Top Right
5="fill(x1-2,y1-1,x1-1,y1, darkGreyEnd)" // Bottom Right

// Anti-aliased grey highlight
6="fill(x0+1,y0+2,x0+2,y0+3, lighterGrey)" // Top Bottom Left
7="fill(x0+2,y0+1,x0+3,y0+2, lighterGrey)" // Top Top Left
8="fill(x1-3, y0+1, x1-2, y0+2, lighterGrey)" // Top Top Right
9="fill(x1-2,y0+2,x1-1,y0+3, lighterGrey)" // Top Bottom Right

// Grey Highlight
10="fill(x0+3,y0+1,x1-3,y0+2, greyHighlight)"
}
}

PageDragPanel {
bgcolor=darkestGrey
}
}

layout {
place {
control="DragPropertySheet"
width=max
height=max
}
}
}

0 comments on commit 5c368a4

Please sign in to comment.