mirror of https://github.com/deavminet/gustav.git
MessageArea is responsible for box
This commit is contained in:
parent
37c1afeaaa
commit
602d23e067
|
@ -258,6 +258,10 @@ public final class Connection : Thread
|
||||||
chansLock.lock();
|
chansLock.lock();
|
||||||
areas ~= userArea;
|
areas ~= userArea;
|
||||||
chansLock.unlock();
|
chansLock.unlock();
|
||||||
|
|
||||||
|
/* TODO: Get box over here etc. */
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -41,11 +41,6 @@ public final class Channel : MessageArea
|
||||||
*/
|
*/
|
||||||
private string channelName;
|
private string channelName;
|
||||||
|
|
||||||
/**
|
|
||||||
* The container for this Channel
|
|
||||||
*/
|
|
||||||
private Box box;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* UI components
|
* UI components
|
||||||
*
|
*
|
||||||
|
@ -186,11 +181,6 @@ public final class Channel : MessageArea
|
||||||
box.showAll();
|
box.showAll();
|
||||||
}
|
}
|
||||||
|
|
||||||
public Box getBox()
|
|
||||||
{
|
|
||||||
return box;
|
|
||||||
}
|
|
||||||
|
|
||||||
public string getName()
|
public string getName()
|
||||||
{
|
{
|
||||||
return channelName;
|
return channelName;
|
||||||
|
|
|
@ -9,7 +9,17 @@
|
||||||
|
|
||||||
module areas.MessageArea;
|
module areas.MessageArea;
|
||||||
|
|
||||||
|
import gtk.Box;
|
||||||
|
|
||||||
public class MessageArea
|
public class MessageArea
|
||||||
{
|
{
|
||||||
/* TODO: Implement me */
|
/* TODO: Implement me */
|
||||||
|
|
||||||
|
/* The area's Box (where everything is contained) */
|
||||||
|
protected Box box;
|
||||||
|
|
||||||
|
public Box getBox()
|
||||||
|
{
|
||||||
|
return box;
|
||||||
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue