summaryrefslogtreecommitdiff
path: root/swat/scripting/client
diff options
context:
space:
mode:
Diffstat (limited to 'swat/scripting/client')
-rw-r--r--swat/scripting/client/desktop.js20
1 files changed, 18 insertions, 2 deletions
diff --git a/swat/scripting/client/desktop.js b/swat/scripting/client/desktop.js
index b1c77dc613..6383e58bda 100644
--- a/swat/scripting/client/desktop.js
+++ b/swat/scripting/client/desktop.js
@@ -35,9 +35,8 @@ function docX()
function docY()
{
var y;
- // Less 25px to not cover the toolbar
if (browser != "mshtml") {
- y = window.innerHeight - 25;
+ y = window.innerHeight;
} else {
y = document.documentElement.clientHeight;
}
@@ -154,6 +153,23 @@ window.application.main = function()
var doc = this.getClientWindow().getClientDocument();
doc.addEventListener("contextmenu", showContextMenu);
doc.add(w);
+
+ var bar = new QxMenuBar;
+ with (bar) {
+ setBottom(0);
+ setLeft(0);
+ setWidth("100%");
+ setHeight(25);
+ setBackgroundColor("ThreeDFace");
+ }
+
+ var start = new QxMenuButton("START");
+ start.addEventListener("click", function() {
+ startMenu();
+ });
+ bar.add(start);
+
+ w.add(bar);
}
window.onresize = function()