Commit Graph

140 Commits (052d8a8f2eeb4501a62096e2565f377a03f6a609)

Author SHA1 Message Date
Richard Linden bb3f1e3d7a EXP-1406 FIX Scrolling using mousewheel not working to scroll in inventory and people panels 2011-10-18 18:51:17 -07:00
Richard Linden 62d9db2f21 Automated merge with http://hg.secondlife.com/viewer-development 2011-10-15 18:14:23 -07:00
Richard Nelson 9206226a37 tooltips now only show labels for toolbar buttons when label is hidden or truncated
tooltips are no longer instantaneous once a tooltip is visible
2011-10-12 18:16:59 -07:00
Richard Nelson 7fd0e8c69e fixed toolbar context menu
deprecated pointless LLView::deleteViewByHandle
2011-09-26 18:51:43 -07:00
Nat Goodspeed ad9c28a269 Automated merge with http://hg.secondlife.com/viewer-development 2011-09-26 15:44:21 -04:00
Nat Goodspeed 993dff2ea0 Fix new LLView::childFromPoint(recur=true) behavior: was always NULL.
The recursive logic always used to recur to the point where there were no
children -- where the next level of recursion returned NULL -- and then return
that NULL. Fix so when that lowest-level call returns NULL, we return one
level above that.
2011-09-12 23:06:43 -04:00
Richard Linden 72913ddf49 EXP-1196 FIX Fix param block template ordering 2011-09-08 22:35:53 -07:00
Andrew A. de Laix 2d19a20025 add getInfo to LLView to get state information about ui elements. 2011-09-08 09:46:04 -05:00
Richard Linden fef401a176 build fix 2011-09-06 16:05:03 -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
Nat Goodspeed b59c0a6680 Automated merge with http://hg.secondlife.com/viewer-development 2011-09-06 13:58:47 -04:00
Nat Goodspeed 71aec7439c CHOP-763: Introduce static LLView::getPathname(LLView*).
Use it for LLWindowListener to safely report an LLView* which might be NULL.
2011-08-30 15:22:44 -04:00
Andrew A. de Laix f08de06bf2 fix crash bug; exclude root from path. 2011-08-30 13:30:18 -05:00
Nat Goodspeed 6e8ba7e117 CHOP-763: Introduce LLView::getPathname(). 2011-08-30 09:53:43 -04:00
Nat Goodspeed f7a6ed85e4 CHOP-763: Add LLView::TemporaryDrilldownFunc to support UI injection.
Instead of unconditionally calling LLView::pointInView(),
LLView::visibleAndContains() now consults a class-static boost::function
called sDrilldown -- which is initialized to LLView::pointInView().
Introduce LLView::TemporaryDrilldownFunc, instantiated with a callable whose
signature is compatible with LLView::pointInView(). This replaces sDrilldown,
but only for the life of the TemporaryDrilldownFunc object.
Introduce llview::TargetEvent, an object intended to serve as a
TemporaryDrilldownFunc callable. Construct it with a desired target LLView*
and pass it to TemporaryDrilldownFunc. When called with each candidate child
LLView*, instead of selecting the one containing the particular (x, y) point,
it selects the one that will lead to the ultimate desired target LLView*.
Add optional 'recur' param to LLView::childFromPoint(); default is current
one-level behavior. But when you pass recur=true, it should return the
frontmost visible leaf LLView containing the passed (x, y) point.
2011-08-25 14:40:53 -04:00
Nat Goodspeed a548fd52e3 CHOP-763: Collect nontrivial LLView::childrenHandle*() methods.
There are 5 remaining childrenHandleSomething() methods with nontrivial bodies
-- the rest all forward to one of those 5. Move them all to be physically
adjacent in the source file to make it easy to compare/maintain.
2011-08-11 17:54:27 -04:00
Nat Goodspeed a44fb94af2 CHOP-763: Reduce redundancy in LLView::childrenHandle*() methods.
There were 13 different methods that were more or less clones of each other.
Consolidate those down to 5 variations on the basic method body, where each
variation has good (commented!) reason to differ.
Use helper methods to further simplify the remaining distinct method bodies.
Use BOOST_FOREACH() to improve readability of iterating over mChildList.
2011-08-11 17:41:54 -04:00
Leslie Linden b6685b5872 EXP-1065 FIX -- Inventory has slowed to a crawl. Clicking between items has an average one second delay. Same with switching between tabs.
* Removed numerous places in the code that called findChild across the inventory panel unnecessarily.
* Conglomerated uses of inbox and outbox inventory panels to the sidepanel class so the pointers can be cached and functionality like selection handling can be done more efficiently.
* Optimized LLView::childHasKeyboardFocus() to work backwards up from the focus object rather than searching for children that may or may not turn out to have focus.

Reviewed by Richard.
2011-08-08 15:13:53 -07:00
Richard Linden f09cabd4b0 EXP-970 FIX Group Roles > choose name causes other UI to become disabled 2011-06-30 16:15:10 -07:00
Loren Shih 037a83cd47 Automated merge up from viewer-development into mesh-development 2011-03-16 14:54:56 -04:00
Richard Linden 7cecf9ed8d SOCIAL-659 WIP Viewer crash when selecting report option from mini-inspector in minimal and standard skin
turned error into warning when removing non-existent child
2011-03-09 15:26:56 -08:00
Richard Linden 92403b4ea1 SOCIAL-593 FIX Profile Window cannot be resized in minimal skin
floater view snapping rectangle is now driven by floater_snap_region view
2011-03-02 21:05:03 -08:00
Loren Shih 618249155a Automated merge up from viewer-development 2010-12-13 10:08:55 -05:00
Oz Linden a5619d16f7 correct licenses (fix problem with license change merge) 2010-10-13 07:24:37 -04:00
Richard Linden 67be46c78a made mIsFocusRoot a XUI param 2010-09-28 17:12:50 -07:00
Dave Parks 7c2b9221d6 merge 2010-09-27 15:20:27 -05:00
Richard Linden f8a17515f5 EXP-109 WIP strip down main_view.xml
made menu keyboard access only work when menus are visible
dummy widgets are now added with a parent view that is invisible
popupview can now be default-built
2010-09-22 12:27:26 -07:00
Brad Payne (Vir Linden) 90e3d83a5c Fix for build failures - disabling tcmalloc for now 2010-09-21 13:26:52 -04:00
Richard Linden dcebc01149 made LLView::getUseBoundingRect() const and used it internally 2010-09-16 00:41:45 -07:00
Monroe Linden b62b10dd26 Post-convert merge by convert_monolith.py from ./viewer-experience 2010-08-27 16:58:33 -07:00
Dave Parks 2f012dd34f merge 2010-08-25 14:48:18 -05: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
Richard Nelson c20bd2dfee cleaned up LLUICtrlFactory...
removed redundant functionality
moved buildPanel to LLPanel
2010-08-16 15:00:51 -07:00
Tofu Linden e416840f85 Backed out changeset c3d41f18ce2b
back-out the back-out for this branch.  yay.
2010-08-24 19:22:00 +01:00
Tofu Linden 98cc236503 Backed out changeset a62bf7c0af21
Backing out this merge that I pushed (prematurely) to the wrong place.
2010-08-24 18:44:39 +01:00
Tofu Linden 6ba23344c9 merge heads. whew. 2010-08-24 18:37:53 +01:00
Oz Linden 06b0d72efa Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
Richard Nelson b95ad3b5ce further UI rendering performance improvements 2010-07-30 15:17:32 -07:00
Richard Nelson d72a21aca1 further UI rendering performance improvements 2010-07-30 15:17:32 -07:00
Richard Nelson 5a8715f827 added LLPanel::childSetAction() that does not take a void* argument
implemented childGetVisibleTab/PanelWithHelp using breadth-first-search iterator
moved tentative state from llview to lluictrl
changes llcallbackmap to use boost::function
2010-07-30 09:56:49 -07:00
Richard Nelson 989552161d added LLPanel::childSetAction() that does not take a void* argument
implemented childGetVisibleTab/PanelWithHelp using breadth-first-search iterator
moved tentative state from llview to lluictrl
changes llcallbackmap to use boost::function
2010-07-30 09:56:49 -07:00
Dave Parks 13202e744c merge 2010-07-14 11:11:31 -05:00
Richard Linden 7a54ce3cf6 EXT-7729 WIP LLWARNS: Tons of "Making dummy class..." warnings on startup
reviewed by Leyla
2010-06-22 13:42:55 -07:00
Dave Parks f461ae214c Merge with render-pipeline 2010-06-07 23:05:22 -05:00
Dave Parks 9a96da9c96 Better branch prediction in UI rendering. 2010-06-04 00:11:08 -05:00
Dave Parks 1655256c0c UI rendering optimization. 2010-05-29 04:18:44 -05:00
Vadim Savchuk cb05897152 EXT-6726 WIP Added handlers for most of Appearance SP context/gear menus.
Reviewed by Mike Antipov and Nyx at https://codereview.productengine.com/secondlife/r/428/

--HG--
branch : product-engine
2010-05-25 14:17:11 +03:00
Richard Linden 5921f2c14b EXT-7398 FIXED negative top/bottom coordinates do the wrong thing with topleft layout
reviewed by Leyla
2010-05-18 16:26:18 -07:00
Richard Linden b69a454aab merge 2010-04-08 16:43:48 -07:00