newbie23 said:Can anyone test this beta?
Just to let me know if it works on other machines ?
Thanks in advance
Installation Instructions and downloads can be found at:
http://members.lycos.nl/mediaportal/
for (int i=0;i<game.Width;i++) {
for(int j=0;j<game.Height;j++)
{
xpos=xoffset+i*xdistance;//set correct positions
ypos=yoffset+j*ydistance;
GUIImage imagetest= new GUIImage(GetID,40, xpos,ypos, 64, 64,boardbg, 0);
imagetest.AllocResources();
imageboard[i,j]=imagetest;
GUIControl aaa=(GUIControl)imagetest ;
Add(ref aaa);
}
}
and
for (int i=0;i<game.Width;i++)
{
GUIButtonControl test=new GUIButtonControl(GetID,200+i,xoffset+i*xdistance,yoffset,60,40,"menu_list_focus.png","menu_list_nofocus.png");
test.AllocResources();
GUIControl bbb=(GUIControl)test;
Add(ref bbb);
}
public override bool OnMessage(GUIMessage message) {
switch ( message.Message )
{
case GUIMessage.MessageType.GUI_MSG_WINDOW_INIT
base.OnMessage(message);
CreateBoard();
CreateColumnButtons();
break;