Changeset 516
- Timestamp:
- 11/22/13 10:26:14 (10 years ago)
- Location:
- trunk/src/org/expeditee
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/expeditee/actions/Misc.java
r514 r516 1058 1058 1059 1059 Frame frame = FrameIO.CreateNewFrame(text); // create new frame for browser 1060 frame.addText( 50, 50, "@iw:org.expeditee.items.widgets.Browser", null); // create new text item for browser widget1060 frame.addText(0, 50, "@iw:org.expeditee.items.widgets.Browser", null); // create new text item for browser widget 1061 1061 FrameUtils.Parse(frame); // parse created frame; loads browser widget 1062 1062 1063 1063 for(InteractiveWidget iw : frame.getInteractiveWidgets()) { // may be other widgets on frame 1064 1064 if(iw instanceof org.expeditee.items.widgets.Browser) { 1065 // Set browser to 'full screen' 1066 iw.setSize(-1, -1, -1, -1, Browser._theBrowser.getWidth(), Browser._theBrowser.getHeight() - MessageBay.MESSAGE_BUFFER_HEIGHT - 80); 1067 1065 1068 // If there is a text item attached to cursor use it as url for browser 1066 1069 if(FreeItems.textOnlyAttachedToCursor()) { -
trunk/src/org/expeditee/gui/FrameMouseActions.java
r454 r516 192 192 193 193 private static void setPulse(boolean pulseOn) { 194 if (_pulseOn == pulseOn) 194 if (_pulseOn == pulseOn) { 195 195 return; 196 } 196 197 int amount = PULSE_AMOUNT; 197 if (!pulseOn) 198 if (!pulseOn) { 198 199 amount *= -1; 200 } 199 201 _pulseOn = pulseOn; 200 202 203 201 204 if (_lastClickedOn != null) { 202 205 for (Item i : _lastClickedOn.getAllConnected()) { … … 297 300 _lastMouseClick = e; 298 301 _lastMouseClickModifiers = modifiersEx; 299 302 300 303 /* 301 304 * Only start the timer when in free space when the user double clicks … … 449 452 _ExtrudeMouseTimer.stop(); 450 453 _MouseTimer.stop(); 454 451 455 setPulse(false); 452 456
Note:
See TracChangeset
for help on using the changeset viewer.