Commit Graph

206 Commits (d4e9604700a1dbae3dbce58a3be0fda1465fd39c)

Author SHA1 Message Date
Andrey Kleshchev a0e91e9e50 SL-307 Improvements to flashing color 2020-04-24 18:05:14 +03:00
Ansariel e0cd97f865 Merge branch 'DRTVWR-482' of https://bitbucket.org/lindenlab/viewer 2020-04-01 12:11:22 +02:00
Andrey Kleshchev eaa9b152bf SL-307 Implemented ability to specify color and changed flashing color 2020-03-27 22:38:15 +02:00
Ansariel d79b79fbe2 Merge viewer-ordered-shutdown 2019-10-19 03:16:10 +02:00
andreykproductengine c61d0f4297 DRTVWR-493 LLUI to LLParamSingleton 2019-08-10 15:31:03 +03:00
Ansariel dd2636a2c2 Merge viewer-neko 2019-01-10 21:10:36 +01:00
AndreyL ProductEngine 09b750483a SL-10293 Firestorm PR: preferences and menu search 2019-01-03 22:59:49 +02:00
Ansariel 448f344f54 Merge viewer-neko 2017-10-05 21:27:43 +02:00
AndreyL ProductEngine 818a0f7f77 MAINT-7790 Fixed vertical image alignment for buttons 2017-09-20 15:01:36 +03:00
Ansariel 3192fe832f Merge viewer-quickgraphics 2016-03-08 01:41:31 +01:00
Oz Linden c8726aba30 remove execute permission from many files that should not have it 2015-11-10 09:48:56 -05:00
Nicky 006190f2a1 Merge with tools update. 2015-05-05 13:09:27 +02:00
callum_linden 23711c9275 Rename llround(..) to ll_round(..) because of a collision with MS llround (long long round) in VS2013 2014-12-10 08:44:08 -08:00
Ansariel f4bfb1aadf Merge LL V3.7.9 (AIS3 + SSA) 2014-10-22 02:02:08 +02:00
Nicky b54983b605 Allow preferences to be searched. 2014-09-28 03:00:57 +02:00
Stinson Linden 51e0cc8140 MAINT-4114: Refactoring the LLBadge code to ensure a parent view always has the badge (to preserve memory cleanliness), but to also allow for badge reparenting so that the NEW badge works in the inventory window. This change relates to 9e0d629da1487f850beb2767bd47734c4ccc393e. 2014-05-31 02:30:12 +01:00
Tank_Master 8863d9beaf Compile fixes 2014-06-09 23:27:05 -07:00
Tank_Master 6babf8abd2 Merge LL 3.7.7 2014-06-09 11:29:57 -07:00
Richard Linden 5866bb7ef0 merge with release 2014-02-12 10:32:02 -08:00
Tank_Master 7b2cc02863 Merge LL fitted mesh 2014-02-06 00:41:33 -08:00
Ansariel 3358102462 STORM-1984: Mousing over UI elements does not make them light up 2013-11-14 22:13:15 +01:00
Richard Linden fe518bde8e merge with release 2013-11-06 17:22:04 -08:00
Richard Linden 04397a095a more buildfix 2013-10-21 12:29:33 -07:00
Richard Linden 52da9f5f49 merge with viewer-release 2013-09-09 18:58:41 -07:00
Oz Linden 7ca10e5161 merge changes for 3.6.4-release 2013-08-26 15:14:12 -04:00
Richard Linden e340009fc5 second phase summer cleaning
replace llinfos, lldebugs, etc with new LL_INFOS(), LL_DEBUGS(), etc.
2013-08-09 17:11:19 -07:00
Richard Linden a2e22732f1 Summer cleaning - removed a lot of llcommon dependencies to speed up build times
consolidated most indra-specific constants in llcommon under indra_constants.h
fixed issues with operations on mixed unit types (implicit and explicit)
made LL_INFOS() style macros variadic in order to subsume other logging methods
such as ll_infos
added optional tag output to error recorders
2013-07-30 19:13:45 -07:00
Jeff (Gioffredo Linden) ee0b66f080 VITA test framework - record events support 2013-07-25 16:07:16 -04:00
Mnikolenko ProductEngine 0cf9597bd5 CHUI-926 FIXED FUI button will stay highlight(orange) if there are unread IMs when the conversation floater is minimized. 2013-06-11 15:30:31 +03:00
Richard Linden 0a96b47663 merge with viewer-release 2013-06-05 19:05:43 -07:00
Graham Madarasz bf6182daa8 Update Mac and Windows breakpad builds to latest 2013-03-29 07:50:08 -07:00
Richard Linden 8de397b19e SH-3931 WIP Interesting: Add graphs to visualize scene load metrics
changed LLCriticalDamp to LLSmoothInterpolation and sped up interpolator lookup
improvements to stats display of llstatbar
added scene load stats floater accessed with ctrl|shift|2
2013-03-18 08:43:03 -07:00
Tank_Master 6007d1235e merge snowstorm repo 2013-10-19 23:48:44 -07:00
Tank_Master 5a8d94c50f Merge LL 3.6.4 pass 1 2013-08-28 00:10:39 -07:00
Tank_Master d4640277d0 Merge LL 3.5.3 release. 2013-07-09 16:24:58 -07:00
Ansariel 3e5a2d2e34 Fix button hovering effect not working anymore 2013-07-05 15:39:29 +02:00
Ansariel e864171846 Re-add missing code for checkboxed toolbar button 2013-06-30 22:18:30 +02:00
Ansariel 87789fb48e Crash fix in LLButton 2013-06-30 18:55:15 +02:00
AlexanderP ProductEngine d99fa985c8 CHUI-566 ADD. FIX Flashing and color on Conversations FUI button and conversation line item
Cancel sticking of color, if the button is pressed, or when a flashing of the previously selected button is ended
2012-12-28 18:55:24 +02:00
Merov Linden ba297b167f CHUI-600 : Fixed! Modified the button flash state so it sticks after the animation and is dismissed on toggle 2012-12-19 20:07:08 -08:00
AlexanderP ProductEngine 22c2fff4ba CHUI-566 Flashing and color on Conversations FUI button and conversation line item 2012-12-14 19:56:05 +02:00
AlexanderP ProductEngine 1ce49f764f CHUI-532 FIXED (Viewer crash when user in conversation is removed from participant list because they logged out or teleported away)
delayed destroy of the timer
2012-12-03 19:20:11 +02:00
maksymsproductengine edeeed9541 CHUI-531 FIXED Poor fps in CHUI viewer 2012-11-21 01:41:49 +02:00
AlexanderP ProductEngine 48a683af70 CHUI-488 ADD. fIX Clean up code 2012-11-19 17:40:46 +02:00
AlexanderP ProductEngine e298c2ded8 CHUI-487, CHUI-488 FIXED (Enable flashing FUI button behavior and Implement Flashing Conversations panel line item behavior): implemented FUI button flashing; clean up code 2012-11-16 22:36:12 +02:00
AlexanderP ProductEngine 50b69c3f97 CHUI-487, CHUI-488 W.I.P. #3 (Enable flashing FUI button behavior and Implement Flashing Conversations panel line item behavior): implemented conversation's item flashing 2012-11-16 12:38:40 +02:00
Richard Linden cf02780ddf EXP-1513 WIP Underscore ( _ ) fails to show in first chat entry in Local Chat
cleaned up font positioning on buttons
2012-01-27 17:48:08 -08:00
Richard Linden 0c0ff35d19 EXP-1551 FIX Ability to toggle button flashing
added "EnableButtonFlashing" setting
2011-12-13 13:11:55 -08:00
Richard Linden acd047b6be Automated merge with ssh://hg.lindenlab.com/richard/viewer-experience 2011-11-28 23:15:03 -08:00
Merov Linden 4afb450225 EXP-1504 : Move the tab opening stuff to lltabcontainer and out of llbutton. Added an xui param to allow drill through tabs. Set that param for build panel only. 2011-11-11 09:31:07 -08:00
Merov Linden 7d78c63c05 EXP-1504 : Allow opening of tab in tab containers when drag and dropping things. Added new param to LLButton to handle this (off by default). Refactor lltabcontainer code a bit while at it. 2011-11-10 17:10:47 -08:00
Richard Linden b6858df0dd LLHandle<Derived> is now implicitly convertable to LLHandle<Base> and LLHandle<Base>
can be downcast to LLHandle<Derived> using the LLHandleProvider mixin
2011-11-08 13:47:08 -08:00
Leslie Linden ae3b5a4907 * Fixed icon opacity on selected and unselected buttons 2011-10-17 15:15:40 -07:00
Richard Nelson a2e32429bb fix for not being able to drag disabled buttons 2011-10-17 13:42:35 -07:00
Leslie Linden 93b6be6288 New icon love for FUI 2011-10-14 14:46:21 -07:00
Richard Nelson 63e4fdfc64 cleaned up floater reg, removed extraneous functions 2011-10-13 10:49:53 -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 d5d7e264ad don't highlight toolbar buttons during drag and drop (for real) 2011-10-12 16:51:00 -07:00
Leslie Linden ca9ea84095 * Dimmed overlay color on button image overlays to 0.75*alpha when buttons are
unselected.
2011-10-11 15:54:56 -07:00
Leslie Linden aec61c579a Added 'execute_stop_function' command parameter to handle mouse down/up actions on toolbar buttons 2011-10-11 10:07:19 -07:00
Richard Nelson 6a570a9bdc fixed icons moving when clicking on icon-only toolbars 2011-10-10 17:52:37 -07:00
Richard Nelson adeaf71e33 EXP-1300 WIP Visual feedback for Drag and Drop
removed hover highlighting of buttons when dragging over them
also updated toolbar button art to match spec
2011-10-06 15:19:15 -07:00
Leslie Linden 93e3c8e4a5 EXP-1280 FIX -- Minimized floaters associated with toolbar buttons should change the state of their parent button
* Toolbar buttons now display green when its corresponding floater is open or
  minimized.
* Made changes to buttons so flash time and rate is configurable
* Removed unused "highlight_color" attribute from LLButton
* Implemented "isVisible" function for toolbar button floaters.  It returns true
  when the floater is visible or minimized.
* Toolbar floater unminimize now also puts focus to the floater
* All commands now specify their "is_running_function" for toolbar button state
* ButtonFlashCount and ButtonFlashRate have been moved to button.xml settings
  and are now configurable on the button.  Toolbar buttons are set to never
  flash and this functionality is used to show which buttons have windows open.
* All toybox buttons show hover glow even when disabled

Reviewed by Richard.
2011-10-05 16:28:40 -07:00
Richard Linden 78eb989e50 EXP-1258 FIX toggle buttons between icons and icons+text modes
fixed button layout for icon only buttons
2011-09-27 19:22:09 -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 8912a9bef6 EXP-1258 WIP toggle buttons between icons and icons+text modes
better button sizing
also disabled context menu for non-toolbar region
2011-09-27 15:53:38 -07:00
Richard Nelson cc56958452 initial support for switching between icons only and icons + text 2011-09-26 19:48:27 -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 24db50a37f fix for held down delay not parsing from xui 2011-09-08 15:07:11 -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
Leyla Farazha 64f978dc81 EXP-891
Right click on Inbox or Outbox toggles up down arrow but has no action
2011-06-16 16:39:30 -07:00
Leslie Linden def85f2778 EXP-865 FIX -- Modify LLBadge to allow it to hang off of non-buttons
LLBadgeOwner now only depends on LLView instead of LLUICtrl
Sidebar Tab Buttons now can support badges

Reviewed by Leyla
2011-06-09 12:12:28 -07:00
Leslie Linden de78d17e91 Merge from viewer-experience 2011-06-08 13:41:40 -07:00
Leslie Linden 888b39c283 EXP-865 PROGRESS -- Modify LLBadge to allow it to hang off of non-buttons
Moved LLBadge use from LLButton into a separate LLBadgeOwner class.
LLButton now derives from LLBadgeOwner which handles the bulk of the
badge management.
2011-06-08 13:14:15 -07:00
Leslie Linden 1aed984928 EXP-865 PROGRESS -- Modify LLBadge to allow it to hang off of non-buttons
Added the following for increased LLBadge functionality:
 * Panels now choose whether or not they accept buttons as children, which they
   do by default.
 * UI controls now shuffle controls with "requests_front" to the front of their
   children list at postBuild time.
 * Badges are set to "requests_front" by default
 * Badges now accept border image and color attributes

 Reviewed by Callum
2011-06-07 13:57:19 -07:00
Leslie Linden 406195e4f2 Added badges version 0.1 to buttons.
Reviewed by Richard
2011-05-24 09:38:49 -07:00
Paul Guslisty 85c75c9ce3 STORM-689 FIXED "Back" but is opaque in all of the undocked side panels
- Added parameter to the button that defines which transparency value should be used: value of drawing context or transparency value of a its parent (in our case this parent is floater)
2010-11-29 20:04:26 +02:00
Richard Linden d0bc4fc5e6 DEV-53015 FIX Volume slider disappears when sliding on panel_prim_media_controls.xml 2010-09-09 19:07:07 -07:00
Merov Linden 2ffd7aad9f Rolling back 28f52b3d2e3d : optimizations in button rendering 2010-10-06 20:34:38 -07:00
Merov Linden 862a951880 Backed out changeset 28f52b3d2e3d (optimizations in button rendering). 2010-10-06 20:22:53 -07:00
Vadim Savchuk baeded61a7 STORM-101 FIXED Moved floater settings (rect, visibility, docked state) to account-specific XML file.
The settings are now stored to settings_per_account.xml.
This change affects all floaters having save_rect/save_visibility/save_dock_state params set to "true",
not just detached sidebar tabs as the ticket requests.
2010-09-13 20:06:48 +03: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 cba6943b27 optimizations in button rendering 2010-07-30 17:41:41 -07:00
Richard Linden 15247f0869 Backed out changeset: 58571b4e704b 2010-07-27 14:22:14 -07:00
Dessie Linden 5d85dad85f Reverted changeset 2bb10eae42bf 2010-07-15 12:31:08 -07:00
Richard Linden 1f79bee86e EXT-8237 FIX Opening up Edit Outfit- Add More->Shirt causes FPS to drop from 60fps to 18fps for a really long time
EXT-8235 FIX HUGE long delay when reopening and/or closing edit outfit sidepanel if "Add More..." is active
EXT-7695 FIX UI lockup after add wearable, right click av -> Change Outfit

reviewed by Vir
2010-07-09 14:26:56 -07:00
Leyla Farazha 11ec720a06 adding eol 2010-06-22 16:55:08 -07:00
Leyla Farazha 25de07a379 EXT-7980 Double-clicking no longer selects contents of number fields
reviewed by Richard
2010-06-22 16:14:22 -07:00
Andrew Dyukov 1e090dafa6 EXT-7087 ADDITIONAL FIX Style changes regarding image_flash attribute
Removed default "FlashIconAbsent" value of image_flash button attribute. Changed check for presence of thic icon in code accordingly.

--HG--
branch : product-engine
2010-06-01 16:42:31 +03:00
Andrew Dyukov 66ddb437f1 EXT-7087 FIXED Added flashing icons for im tabs and hooked them up in code
Added new attribute image_flash to button.xml which sets an image used for button icon when button is flashing.
Pointer to this image is stored in member mImageFlash from LLButton and is used in LLButton::draw(). There are two
ways an image can flash now - by making changes in color according to flash_color attribute or by changing icon from
current to the one specified in image_flash. Second way is used only if the name of flash icon is different from
"FlashIconAbsent" which is there by default. First way is used otherwise. Used new selfmade orange icons for
flashing tabs.

--HG--
branch : product-engine
2010-05-31 22:30:35 +03:00
Dmitry Zaporozhan edd0e47d5c Fixed EXT-6597(normal) - Clicking the maturity rating icons in the navbar need tooltips and clicking should link to a help article.
Added LLButton::setImagePressed(), there was no way to set pressed image at run-time. The only place where pressed image is initialized was LLButton constructor.

Replaced Maturity icon with button to simplify handling clicks. Icon does not provide click callback and we would need to handle mouse up/down events and track clicked widget.

Added icon for Moderate regions.

Did not find maturity help topic, added a "TODO".

Reviewed by Sergey Litovchuk - https://codereview.productengine.com/secondlife/r/243/

--HG--
branch : product-engine
2010-04-22 12:40:36 +03:00
Richard Linden 39ef9e9dd6 EXT-6492 - button halign=center doesn't take into account left and right pad 2010-04-01 14:56:53 -07:00
Paul Guslisty acc0a2962b EXT - 3232 Refactoring: deleted unnecessary image_left_padding, image_right_padding members from button.h and button.xml and their the only place usage in LLTabContainer::reshapeTuple . Now image overlay placement adjustible via: mLeftHPad, mRightHPad, mImageOverlayBottomPad, mImageOverlayTopPad, mImgOverlayLabelSpace
--HG--
branch : product-engine
2010-02-08 19:09:23 +02:00
Paul Guslisty 7199c9cc1b EXT-3232 Refactoring: Improved the way of horizontal alignment of button's image overlay. Now mLeftHPad/mRightHPad is used instead of mImageOverlayLeftPad and mImageOverlayRightPad. Also mImgOverlayLabelSpace/imgoverlay_label_space members was added to button.(h/xml) to define space between image overlay and button's label
--HG--
branch : product-engine
2010-02-08 18:05:48 +02:00
Paul Guslisty 77b5a39cc1 Fixed normal bug EXT - 3232 (Make button image overlay placement adjustable via xml)
--HG--
branch : product-engine
2010-02-05 17:34:50 +02:00
Paul Guslisty 8ea2c7a373 Implemeted normal Sub-Task EXT - 2753 (Implement Avatar icons on IM multifloater tabs)
--HG--
branch : product-engine
2010-01-27 14:16:37 +02:00
Paul Guslisty 0fd17c8d2d Implemeted normal Sub-task EXT - 2753 (Implement Avatar icons on IM multifloater tabs). Some code needs improvements(refactoring, optimization)
--HG--
branch : product-engine
2010-01-21 21:11:59 +02:00