QUESTION: Where should I change a window skin?
I'm currently doing it after initialize base, with:
this.windowskin = ImageManager.loadSystem('Window_new');I created a new windowskin and named it - "Window_new.png"
All the other windows have Window.png as windowskin (default)
My problem is when I draw text... the text is always black :/ can't change the color to anything else..
If I do the opposite... change Window.png to Window_old.png
and rename Window_new.png to Window.png, every window gets the new skin and the colors work right.
So I wanted to know if I'm doing something wrong or if this is a bug!!
EDIT: If I close the menu and open it again the text color is correctly displayed... so I think the problem is that I'm doing it the wrong way!! Where should the code to change to windowskin go?! and what must I refresh for it to work... the first time? I was looking at the windowskin property and it has a get and set implementation that calls an _onWindowskinLoad (doesn't this function does the refreshing work)?
I'm currently doing it after initialize base, with:
this.windowskin = ImageManager.loadSystem('Window_new');I created a new windowskin and named it - "Window_new.png"
All the other windows have Window.png as windowskin (default)
My problem is when I draw text... the text is always black :/ can't change the color to anything else..
If I do the opposite... change Window.png to Window_old.png
and rename Window_new.png to Window.png, every window gets the new skin and the colors work right.
So I wanted to know if I'm doing something wrong or if this is a bug!!
EDIT: If I close the menu and open it again the text color is correctly displayed... so I think the problem is that I'm doing it the wrong way!! Where should the code to change to windowskin go?! and what must I refresh for it to work... the first time? I was looking at the windowskin property and it has a get and set implementation that calls an _onWindowskinLoad (doesn't this function does the refreshing work)?