}
};
Button localHost
- {
+ {
this, text = "Local Host", position = Point { 320, 30 }, size = Size { 80, 0 }, hotKey = altL;
bool NotifyClicked(Button button, int x, int y, Modifiers mods)
return true;
}
};
-
+
EditBox log
{
- this, readOnly = true, multiLine = true, autoEmpty = true, hasVertScroll = true, hasHorzScroll = true, inactive = true,
- text = "Communication Log",
+ this, readOnly = true, multiLine = true, autoEmpty = true, hasVertScroll = true, hasHorzScroll = true, inactive = true,
+ text = "Communication Log",
anchor = Anchor { left = 10, top = 100, right = 10, bottom = 30 },
contents = app.appName
};
{
char * string = nameBox.contents;
OldLink link;
- for(link = connections.first; link; link = link.next)
+ for(link = connections.first; link; link = link.next)
((Connection)link.data).SendName(string);
}
};
bool NotifyClicked(Button button, int x, int y, Modifiers mods)
{
- Destroy(0);
+ Destroy(0);
return true;
}
};
class eComService : Service
{
MainPanel mainPanel;
-
+
port = ECOMMUNICATOR_PORT;
void OnAccept()