MessageArea is responsible for box

This commit is contained in:
Tristan B. Kildaire 2021-01-28 13:40:49 +02:00
parent 37c1afeaaa
commit 602d23e067
3 changed files with 14 additions and 10 deletions

View File

@ -258,6 +258,10 @@ public final class Connection : Thread
chansLock.lock();
areas ~= userArea;
chansLock.unlock();
/* TODO: Get box over here etc. */
}

View File

@ -41,11 +41,6 @@ public final class Channel : MessageArea
*/
private string channelName;
/**
* The container for this Channel
*/
private Box box;
/**
* UI components
*
@ -186,11 +181,6 @@ public final class Channel : MessageArea
box.showAll();
}
public Box getBox()
{
return box;
}
public string getName()
{
return channelName;

View File

@ -9,7 +9,17 @@
module areas.MessageArea;
import gtk.Box;
public class MessageArea
{
/* TODO: Implement me */
/* The area's Box (where everything is contained) */
protected Box box;
public Box getBox()
{
return box;
}
}