summaryrefslogtreecommitdiff
path: root/indra/newview/llbottomtray.cpp
AgeCommit message (Collapse)Author
2010-09-16mergeRichard Linden
2010-09-13merge storm-123Tofu 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-09-13Little refactoring.Andrew Dyukov
Removed unused "mask" arguments from three sidetray methods.
2010-09-13STORM-123 FIXED Fixed resize availability of nearby chat in bottomtray.Andrew Dyukov
Cursor didn't change to "resize" state, because handlehover of bottomtray wasn't working correctly. It happened because LLPanel::handleHover() wasn't called in LLBottomtray::handleHover(). - There was no good reason to override habdleHover() in LLBottomTray so new method onDraggableButtonHover() was introduced to be called from bottomtray buttons(as it was already done for mouse up and down).
2010-09-10EXP-23 FIX Tail for chat box hint should be slantways instead of horizontalRichard Nelson
2010-09-07Fix some build errors.Tofu Linden
2010-09-06VWR-22690 FIXED Implemented save/load of bottomtray button order.Andrew Dyukov
- 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-06VWR-20705 VWR-20706 FIXED Implemented drag'n'drop of buttons in bottomtray.Andrew Dyukov
- 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-08-27Post-convert merge by convert_monolith.py from ./viewer-experienceMonroe Linden
2010-08-25fixed regressions from changing layout panel to be a derived widget classRichard Linden
2010-08-24removed LLLayoutStack::fromXML custom xml parsingRichard Nelson
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-20changed buildPanel/buildFloater to member functions buildFromFileRichard Nelson
streamlined LLUICtrlFactory's interface
2010-08-16cleaned up LLUICtrlFactory...Richard Nelson
removed redundant functionality moved buildPanel to LLPanel
2010-08-13Change license from GPL to LGPL (version 2.1)Oz Linden
2010-08-12remaining hints definedRichard Linden
2010-08-12first pass at hintsRichard Nelson
2010-07-30deprecated LLPanel::child*() methodsRichard Nelson
2010-06-04EXT-7548 FIXED Reset control variable for "Build" & "Map" buttons on destroy.Mike Antipov
Reviewed by Vadim Savchuk at https://codereview.productengine.com/secondlife/r/517/ --HG-- branch : product-engine
2010-06-01EXT-7516 FIXED Completely removed bottomtray's "Sidebar" button and related ↵Mike Antipov
settings/functionality Reviewed by Vadim Savchuk at https://codereview.productengine.com/secondlife/r/474/ --HG-- branch : product-engine
2010-06-01EXT-7379 FIXED Add save_visibility=true to search floater to enable ↵Mike Antipov
interaction with Search button Also added reset of floaters visibility on exit to emulate save_visibility=false Reviewed by Vadim Savchuk at https://codereview.productengine.com/secondlife/r/463/ --HG-- branch : product-engine
2010-05-27EXT-2260 FIXED Changed camera floater according to new styleAndrew Dyukov
- Implemented new widget- panel_camera_item, to use in camera floater. They are used inside of two panels. Their order is configurable via XML. Mouse down callbacks and images which are used for selected and and unselected items are also set in XML. - Now there are only 3 buttons instead of four at the bottom of the floater- pan and orbit are now shown simultaneously. - Implemented correct work of object view after moving from camera modes to presets list (and back). It wasn't workin completely correct in old version of floater. - Integrated new art. Reviewed by Igor Borovkov at https://codereview.productengine.com/secondlife/r/436/ --HG-- branch : product-engine
2010-05-27EXT-7497 FIXED Made Build, Search, Map, Mini-Map and Sidebar buttons in ↵Mike Antipov
bottomtray hidden by default. Also declaration of all settings related to bottom bar buttons and custom chatbar width were moved from code to settings.xml to prevent issues with resetting of these settings between restarts. Reviewed by Vadim Savchuk at https://codereview.productengine.com/secondlife/r/452/ --HG-- branch : product-engine
2010-05-25EXT-7104 FIXED Removed bottom separator in the context menu over bottomtray ↵Mike Antipov
buttons. Task implementation is already completed. Also minor refactoring: * updated removing of chatbar menu items * removed useless instance members Reviewed by Vadim Savchuk at https://codereview.productengine.com/secondlife/r/424/ --HG-- branch : product-engine
2010-05-20EXT-7104 WIP Enable Build button and set necessary callbacks.Mike Antipov
Because it is not enough to call showInstance for Build Floater it was implemented in a such way: * set save_visibility==true in floater tools to update button toggle state properly and subscribe Build button to listen visibility changes * added callback to observe parcel changing to set build button enabled/disabled. KNOWN ISSUE: if build permissions are changed button will not change state until restart/teleport Reviewed by Vadim Savchuk at https://codereview.productengine.com/secondlife/r/413/ --HG-- branch : product-engine
2010-05-19EXT-7104 WIP Added "Sidebar" button (disabled until callback is set)Mike Antipov
* Added widgets into xml, added setting and listener for context menu * added menu item to show/hide the button * button is made as may be hidden on resize Additional improvements: * Updated method to process buttons width when it is necessary to show any button via context menu * Updated LLBottomTray::initButtonsVisibility to not show warning messages if it is impossible to show a button due to bottom tray width on startup. Reviewed by Vadim Savchuk at https://codereview.productengine.com/secondlife/r/403/ --HG-- branch : product-engine
2010-05-19EXT-7104 WIP Implemented a functionality to control the width of the chat ↵Mike Antipov
entry field. * LLResizeBar calls notifyParent on resizing before changing rect of view, bottomtray processed this notification to update other buttons. * Had to move setup of buttons visibility on startup into LLBottomTray to ensure all buttons have necessary visibility BEFORE restore the width of the chat entry field; * Updated layout between chatbar and speak button to show resize mouse pointer in the middle between them. Implemented behavior: visible buttons shrink to their minimal width when the chat entry field gets wider. Also were refactored: * moved declaration of settings related to buttons visibility from the settings.xml to LLBottomTray. * moved setting of control listeners to LLBottomTray. Reviewed by Vadim Savchuk at https://codereview.productengine.com/secondlife/r/403/ --HG-- branch : product-engine
2010-05-14EXT-7104 WIP added 4 buttons to bottom tray, added "Show button" menu support.Mike Antipov
* Added 4 buttons with tooltips: ** Build - Shows/hides Build Tools ** Search - Shows/hides Search ** Map - Shows/hides World Map ** Mini-Map - Shows/hides Mini-Map * Made their width and minimal width the same as "Move" and "View" buttons (increased default total width of the bottom tray to make Layout Stack initialize its panels with default values from xml) * Added appropriate menu items in context menu to Show these buttons in the bottom tray (with functionality) * Set on click actions for this buttons. ("Build" temporary made disabled because default toggle registration is not enough for this floater.) Dev Notes: * Improved LLBottomTray::initResizeStateContainers to fill mObjectDefaultWidthMap using mStateProcessedObjectMap & mButtonsProcessOrder container * Improved LLBottomTray::canButtonBeShown to process variable number of buttons that can be hidden on resize QA Notes: Resize behavior with new buttons can already be tested. Reviewed by Vadim Savchuk at https://codereview.productengine.com/secondlife/r/381/ --HG-- branch : product-engine
2010-05-13EXT-7104 : WIP : improved processing of buttons to show/hide extend/shrink ↵Mike Antipov
them. Functionality was not changed. * added vector of buttons that can be shown/hidden extended/shrunk on resizing. * updated these operation to use iteration over this array. * cleaned up container initialization. This allow to extend this vector to add new buttons in bottom tray. Reviewed by Vadim Savchuk at https://codereview.productengine.com/secondlife/r/381/ --HG-- branch : product-engine
2010-05-13EXT-7104 : WIP : bottomtray refactoring for future changes. Functionality ↵Mike Antipov
was not changed. * updated method related to resize logic to take references to S32 instead of pointer. * added doxygen comments for these methods. Reviewed by Vadim Savchuk at https://codereview.productengine.com/secondlife/r/381/ --HG-- branch : product-engine
2010-05-12EXT-7104 : WIP : Removed dummy icons between buttons may be hidden to ↵Mike Antipov
simplify adding new buttons. * removed dummy icons * encreased width and minimal width of next to the left layout panels to icons' widths. * removed code processed dummy icons Reviewed by Vadim. --HG-- branch : product-engine
2010-04-19automated merge with trunkRoxie Linden
2010-04-13Completed normal subtask EXT-6621 (Code cleanup: Remove unused ↵Mike Antipov
LLFloaterActiveSpeakers and related classes from viewer) * Removed llfloateractivespeacker.h/cpp from CMakeLists.txt and from the repo. * Removed llmediaremotectrl.h/cpp, llvoiceremotectrl.h/cpp from the repo (were not in CMakeLists.txt). * Unused in 2.0 setings ("ShowVoiceChannelPopup" & "ShowVolumeSettingsPopup") are moved to the end of settings.xml (to not affect 1.23 if remove). * Removed xml files related to Active Speakers floater and old Communication floater (related cpp files have been already removed). Also removed their localized versions. * Also removed old textures related to removed xml and unused in 2.0 anymore. Reviewed by Vadim at https://codereview.productengine.com/secondlife/r/226/ --HG-- branch : product-engine
2010-04-07Re-insert backed out SLE checkin so we can fix itRoxie Linden
2010-04-07Backed out changeset 63b699f90efdTofu Linden
2010-04-02DEV-45809 - Merge Second Life Enterprise changes into viewer 2.x trunkRoxie Linden
Includes: DEV-45800, DEV-45803 - Grid Manager DEV-45804 - SLURL refactor DEV-45801 - Single username field (for Identity Evolution and SLE Ldap) Also, Includes Certificate Management code allowing the viewer to connect to grids not signed by a well know key (just like any web browser). Also contains secure storage for things like passwords. The security/certificate code is modular with the intention of adding modules to directly use the operating system facilities for crypto if available. (that's much more secure than we'll ever be) Also, refactor of voice to modularize it, and add a diamondware voice module. CR: Aimee, James, Lynx, Mani, Karina and a list of thousands
2010-04-01Automated MergeRoxie Linden
2010-03-30Completed normal task EXT-3397 (Hide well buttons if there are no active IM ↵Mike Antipov
sessions and unresolved notifications) * Implemented hiding of bottom tray's wells if there are no active IMs or unresolved notifications (via LLBottomTray::notifyParent) * Also refactored initializing code to init a pointer to a chiclet panel and map with bottomtray parts in postBuild BEFORE initializing start wells' visibility. For now minimal viewer width when all buttons are still visible (and have non-truncated labels in the 'EN' locale) with opened sidetray is 1041 px; with short Speak button (without text label) is 990 px. (with implemented patch in https://codereview.productengine.com/secondlife/r/126/) Each well button takes 37 px (with a padding). So, they can free up to 74 px when invisible. reviewed by Vadim at https://codereview.productengine.com/secondlife/r/136/ --HG-- branch : product-engine
2010-03-23EXT-2959 : Full out camera functions from llagent to llagentcameraLoren Shih
First check-in; only compiles, nothing more.
2010-02-24Fixed major bug EXT-5589 (Notifications button falls under side panel)Mike Antipov
-- added usage of max_width from layout_panel xml param instead of hardcoded in code. --HG-- branch : product-engine
2010-02-24Work on major bug EXT-5589 (Notifications button falls under side panel)Mike Antipov
Applayed Eugene Mutavchi's patch: -- removed min/max width params from xml <string> tags -- "min_width" for nearby chat bar now is got from the an appropriate layout panel params -- "max_width" for nearby chat bar is moved to constant. --HG-- branch : product-engine
2010-02-20conflict resolved.Tofu Linden
2010-02-20merge latest tweaks to viewer-hotfix; resolved conflict in llsearcheditor in ↵Kent Quirk
favor of the one that does less processing
2010-02-20Importing patch for EXT-5571 for Beta 3 release. Fix by Callum originally.Kent Quirk
2010-02-19Fixed low bug EXT-5568 (The Speak button label hides after bottom tray width ↵Eugene Mutavchi
decreased.) --HG-- branch : product-engine
2010-02-18Automated merge with ssh://hg.lindenlab.com/q/viewer-hotfixMonroe Linden
2010-02-18fixed some spacing munged by mergerichard