Some cleaning
This commit is contained in:
parent
34bde5579f
commit
b8d5aaa5f0
1 changed files with 1 additions and 6 deletions
|
@ -25,8 +25,6 @@ void[] Serialize(VT...)(VT data){
|
||||||
|
|
||||||
void main(string[] args)
|
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");
|
auto twoda = new TwoDA("test.2da");
|
||||||
|
|
||||||
|
|
||||||
|
@ -53,9 +51,8 @@ void main(string[] args)
|
||||||
if(index==0){
|
if(index==0){
|
||||||
cr = new CellRendererText();
|
cr = new CellRendererText();
|
||||||
cr.setProperty("editable", true);
|
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);
|
cr.setProperty("background-set", true);
|
||||||
|
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
cr = new CellRendererText();
|
cr = new CellRendererText();
|
||||||
|
@ -82,8 +79,6 @@ void main(string[] args)
|
||||||
|
|
||||||
for(int i=0 ; i<=twoda.lastLine ; i++){
|
for(int i=0 ; i<=twoda.lastLine ; i++){
|
||||||
store.append(iter);
|
store.append(iter);
|
||||||
//itertable~= new TreeIter(iter);
|
|
||||||
|
|
||||||
store.setValue(iter, 0, i);
|
store.setValue(iter, 0, i);
|
||||||
|
|
||||||
if(i in twoda.values){
|
if(i in twoda.values){
|
||||||
|
|
Loading…
Add table
Reference in a new issue