Whitespace cleanup.
parent
a962653e04
commit
5a6fd21a2c
|
@ -31,11 +31,8 @@ using System;
|
|||
|
||||
namespace OpenGridServices.Manager
|
||||
{
|
||||
|
||||
|
||||
public partial class Connect to grid server : Gtk.Dialog
|
||||
{
|
||||
|
||||
public Connect to grid server()
|
||||
{
|
||||
this.Build();
|
||||
|
|
|
@ -29,10 +29,10 @@
|
|||
using Gtk;
|
||||
using System;
|
||||
|
||||
namespace OpenGridServices.Manager {
|
||||
namespace OpenGridServices.Manager
|
||||
{
|
||||
public partial class ConnectToGridServerDialog : Gtk.Dialog
|
||||
{
|
||||
|
||||
public ConnectToGridServerDialog()
|
||||
{
|
||||
this.Build();
|
||||
|
@ -49,9 +49,6 @@ namespace OpenGridServices.Manager {
|
|||
break;
|
||||
}
|
||||
this.Hide();
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -26,7 +26,6 @@
|
|||
*
|
||||
*/
|
||||
|
||||
// project created on 5/14/2007 at 2:04 PM
|
||||
using System;
|
||||
using System.Threading;
|
||||
using Gtk;
|
||||
|
|
|
@ -29,24 +29,27 @@
|
|||
using System;
|
||||
using Gtk;
|
||||
|
||||
namespace OpenGridServices.Manager {
|
||||
namespace OpenGridServices.Manager
|
||||
{
|
||||
public partial class MainWindow: Gtk.Window
|
||||
{
|
||||
public MainWindow (): base (Gtk.WindowType.Toplevel)
|
||||
{
|
||||
Build ();
|
||||
Build();
|
||||
}
|
||||
|
||||
public void SetStatus(string statustext)
|
||||
{
|
||||
this.statusbar1.Pop(0);
|
||||
this.statusbar1.Push(0,statustext);
|
||||
this.statusbar1.Push(0, statustext);
|
||||
}
|
||||
|
||||
public void DrawGrid(RegionBlock[][] regions)
|
||||
{
|
||||
for(int x=0; x<=regions.GetUpperBound(0); x++) {
|
||||
for(int y=0; y<=regions.GetUpperBound(1); y++) {
|
||||
for (int x=0; x<=regions.GetUpperBound(0); x++)
|
||||
{
|
||||
for (int y=0; y<=regions.GetUpperBound(1); y++)
|
||||
{
|
||||
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);
|
||||
}
|
||||
|
@ -55,7 +58,7 @@ namespace OpenGridServices.Manager {
|
|||
|
||||
public void SetGridServerConnected(bool connected)
|
||||
{
|
||||
if(connected) {
|
||||
if (connected) {
|
||||
this.ConnectToGridserver.Visible=false;
|
||||
this.DisconnectFromGridServer.Visible=true;
|
||||
} else {
|
||||
|
@ -97,8 +100,5 @@ namespace OpenGridServices.Manager {
|
|||
{
|
||||
MainClass.PendingOperations.Enqueue("disconnect_gridserver");
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -33,8 +33,6 @@ using OpenSim.Framework.Utilities;
|
|||
|
||||
namespace OpenGridServices.Manager
|
||||
{
|
||||
|
||||
|
||||
public class RegionBlock
|
||||
{
|
||||
public uint regloc_x;
|
||||
|
|
Loading…
Reference in New Issue