Whitespace cleanup.
parent
a962653e04
commit
5a6fd21a2c
|
@ -31,11 +31,8 @@ using System;
|
||||||
|
|
||||||
namespace OpenGridServices.Manager
|
namespace OpenGridServices.Manager
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
||||||
public partial class Connect to grid server : Gtk.Dialog
|
public partial class Connect to grid server : Gtk.Dialog
|
||||||
{
|
{
|
||||||
|
|
||||||
public Connect to grid server()
|
public Connect to grid server()
|
||||||
{
|
{
|
||||||
this.Build();
|
this.Build();
|
||||||
|
|
|
@ -29,10 +29,10 @@
|
||||||
using Gtk;
|
using Gtk;
|
||||||
using System;
|
using System;
|
||||||
|
|
||||||
namespace OpenGridServices.Manager {
|
namespace OpenGridServices.Manager
|
||||||
|
{
|
||||||
public partial class ConnectToGridServerDialog : Gtk.Dialog
|
public partial class ConnectToGridServerDialog : Gtk.Dialog
|
||||||
{
|
{
|
||||||
|
|
||||||
public ConnectToGridServerDialog()
|
public ConnectToGridServerDialog()
|
||||||
{
|
{
|
||||||
this.Build();
|
this.Build();
|
||||||
|
@ -49,9 +49,6 @@ namespace OpenGridServices.Manager {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
this.Hide();
|
this.Hide();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -26,7 +26,6 @@
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// project created on 5/14/2007 at 2:04 PM
|
|
||||||
using System;
|
using System;
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using Gtk;
|
using Gtk;
|
||||||
|
|
|
@ -29,7 +29,8 @@
|
||||||
using System;
|
using System;
|
||||||
using Gtk;
|
using Gtk;
|
||||||
|
|
||||||
namespace OpenGridServices.Manager {
|
namespace OpenGridServices.Manager
|
||||||
|
{
|
||||||
public partial class MainWindow: Gtk.Window
|
public partial class MainWindow: Gtk.Window
|
||||||
{
|
{
|
||||||
public MainWindow (): base (Gtk.WindowType.Toplevel)
|
public MainWindow (): base (Gtk.WindowType.Toplevel)
|
||||||
|
@ -45,8 +46,10 @@ namespace OpenGridServices.Manager {
|
||||||
|
|
||||||
public void DrawGrid(RegionBlock[][] regions)
|
public void DrawGrid(RegionBlock[][] regions)
|
||||||
{
|
{
|
||||||
for(int x=0; x<=regions.GetUpperBound(0); x++) {
|
for (int x=0; x<=regions.GetUpperBound(0); x++)
|
||||||
for(int y=0; y<=regions.GetUpperBound(1); y++) {
|
{
|
||||||
|
for (int y=0; y<=regions.GetUpperBound(1); y++)
|
||||||
|
{
|
||||||
Gdk.Image themap = new Gdk.Image(Gdk.ImageType.Fastest,Gdk.Visual.System,256,256);
|
Gdk.Image themap = new Gdk.Image(Gdk.ImageType.Fastest,Gdk.Visual.System,256,256);
|
||||||
this.drawingarea1.GdkWindow.DrawImage(new Gdk.GC(this.drawingarea1.GdkWindow),themap,0,0,x*256,y*256,256,256);
|
this.drawingarea1.GdkWindow.DrawImage(new Gdk.GC(this.drawingarea1.GdkWindow),themap,0,0,x*256,y*256,256,256);
|
||||||
}
|
}
|
||||||
|
@ -97,8 +100,5 @@ namespace OpenGridServices.Manager {
|
||||||
{
|
{
|
||||||
MainClass.PendingOperations.Enqueue("disconnect_gridserver");
|
MainClass.PendingOperations.Enqueue("disconnect_gridserver");
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -33,8 +33,6 @@ using OpenSim.Framework.Utilities;
|
||||||
|
|
||||||
namespace OpenGridServices.Manager
|
namespace OpenGridServices.Manager
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
||||||
public class RegionBlock
|
public class RegionBlock
|
||||||
{
|
{
|
||||||
public uint regloc_x;
|
public uint regloc_x;
|
||||||
|
|
Loading…
Reference in New Issue