Commit Graph

60 Commits (1300f77fdd48d90d09a05058ffdf10df93092391)

Author SHA1 Message Date
Richard Linden bea2dfbc22 EXP-1767 WIP Received Items panel state does not persist between sessions
added get/setTargetDim() for managing layout_panel size even if its collapsed/invisible/etc
2012-03-06 16:59:11 -08:00
Richard Linden 93aa231a18 EXP-1767 WIP Received Items panel state does not persist between sessions
ensure that layout stack has updated its layout before manually resizing one of its elements
(which was causing the manual resize to be stomped on by the newly triggered layout update)
made layout stack animation occur even when layout stack not visible (inventory will appear in proper open/closed state)
LLView::setShape() now only calls handleReshape() when dimensions change
removed extraneous calls to LLLayoutStack::updateClass() so that it should be called only
once per frame now, allowing it to limit animation updates to layout stacks to one per frame.
fixed rendering glitches arising from reshaping LLFolderView while in the middle of its draw() method
2012-03-06 16:49:58 -08:00
Richard Linden e482e677b2 EXP-1767 WIP Received Items panel state does not persist between sessions
fixed layout stack so programmatic size updates will work correctly
2012-02-08 16:51:19 -08:00
Richard Linden 8f1f84212b EXP-1858 FIX Received Items panel heading in incorrect position
didn't account properly for collapsed panels
2012-02-02 11:35:36 -08:00
Richard Linden 178b30601b fixed layout_stack regression resulting in side toolbars being truncated 2012-01-31 17:52:01 -08:00
Richard Linden 20b46ef6f6 EXP-1851 FIX Crash when trying to resize the bottom sections
more layout logic fixes and added renormalization to fractional sizes to eliminate drift
2012-01-31 15:34:32 -08:00
Richard Linden f3ddb75b03 EXP-1851 WIP Crash when trying to resize the bottom sections
fixed layout logic when dealing with invisibile layout_panels
2012-01-30 18:32:35 -08:00
Richard Linden 29ad432c8b made layoutPanels have constant user_resize and auto_resize attributes 2012-01-19 19:52:49 -08:00
Richard Linden a662b888ed EXP-1824 FIX Received Items panel does not collapse correct when Height of panel is maximized in Inventory window 2012-01-19 19:40:46 -08:00
Merov Linden 02641d4ef3 Fix a Linux compilation failure 2012-01-18 16:32:07 -08:00
Richard Linden 40687a930c EXP-1812 FIX Cannot resize location bar / favorites in top navigation bar in viewer 2012-01-18 12:59:44 -08:00
Richard Linden 1eae229cf2 EXP-1809 FIX Buttons in right toolbar clipped and can be out of position 2012-01-17 16:28:12 -08:00
Richard Linden 1fede65af2 EXP-1810 FIX Cannot resize Received items panel in Inventory window 2012-01-17 16:05:10 -08:00
Richard Linden 2589a7e135 fix for crash in assert when programmatically toggling user resize 2012-01-17 12:17:03 -08:00
Merov Linden 0e7956a4cb EXP-1758 : Fix crash on login on Mac (bad pointer reference). Might need more work if the intent was to always get that pointer. 2012-01-17 07:39:14 -08:00
Merov Linden 7092a07045 Fix Mac build issue 2012-01-16 14:35:00 -08:00
Richard Linden cd4204b273 EXP-1758 WIP Progress spinner not shown during merketplace synch if Merchant Outbox floater was previously minimized
rewrote layout_stack resizing logic to be symmetrical
2012-01-16 11:03:33 -08:00
Richard Linden b1016782a2 EXP-1367 FIX Moving in and out of mouselook causes location bar to move down 2011-10-18 16:43:43 -07:00
Richard Nelson fc0f5173eb fix linux build 2011-09-28 10:40:28 -07:00
Richard Linden 68d5141fb3 EXP-1258 WIP toggle buttons between icons and icons+text modes
fixed button layout for icon+text
layout stack now uses floating point precision to avoid clamping panels to 0
2011-09-27 19:06:02 -07:00
Richard Linden 64f30a302d EXP-1228 FIX Create toolbar widget class that displays list of buttons horizontally or vertically
buttons are now centered and sized according to content
created floater_test_toolbar.xml to test
2011-09-20 16:37:21 -07:00
Richard Linden b183b6f141 EXP-1196 FIX Fix param block template ordering
changed ordering of template loading relative to constructor setting of params
moved a lot of constructor-set params to template files
reviewed by Leslie
2011-09-06 14:45:11 -07:00
Richard Nelson fd9f3b9fe9 EXP-1021 FIX Position of web content browser dictates position of profile panel - profile panel position changes do not persist
EXP-1030 FIX Search button toggle can get out of synch in bottom bar
made llinstancetracker::iterator do own nested level management (removing need for separate guard)
added support for filename= to floaters
can pass in arbitrary window_class to floaters
2011-07-26 14:26:27 -07:00
Richard Linden c6d9a6b832 another gcc fix 2011-06-23 15:35:23 -07:00
Leslie Linden 842b6d2d14 Build fix after merge. 2011-06-23 16:34:54 -04:00
Richard Linden 4ebf8e3abc fix for gcc build 2011-06-23 12:02:59 -07:00
Leslie Linden 4267014b14 EXP-890 FIX -- Resizing inbox or outbox to minimum size while open does not show present items when hte box is next opened
EXP-897 FIX -- Black box shown in UI when shrinking Inbox down in size

* Layout panel now supports "expanded_min_dim" parameter which allows a different min
  size to be specified when the layout panel is collapsed vs expanded.
* Inbox and Outbox expanded_min_dim attributes are now set to be larger than min dim
  so they can not be collapsed all the way when they are expanded.
2011-06-22 17:35:25 -04:00
Leslie Linden 33e4a2c7b1 Updated Marketplace Inbox & Outbox panel to maintain size when one is expanded vs the other 2011-05-25 10:39:34 -07:00
Vadim ProductEngine 0247cd6aeb STORM-236 FIXED Allow the "Speak" button to be removed, like other buttons.
Cumulative diff of changes made by Wolfpup, Richard and me.

Description:
* Ability to hide the Speak button with the bottom tray context menu.
* Made the chat input resize handle visible, so that the feature is easily discoverable.
* Applied Richard's fix to layout panel resizing logic.
2011-03-03 20:49:42 +02:00
Monroe Linden dee57bea25 Merge from viewer-development. 2010-12-20 11:21:17 -08:00
Richard Linden f8d08af9f1 SOCIAL-266 WIP HTTP AUTH dialogs no longer work in LLQtWebKit 4.7.1
converted LLLayoutStack orientation param to use named enums
2010-11-23 16:25:10 -08:00
Richard Linden ecd8290b3f SOCIAL-266 WIP HTTP AUTH dialogs no longer work in LLQtWebKit 4.7.1
factored out llwindowshade control for slide-in notifications
2010-11-19 19:18:17 -08:00
Richard Linden f241e2327c made layout stack open/close time configurable 2010-10-21 17:13:09 -07:00
Richard Linden 83bb4b9518 fixed merge 2010-09-16 22:10:30 -07:00
Richard Linden 1911993cc7 merge 2010-09-16 19:45:57 -07:00
Andrew Dyukov a30bc718bb VWR-22690 FIXED Implemented save/load of bottomtray button order.
- Added methods responsible for saving and loading order of buttons to bottomtray. Order is saved after each drag'n'drop to
ensure user's customization of bottomtray is not lost because of crash.

- Added additional argument to layoutstack movePanel() method which tells it to move panel to the beginning of mPanels vector
without requiring a pointer to panel before which it should be inserted.

Reviewed by Vadim Savchuk.
2010-09-06 22:56:14 +03:00
Andrew Dyukov e04dabd2b3 VWR-20705 VWR-20706 FIXED Implemented drag'n'drop of buttons in bottomtray.
- Though visually user drags buttons, layout panels are really moved. To move one panel before other, new method movePanelBeforeOther() was added to layout stack.

- When drag'n'drop is finished, order of panels in layout stack mToolbarStack is changed, and also order vectors are updated in bottomtray.These are vectors mButtonsProcessOrder and mButtonsOrder. mButtonsOrder was introduced in this changeset to store order of all bottomtray buttons that may change place via drag'n'drop and should save and load it between sessions. mButtonsProcessOrder is not enough for it because it contains only buttons that may be hidden(and for example Speak button is not included in it).

- To pass mouse events from buttons to bottomtray, new class LLBottomtrayButton was added (and new widget bottomtray_button for it).

Reviewed by Vadim Savchuk.
2010-09-06 21:35:01 +03:00
Monroe Linden b62b10dd26 Post-convert merge by convert_monolith.py from ./viewer-experience 2010-08-27 16:58:33 -07:00
Richard Linden ead46208b0 made layoutstack orientation mandatory 2010-08-26 12:33:31 -07:00
Richard Linden 92db224e86 fixed regressions from changing layout panel to be a derived widget class 2010-08-25 16:46:37 -07:00
Richard Nelson 0daa627db4 removed LLLayoutStack::fromXML custom xml parsing 2010-08-24 11:44:28 -07:00
Richard Nelson 65c9914d23 made Params parsers not act as singletons 2010-08-23 11:03:19 -07:00
Oz Linden 06b0d72efa Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
Mike Antipov 08ede585ce Work on major bug EXT-5589 (Notifications button falls under side panel)
-- updated LLLayoutStack to process "max_width" & "max_height" attributes for layout_panel.

--HG--
branch : product-engine
2010-02-24 17:13:56 +02:00
Tofu Linden a4d224ff93 EXT-5055 LLInstanceTracker promotes some dangerous patterns - detect them 2010-02-06 21:38:57 +00:00
Vadim Savchuk 65557cde70 Made the control panel in P2P IM sessions non-resizable (EXT-3470).
--HG--
branch : product-engine
2009-12-22 20:03:10 +02:00
richard 2b22831dd0 ext-3307 - nearby chat stays scrolled at bottom 2009-12-18 15:18:16 -08:00
richard c84b6a28a0 made setupParams do coordinate flipping and negative coordinate magic only for XUI-based params 2009-12-17 11:49:41 -08:00
Mike Antipov 812d18515d Completed major sub-task EXT-991 (Update bottom bar behavior on resize)
- added possibility to shrink/extend buttons (gestures, move, view) while resizing
 - I had to add LLLayoutStack::getPanelMinSize interface to validate width of Layout panels with these buttons

--HG--
branch : product-engine
2009-11-17 13:03:08 +02:00
Nat Goodspeed 65d8b9cfe5 Make LLInstanceTracker a public base of LLLayoutStack.
Qualify instance_iter with LLLayoutStack:: rather than having to restate the
template params to LLInstanceTracker.
2009-11-10 16:20:07 -05:00