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();
|
||||
areas ~= userArea;
|
||||
chansLock.unlock();
|
||||
|
||||
/* TODO: Get box over here etc. */
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue