Revision: 4221
Author: seba.wagner
Date: Sun Sep 11 01:31:48 2011
Log: Some UI improvements to whiteboard and cursor
http://code.google.com/p/openmeetings/source/detail?r=4221
Added:
/trunk/singlewebapp/WebContent/openmeetings/base/components/panel/resources/arrow_cursor_resize_tool.fla
/trunk/singlewebapp/WebContent/openmeetings/base/components/panel/resources/arrow_cursor_resize_tool.swf
/trunk/singlewebapp/WebContent/openmeetings/base/components/panel/resources/arrow_cursor_rotate_tool.fla
/trunk/singlewebapp/WebContent/openmeetings/base/components/panel/resources/arrow_cursor_rotate_tool.swf
/trunk/singlewebapp/WebContent/openmeetings/modules/conference/whiteboard/resources/boundingBoxUR.fla
Modified:
/trunk/singlewebapp/WebContent/openmeetings/base/components/panel/resources/library.lzx
/trunk/singlewebapp/WebContent/openmeetings/modules/conference/whiteboard/base/baseDraw.lzx
/trunk/singlewebapp/WebContent/openmeetings/modules/conference/whiteboard/helper/boundingBoxAll.lzx
/trunk/singlewebapp/WebContent/openmeetings/modules/conference/whiteboard/library.lzx
/trunk/singlewebapp/WebContent/openmeetings/modules/conference/whiteboard/resources/boundingBoxUR.png
/trunk/singlewebapp/WebContent/openmeetings/plugins/conference/whiteboard/fixedFileExplorerWhiteBoard.lzx
=======================================
--- /dev/null
+++
/trunk/singlewebapp/WebContent/openmeetings/base/components/panel/resources/arrow_cursor_resize_tool.fla
Sun Sep 11 01:31:48 2011
Binary file, no diff available.
=======================================
--- /dev/null
+++
/trunk/singlewebapp/WebContent/openmeetings/base/components/panel/resources/arrow_cursor_resize_tool.swf
Sun Sep 11 01:31:48 2011
@@ -0,0 +1,3 @@
+CWS w xœ `ØÂÀíÀÀÃÈàÌôÿÿÿýÚŒ @È ¤A@@”Ÿ}î5·E½ÛÚgg šŠä 3ÕÉõ9rkEåÊ †ÿœ
@%L@¥mllŒ
+ @þd ›‰áØÔŸ^ Žfqzý ÚUÖ ’ M
+
=======================================
--- /dev/null
+++
/trunk/singlewebapp/WebContent/openmeetings/base/components/panel/resources/arrow_cursor_rotate_tool.fla
Sun Sep 11 01:31:48 2011
Binary file, no diff available.
=======================================
--- /dev/null
+++
/trunk/singlewebapp/WebContent/openmeetings/base/components/panel/resources/arrow_cursor_rotate_tool.swf
Sun Sep 11 01:31:48 2011
Binary file, no diff available.
=======================================
--- /dev/null
+++
/trunk/singlewebapp/WebContent/openmeetings/modules/conference/whiteboard/resources/boundingBoxUR.fla
Sun Sep 11 01:31:48 2011
Binary file, no diff available.
=======================================
---
/trunk/singlewebapp/WebContent/openmeetings/base/components/panel/resources/library.lzx
Mon Oct 11 08:09:56 2010
+++
/trunk/singlewebapp/WebContent/openmeetings/base/components/panel/resources/library.lzx
Sun Sep 11 01:31:48 2011
@@ -7,6 +7,8 @@
<resource name="arrow_draw_panel_cursor" src="arrow_cursor.swf" />
+ <resource name="arrow_resize_panel_cursor"
src="arrow_cursor_resize_tool.swf" />
+ <resource name="arrow_rotate_panel_cursor"
src="arrow_cursor_rotate_tool.swf" />
<resource name="arrow_draw_panel_tool_cursor" src="arrow_cursor_tool.png"
/>
<resource name="draw_box_vertical_rsc" src="draw_box_vertical.swf" />
<resource name="draw_box_horizontal_rsc" src="draw_box_horizontal.swf"
/>
=======================================
---
/trunk/singlewebapp/WebContent/openmeetings/modules/conference/whiteboard/base/baseDraw.lzx
Sat Sep 10 03:17:25 2011
+++
/trunk/singlewebapp/WebContent/openmeetings/modules/conference/whiteboard/base/baseDraw.lzx
Sun Sep 11 01:31:48 2011
@@ -633,7 +633,7 @@
<method name="onmousedownMethod" >
<![CDATA[
- if ($debug) Debug.write("onmousedown this.drawmodus:
",this.drawmodus);
+ if ($debug) Debug.write("onmousedownMethod
this.drawmodus: ",this.drawmodus);
if(this.selectedObjects.length > 0){
@@ -722,7 +722,7 @@
</method>
<method name="onmouseupMethod" >
- if ($debug) Debug.write("onmouseup
this.drawmodus: ",this.drawmodus);
+ if ($debug) Debug.write("onmouseupMethod
this.drawmodus: ",this.drawmodus);
<![CDATA[
if (canvas.ismoderator || canvas.isAllowedToDraw) {
//var bool = false;
=======================================
---
/trunk/singlewebapp/WebContent/openmeetings/modules/conference/whiteboard/helper/boundingBoxAll.lzx
Fri Sep 9 12:26:53 2011
+++
/trunk/singlewebapp/WebContent/openmeetings/modules/conference/whiteboard/helper/boundingBoxAll.lzx
Sun Sep 11 01:31:48 2011
@@ -17,7 +17,7 @@
<attribute name="dragStarted" value="false" type="boolean"/>
<handler name="onmouseover">
- lz.Cursor.setCursorGlobal("arrow_draw_panel_cursor");
+ lz.Cursor.setCursorGlobal("arrow_rotate_panel_cursor");
</handler>
<handler name="onmouseout">
lz.Cursor.unlock();
@@ -149,6 +149,8 @@
this.setAttribute("innerInsetScrollbars",16);
} else if (this.objRef.name.indexOf('clipart') >= 0) {
this.canBeResized = false;
+ this._gripperNoResize.setAttribute("visibility","visible");
+ this._gripperResize.setAttribute("visibility","hidden");
new lz.boundingBoxAllRotationMarger(this,{
x:this.objRef.clipart.clipArtEndx-12,
@@ -176,8 +178,7 @@
this.whiteboardRef.endDrawClipArtDrag(this.objRef);
this.whiteboardRef.reselectShowObjectBounds(this.objRef.name);
</method>
-
-
+
<!--
Do update the Selection-Box, in case another Moderator or User has
moved the Object
while you have it in focus
@@ -384,7 +385,13 @@
this.parent.objRef.width,
this.parent.objRef.height);
}
- </handler>
+ </handler>
+ <handler name="onmouseover">
+ lz.Cursor.setCursorGlobal("arrow_draw_panel_cursor");
+ </handler>
+ <handler name="onmouseout">
+ lz.Cursor.unlock();
+ </handler>
<!--
<labelTooltip labelid="252" />
-->
@@ -405,14 +412,24 @@
</view>
-->
- <baseChooseIcon resourceN="deleteIcon" y="0" labelid="80" width="22"
height="22"
- x="${
parent.width-this.width-parent.innerInsetScrollbars }" >
+ <view resource="deleteIcon" y="2" width="16" height="16"
+ x="${
parent.width-this.width-parent.innerInsetScrollbars-2 }" >
<handler name="onclick">
//Debug.write("this.parent.objRef.name:
",this.parent.objRef.name);
//this.parent.whiteboardRef.deleteItemByName(this.parent.objRef.name);
parent.__LZRemoveItem(this.parent.objRef);
</handler>
- </baseChooseIcon>
+ <handler name="onmouseover">
+ lz.Cursor.restoreCursor();
+ lz.Cursor.showHandCursor(false);
+ </handler>
+ <handler name="onmouseout">
+ lz.Cursor.showHandCursor(true);
+ lz.Cursor.unlock();
+ </handler>
+
+ <labelTooltip labelid="80" />
+ </view>
<!--
<view name="_inner" y="22" width="${ parent.width }"
@@ -464,9 +481,15 @@
<view resource="_boundingBoxPointerTL" x="0" y="0" />
<view resource="_boundingBoxPointerTR" x="${ parent.width-this.width
}" y="0" />
- <view name="_gripperResize" visibility="visible"
+ <view name="_gripperResize" visibility="visible"
resource="_boundingBoxPointerUR" x="${ parent.width-this.width }"
y="${ parent.height-this.height }"
onmousedown="parent._applyResizestateFromThis()"
onmouseup="parent._removeResizestateFromThis()" >
+ <handler name="onmouseover">
+ lz.Cursor.setCursorGlobal("arrow_resize_panel_cursor");
+ </handler>
+ <handler name="onmouseout">
+ lz.Cursor.unlock();
+ </handler>
<labelTooltip labelid="252" />
</view>
<view name="_gripperNoResize" visibility="hidden"
=======================================
---
/trunk/singlewebapp/WebContent/openmeetings/modules/conference/whiteboard/library.lzx
Sun Oct 10 08:55:30 2010
+++
/trunk/singlewebapp/WebContent/openmeetings/modules/conference/whiteboard/library.lzx
Sun Sep 11 01:31:48 2011
@@ -31,7 +31,7 @@
<resource name="bold" src="resources/bold.png" />
<resource name="italic" src="resources/italic.png" />
<resource name="combodown" src="resources/combodown.png" />
-<resource name="deleteIcon" src="resources/button_cancel.png" />
+<resource name="deleteIcon" src="resources/cancel.png" />
<resource name="ellipse" src="toolbar/resources/draw-ellipse.png" />
<resource name="rectangle" src="toolbar/resources/draw-rectangle.png" />
<resource name="imageIcon" src="resources/image.png" />
=======================================
---
/trunk/singlewebapp/WebContent/openmeetings/modules/conference/whiteboard/resources/boundingBoxUR.png
Mon Oct 12 03:58:23 2009
+++
/trunk/singlewebapp/WebContent/openmeetings/modules/conference/whiteboard/resources/boundingBoxUR.png
Sun Sep 11 01:31:48 2011
@@ -4,5 +4,10 @@
IHDR ‰
§IDATxœÓI ! Ð H@ " IH@ "% jN3¯û±4K×1‡ HRÀ;q ߯ŽÁ?æœ; o˜ª
- Fr lb»` Û ›˜™±”B3[ »X ˜sž ±•+Oc3;\žÀel NcªJ aι .a¿þÆ ›à B ™U`·
"Rí,ÆXaWpX'ï}5/¥0¥tî` [
- ~F¿³“/ géæíbf‡ IEND®B`‚
+@ `“d€7¡à ó `„¼ ÒÀ½ ¯OÁ e
+úð6`„ R0@2 ©ˆ" ]\ÛŸìß ÇV w0 ÿ ÔZ EQ ‡€Q ÅRÊ–ˆÌn0Š¢X)U H)›]à «
+ Ï —°Íà –¦iP–åö§„aø8Ʋ,‹=Ïk Ñ} k0u@DÍ s]·v
+ ñç)÷+1#¥< Q+„¸t]wù
+Õ¾ï 9¾.ž< ¯×ëÓ ®Åò< ©ª*
+æ&3Ü€½Û¶ 0Æ n³ Q3ÂN X<`Œ±dñd)¥!¢F q¶,ë ?9ç ߆Ì8ç Œ1à K”R·¹èöVo @ ¤ø
+öc|ÞWÆH} IEND®B`‚
=======================================
---
/trunk/singlewebapp/WebContent/openmeetings/plugins/conference/whiteboard/fixedFileExplorerWhiteBoard.lzx
Sat Sep 10 03:29:19 2011
+++
/trunk/singlewebapp/WebContent/openmeetings/plugins/conference/whiteboard/fixedFileExplorerWhiteBoard.lzx
Sun Sep 11 01:31:48 2011
@@ -12,7 +12,7 @@
-->
-<class name="fixedFileExplorerWhiteBoard" extends="view" >
+<class name="fixedFileExplorerWhiteBoard" extends="view"
showhandcursor="false">
<attribute name="baseurl" value="" type="string" />
<attribute name="fileName" value="" type="string" />
@@ -162,6 +162,7 @@
]]>
</method>
+ <!--
<handler name="onmousedown" >
if ($debug) Debug.write("onmousedown multiWhiteboardPanel");
this._drawareaMask._drawarea.onmousedownMethod();
@@ -171,6 +172,8 @@
if ($debug) Debug.write("onmouseup multiWhiteboardPanel");
this._drawareaMask._drawarea.onmouseupMethod();
</handler>
+ -->
+
<!--
The Content Area
@@ -187,14 +190,20 @@
<handler name="onmousedown">
this._drawarea.onmousedownMethod();
</handler>
+
<handler name="onmouseup">
this._drawarea.onmouseupMethod();
</handler>
<handler name="onmouseover">
+ lz.Cursor.restoreCursor();
+ lz.Cursor.showHandCursor(false);
this._drawarea.onmouseoverMethod();
</handler>
+
<handler name="onmouseout">
+ lz.Cursor.showHandCursor(true);
+ lz.Cursor.unlock();
this._drawarea.onmouseoutMethod();
</handler>
--
You received this message because you are subscribed to the Google Groups
"OpenMeetings developers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/openmeetings-dev?hl=en.