1
|
=== modified file 'src/com/goldencode/p2j/ui/client/gui/driver/EmulatedWindowState.java'
|
2
|
--- src/com/goldencode/p2j/ui/client/gui/driver/EmulatedWindowState.java 2015-09-01 18:27:30 +0000
|
3
|
+++ src/com/goldencode/p2j/ui/client/gui/driver/EmulatedWindowState.java 2015-09-07 19:41:29 +0000
|
4
|
@@ -458,6 +458,9 @@
|
5
|
ps.y,
|
6
|
ps.centered);
|
7
|
break;
|
8
|
+ case SET_TITLE:
|
9
|
+ extra = String.format(" title = %s", ps.title);
|
10
|
+ break;
|
11
|
case DRAW_LINE:
|
12
|
extra = String.format(" x1 = %d; y1 = %d; x2 = %d; y2 = %d",
|
13
|
ps.x,
|
14
|
|
15
|
=== modified file 'src/com/goldencode/p2j/ui/client/gui/driver/web/res/p2j.mouse.js'
|
16
|
--- src/com/goldencode/p2j/ui/client/gui/driver/web/res/p2j.mouse.js 2015-09-07 21:11:46 +0000
|
17
|
+++ src/com/goldencode/p2j/ui/client/gui/driver/web/res/p2j.mouse.js 2015-09-07 21:19:44 +0000
|
18
|
@@ -555,6 +555,7 @@
|
19
|
|
20
|
function windowIconifyCallback(win, evt, mousePos, opCode)
|
21
|
{
|
22
|
+ p2j.logger.log("windowIconifyCallback: " + opCode + " win.id = " + win.id);
|
23
|
win.iconify();
|
24
|
|
25
|
var message = new Uint8Array(6);
|
26
|
|
27
|
=== modified file 'src/com/goldencode/p2j/ui/client/gui/driver/web/res/p2j.screen.js'
|
28
|
--- src/com/goldencode/p2j/ui/client/gui/driver/web/res/p2j.screen.js 2015-09-07 21:11:46 +0000
|
29
|
+++ src/com/goldencode/p2j/ui/client/gui/driver/web/res/p2j.screen.js 2015-09-07 21:19:44 +0000
|
30
|
@@ -829,6 +829,7 @@
|
31
|
break;
|
32
|
case ops.SET_TITLE:
|
33
|
var title = p2j.socket.readStringBinaryMessage(message, idx + 1);
|
34
|
+ extra = " title = " + title;
|
35
|
this.title = title;
|
36
|
taskBar.draw();
|
37
|
// TODO: force taskbar to repaint
|
38
|
|
39
|
=== modified file 'src/com/goldencode/p2j/ui/client/gui/driver/web/res/p2j.virtual_desktop.js'
|
40
|
--- src/com/goldencode/p2j/ui/client/gui/driver/web/res/p2j.virtual_desktop.js 2015-09-07 19:02:47 +0000
|
41
|
+++ src/com/goldencode/p2j/ui/client/gui/driver/web/res/p2j.virtual_desktop.js 2015-09-07 21:16:42 +0000
|
42
|
@@ -311,7 +311,7 @@
|
43
|
var taskIcon = new TaskIcon(win, null, TASK_ICON_WIDTH, TASK_ICON_HEIGHT, foreground);
|
44
|
taskIcons.push(taskIcon);
|
45
|
/**
|
46
|
- * By default the task s active. Only one task can be active.
|
47
|
+ * By default the task is active. Only one task can be active.
|
48
|
*/
|
49
|
deactivateHead();
|
50
|
return taskIcon;
|
51
|
@@ -409,7 +409,12 @@
|
52
|
taskIcon.draw();
|
53
|
};
|
54
|
|
55
|
- // MISSING JAVADOC
|
56
|
+ /**
|
57
|
+ * It is a "dragstart" event handler that makes the movable task bar to appear half transparent.
|
58
|
+ *
|
59
|
+ * @param {DragEvent} event
|
60
|
+ * The drag event.
|
61
|
+ */
|
62
|
function startDragging(event)
|
63
|
{
|
64
|
event.dataTransfer.setData('text/plain',null);
|
65
|
@@ -417,13 +422,24 @@
|
66
|
event.target.style.opacity = DRAGGED_OPACITY;
|
67
|
}
|
68
|
|
69
|
- // MISSING JAVADOC
|
70
|
+ /**
|
71
|
+ * It is a "dragend" event handler that restores the opacity of the movable
|
72
|
+ * task bar.
|
73
|
+ *
|
74
|
+ * @param {DragEvent} event
|
75
|
+ * The drag event.
|
76
|
+ */
|
77
|
function dragEnded(event)
|
78
|
{
|
79
|
event.target.style.opacity = 1;
|
80
|
}
|
81
|
|
82
|
- // MISSING JAVADOC
|
83
|
+ /**
|
84
|
+ * It is a "drag" event handler.
|
85
|
+ *
|
86
|
+ * @param {DragEvent} event
|
87
|
+ * The drag event.
|
88
|
+ */
|
89
|
function drag( event )
|
90
|
{
|
91
|
}
|
92
|
|