diff --git a/source/app.d b/source/app.d index 1989bac..4896355 100644 --- a/source/app.d +++ b/source/app.d @@ -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){