Added some config files and refactored dragbars and buttonmenu

This commit is contained in:
Erik Tiekstra
2017-05-09 12:51:13 +02:00
parent c73e1ed9b4
commit 4c0b388805
13 changed files with 182 additions and 148 deletions
+14
View File
@@ -0,0 +1,14 @@
'use strict';
module.exports = {
color: '#ffffff',
fontFamily: 'breuer',
fontSize: 14,
background: '#000000',
activeBackground: '#444444',
cursor: 'pointer',
originX: 'center',
originY: 'center',
padding: 20,
margin: 5,
};
+6
View File
@@ -0,0 +1,6 @@
'use strict';
module.exports = {
fill: '#bbbbbb',
size: 20,
};
+16
View File
@@ -0,0 +1,16 @@
'use strict';
module.exports = {
text: {
fontFamily: 'breuer',
fontSize: 12,
fill: '#ffffff',
originX: 'center',
top: 2,
},
rect: {
fill: '#666666',
height: 20,
originX: 'center',
},
};