Some cleaning

This commit is contained in:
Crom (Thibaut CHARLES) 2014-11-17 12:10:47 +01:00
parent 34bde5579f
commit b8d5aaa5f0
1 changed files with 1 additions and 6 deletions

View File

@ -25,8 +25,6 @@ void[] Serialize(VT...)(VT data){
void main(string[] args)
{
//auto color = GdkColor(0, 0x5C, 0x35, 0x66);
auto color = GdkRGBA(0.36, 0.13, 0.4, 1.0);
auto twoda = new TwoDA("test.2da");
@ -53,9 +51,8 @@ void main(string[] args)
if(index==0){
cr = new CellRendererText();
cr.setProperty("editable", true);
cr.setProperty("background-rgba", cast(ulong)(&color));
cr.setProperty("background-rgba", cast(ulong)(new GdkRGBA(0.36, 0.13, 0.4, 1.0)));
cr.setProperty("background-set", true);
}
else{
cr = new CellRendererText();
@ -82,8 +79,6 @@ void main(string[] args)
for(int i=0 ; i<=twoda.lastLine ; i++){
store.append(iter);
//itertable~= new TreeIter(iter);
store.setValue(iter, 0, i);
if(i in twoda.values){