summaryrefslogtreecommitdiff
path: root/indra/llui/llbutton.cpp
AgeCommit message (Collapse)Author
2011-11-28Automated merge with ssh://hg.lindenlab.com/richard/viewer-experienceRichard Linden
2011-11-11EXP-1504 : Move the tab opening stuff to lltabcontainer and out of llbutton. ↵Merov Linden
Added an xui param to allow drill through tabs. Set that param for build panel only.
2011-11-10EXP-1504 : Allow opening of tab in tab containers when drag and dropping ↵Merov Linden
things. Added new param to LLButton to handle this (off by default). Refactor lltabcontainer code a bit while at it.
2011-11-08LLHandle<Derived> is now implicitly convertable to LLHandle<Base> and ↵Richard Linden
LLHandle<Base> can be downcast to LLHandle<Derived> using the LLHandleProvider mixin
2011-10-17* Fixed icon opacity on selected and unselected buttonsLeslie Linden
2011-10-17fix for not being able to drag disabled buttonsRichard Nelson
2011-10-14New icon love for FUILeslie Linden
2011-10-13cleaned up floater reg, removed extraneous functionsRichard Nelson
2011-10-12tooltips now only show labels for toolbar buttons when label is hidden or ↵Richard Nelson
truncated tooltips are no longer instantaneous once a tooltip is visible
2011-10-12don't highlight toolbar buttons during drag and drop (for real)Richard Nelson
2011-10-11* Dimmed overlay color on button image overlays to 0.75*alpha when buttons areLeslie Linden
unselected.
2011-10-11Added 'execute_stop_function' command parameter to handle mouse down/up ↵Leslie Linden
actions on toolbar buttons
2011-10-10fixed icons moving when clicking on icon-only toolbarsRichard Nelson
2011-10-06EXP-1300 WIP Visual feedback for Drag and DropRichard Nelson
removed hover highlighting of buttons when dragging over them also updated toolbar button art to match spec
2011-10-05EXP-1280 FIX -- Minimized floaters associated with toolbar buttons should ↵Leslie Linden
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-09-27EXP-1258 FIX toggle buttons between icons and icons+text modesRichard Linden
fixed button layout for icon only buttons
2011-09-27EXP-1258 WIP toggle buttons between icons and icons+text modesRichard Linden
fixed button layout for icon+text layout stack now uses floating point precision to avoid clamping panels to 0
2011-09-27EXP-1258 WIP toggle buttons between icons and icons+text modesRichard Linden
better button sizing also disabled context menu for non-toolbar region
2011-09-26initial support for switching between icons only and icons + textRichard Nelson
2011-09-20EXP-1228 FIX Create toolbar widget class that displays list of buttons ↵Richard Linden
horizontally or vertically buttons are now centered and sized according to content created floater_test_toolbar.xml to test
2011-09-08fix for held down delay not parsing from xuiRichard Linden
2011-09-06EXP-1196 FIX Fix param block template orderingRichard Linden
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-06-16EXP-891Leyla Farazha
Right click on Inbox or Outbox toggles up down arrow but has no action
2011-06-09EXP-865 FIX -- Modify LLBadge to allow it to hang off of non-buttonsLeslie Linden
LLBadgeOwner now only depends on LLView instead of LLUICtrl Sidebar Tab Buttons now can support badges Reviewed by Leyla
2011-06-08Merge from viewer-experienceLeslie Linden
2011-06-08EXP-865 PROGRESS -- Modify LLBadge to allow it to hang off of non-buttonsLeslie Linden
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-07EXP-865 PROGRESS -- Modify LLBadge to allow it to hang off of non-buttonsLeslie Linden
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-05-24Added badges version 0.1 to buttons.Leslie Linden
Reviewed by Richard
2010-11-29STORM-689 FIXED "Back" but is opaque in all of the undocked side panelsPaul Guslisty
- 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-09-09DEV-53015 FIX Volume slider disappears when sliding on ↵Richard Linden
panel_prim_media_controls.xml
2010-10-06Rolling back 28f52b3d2e3d : optimizations in button renderingMerov Linden
2010-10-06Backed out changeset 28f52b3d2e3d (optimizations in button rendering).Merov Linden
2010-09-13STORM-101 FIXED Moved floater settings (rect, visibility, docked state) to ↵Vadim Savchuk
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-08-24Backed out changeset c3d41f18ce2bTofu Linden
back-out the back-out for this branch. yay.
2010-08-24Backed out changeset a62bf7c0af21Tofu Linden
Backing out this merge that I pushed (prematurely) to the wrong place.
2010-08-24merge heads. whew.Tofu Linden
2010-08-13Change license from GPL to LGPL (version 2.1)Oz Linden
2010-07-30optimizations in button renderingRichard Nelson
2010-07-27Backed out changeset: 58571b4e704bRichard Linden
2010-07-15Reverted changeset 2bb10eae42bfDessie Linden
2010-07-09EXT-8237 FIX Opening up Edit Outfit- Add More->Shirt causes FPS to drop from ↵Richard Linden
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-06-22adding eolLeyla Farazha
2010-06-22EXT-7980 Double-clicking no longer selects contents of number fieldsLeyla Farazha
reviewed by Richard
2010-06-01EXT-7087 ADDITIONAL FIX Style changes regarding image_flash attributeAndrew Dyukov
Removed default "FlashIconAbsent" value of image_flash button attribute. Changed check for presence of thic icon in code accordingly. --HG-- branch : product-engine
2010-05-31EXT-7087 FIXED Added flashing icons for im tabs and hooked them up in codeAndrew Dyukov
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-04-22Fixed EXT-6597(normal) - Clicking the maturity rating icons in the navbar ↵Dmitry Zaporozhan
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-01EXT-6492 - button halign=center doesn't take into account left and right padRichard Linden
2010-02-08EXT - 3232 Refactoring: deleted unnecessary image_left_padding, ↵Paul Guslisty
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-08EXT-3232 Refactoring: Improved the way of horizontal alignment of button's ↵Paul Guslisty
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-05Fixed normal bug EXT - 3232 (Make button image overlay placement adjustable ↵Paul Guslisty
via xml) --HG-- branch : product-engine