summaryrefslogtreecommitdiff
path: root/indra/newview/llbottomtray.h
AgeCommit message (Collapse)Author
2010-08-13Change license from GPL to LGPL (version 2.1)Oz Linden
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-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-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-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-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-02-16Fixed low priority bug EXT-5425 (Undocked 'Movement Controls' floater became ↵Vadim Savchuk
docked after opening from 'World' top menu). --HG-- branch : product-engine
2010-02-16Fixed low bug EXT-5376(Gesture button has stripped label after unhide if it ↵Eugene Mutavchi
was hidden with stripped label) --HG-- branch : product-engine
2010-01-29Fixed normal bug EXT-4697 (Buttons in bottom bar are compressed after ↵Eugene Mutavchi
quitting mouselook mode) and low bug EXT-4723 (Not all buttons are displayed on the bottom bar after leaving mouse look): - implemented the LLBottomTrayLite, which appears only in mouselook mode. --HG-- branch : product-engine
2010-01-15Fixed normal bug EXT-4309 (Gesture button is too wide in the mouse look ↵Eugene Mutavchi
mode): added hack that avoid usage of the LLLayoutStack resizing logic on mouse look mode switching. --HG-- branch : product-engine
2009-12-21implemented EXT-3594 IM Chiclet should be created for voice calls alsoIgor Borovkov
--HG-- branch : product-engine
2009-12-17corrected IM well counter EXT-2884 Initiation of a voice call should not ↵Igor Borovkov
bring text chat (p2p, ad-hoc, group) Now IM Well counter displays unread messages calculating it based on chiclets instead of displaying unread messages across all IM Model --HG-- branch : product-engine
2009-12-17fix. EXT-2884 Initiation of a voice call should not bring text chat (p2p, ↵Igor Borovkov
ad-hoc, group) correct chiclet handling functionality in IM when im session is started as voice call --HG-- branch : product-engine
2009-12-16fixed EXT-2884 Initiation of a voice call should not bring text chat (p2p, ↵Igor Borovkov
ad-hoc, group) Added flag to an LLIMSession which indicated whether it has been created for a voice call. --HG-- branch : product-engine
2009-12-04Work on normal task EXT-3081 (Separate Message Well on Notifications Well ↵Mike Antipov
and IM Well) -- removed member pointer to Notification Well Icon from the LLBottomTray -- placed Well counter over the Icon, made center-aligned --HG-- branch : product-engine
2009-12-03Work on task EXT-3081 (Separate Message Well on Notifications Well and IM Well)Mike Antipov
Initial commit -- added two floater classes derived from LLSysWellWindow to work with Notification Well & IM Well -- register two floaters in place of previous sys_well (but with the same xml file) -- replace using of LLSysWellWindow with LLNotificationWellWindow in the out code (except of in LLScreenChannel::updateShowToastsState) -- rename member variable in bottom tray used for Notification Well --HG-- branch : product-engine
2009-12-02mergeYuri Chebotarev
--HG-- branch : product-engine
2009-12-02fix for EXT-2886 Context menu for Nearby chat text field should look like ↵Yuri Chebotarev
context menu for any text editor, should include such items as (cut,copy, paste etc) --HG-- branch : product-engine
2009-11-30Linker optimization - use "extern template" for commonly regenerated templatesJames Cook
Also replaced many duplicate calls to LLViewerCamera::getInstance() with local pointer. Reviewed with Ambroff
2009-11-29Revert extern template link optimization until I can build/test on PCJames Cook
2009-11-28Use extern template for common singletons to reduce code bloat/link time.James Cook
2009-11-20No ticket. Code to resize bottom tray is refuctored after the latest fix for ↵Mike Antipov
EXT-2616: - Removed unused param while extending bottom tray - Moved some debug messages --HG-- branch : product-engine
2009-11-20Fixed normal bug EXT-2616 ("Speak" button isn't narrowed and has title when ↵Mike Antipov
width of window is 800px) - updated resize behavior to shrink Snapshot button: only speaker is shown in this case. - updated LLSpeakButton to hide/show its labels - updated talk_button widget (talk_button.xml) to have correct follows attributes - also fixed bug with calculating necessary updates for children while extending bottom tray --HG-- branch : product-engine
2009-11-17Completed major sub-task EXT-991 (Update bottom bar behavior on resize)Mike Antipov
- 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-16Work on major sub-task EXT-991 (Update bottom bar behavior on resize)Mike Antipov
- code cleaned up, removed commented out & unused code Functionality was not changed --HG-- branch : product-engine
2009-11-13Work on major sub-task EXT-991 (Update bottom bar behavior on resize)Mike Antipov
Fixed issue: "Snapshort button can appear first due to its the least width while Bottom Bar extending" - implemented ordering in which buttons can be shown: Gesture, Move, View, Snapshot. --HG-- branch : product-engine
2009-11-13Work on major sub-task EXT-991 (Update bottom bar behavior on resize)Mike Antipov
Implemented functionality to process Buttons hidden/shown via context menu 1. hidden buttons are not processed while resizing 2. setTrayButtonVisibleIfPossible() is implemented: * If it is impossible to show required button via context menu due to there is no enough room in bottom tray * it will no be shown. * Method also stores resize state to be processed while future bottom tray extending: * - if hidden while resizing button should be hidden it will not be shown while extending; * - if hidden via context menu button should be shown but there is no enough room for now * it will be shown while extending. --HG-- branch : product-engine
2009-11-13mergeYuri Chebotarev
--HG-- branch : product-engine
2009-11-13Work on major sub-task EXT-991 (Update bottom bar behavior on resize)Mike Antipov
Implemented functionality to process shrink after bottom tray min width is reached --HG-- branch : product-engine
2009-11-12Merge with product-engineSteve Bennetts
2009-11-12mergeJames Cook
2009-11-12Work on major sub-task EXT-991 (Update bottom bar behavior on resize)Mike Antipov
Code refuctored: - moved code to process Borrom Bar shrinking into separate method - unified code to process a hiding of the Bottom Tray's buttons Code is ready to process shrink after min width is reached & be synchronized with user hidden buttons --HG-- branch : product-engine
2009-11-11Work on major sub-task EXT-991 (Update bottom bar behavior on resize)Mike Antipov
Code refactored: - moved code to process width increasing into separate method --HG-- branch : product-engine
2009-11-11Work on major sub-task EXT-991 (Update bottom bar behavior on resize)Mike Antipov
Code refactored: - processShowButton() now gets type of buttons should be shown instead of object - removed unnecessary code --HG-- branch : product-engine
2009-11-11Work on major sub-task EXT-991 (Update bottom bar behavior on resize)Mike Antipov
Code refactored: - move calculating of buttons_required_width inside processShowButton(); - remove changing of delta_width out of processing each button while increasing width --HG-- branch : product-engine
2009-11-10EXT-2338 Move button tooltips to strings the viewer translation tool can parse.James Cook
Also moved mSpeakBtn from llnearbychatbar to llbottomtray, because the bottom tray is its parent.
2009-11-10Work on major sub-task EXT-991 (Update bottom bar behavior on resize)Mike Antipov
Initial refactoring of functionality: - Re-Fixed bug with visibility of chiclet panel of the min size - updated bottomtray xml to make buttons identical to each other - Imroved logic while resizing of bottom tray (changing width of chiclet & nearby panels, hide/show buttons) --HG-- branch : product-engine
2009-11-04LLTalkButton -> LLSpeakButton, 'cos that's what it is.Tofu Linden
2009-10-23Merging revisions 2156-2183 of ↵Steven Bennetts
https://svn.aws.productengine.com/secondlife/pe/stable-2 into P:\svn\viewer-2.0.0-3, respecting ancestry * Bugs: EXT-1590 EXT-1694 EXT-1660 EXT-1646 EXT-1694 EXT-1316 EXT-1775 EXT-1798 EXT-1799 EXT-1117 EXT-1571 EXT-1572 * Dev: EXT-1757 EXT-991 EXT-1758 EXT-1770 EXT-1192 EXT-1613 EXT-1611 EXT-1256 EXT-1758 EXT-747
2009-10-19Merging revisions 2046-2068 of ↵Steven Bennetts
https://svn.aws.productengine.com/secondlife/pe/stable-2 into P:\svn\viewer-2.0.0, respecting ancestry * Bugs: EXT-1414 EXT-1213 EXT-1539 EXT-1253 EXT-1446 EXT-1438 EXT-1233 EXT-1466 EXT-1446 EXT-1512 EXT-1231 * Dev: EXT-719 (landmarks) EXT-747 EXT-1446 EXT-1378 EXT-397 EXT-1476 * IM changes
2009-10-09merge ↵Steven Bennetts
https://svn.aws.productengine.com/secondlife/export-from-ll/viewer-2-0@1943 https://svn.aws.productengine.com/secondlife/pe/stable-2@1958 -> viewer-2.0.0-3 * Bugs: EXT-1148 EXT-1330 EXT-990 EXT-1259 EXT-1184 EXT-1327 EXT-1389 EXT-1276 EXT-1390 EXT-1396 EXT-1050 EXT-1094 EXT-1166 EXT-1137 EXT-1327 EXT-782 EXT-1137 EXT-1394 EXT-1326 EXT-917 EXT-1262 * New Dev: EXT-1292 EXT-1139
2009-09-29merge ↵Steven Bennetts
https://svn.aws.productengine.com/secondlife/export-from-ll/viewer-2-0@1830 https://svn.aws.productengine.com/secondlife/pe/stable-2@1839 -> viewer-2.0.0-3 JIRAS: EXT-96 EXT-204 EXT-312 EXT-334 EXT-479 EXT-498 EXT-514 EXT-637 EXT-647 EXT-746 EXT-748 EXT-749 EXT-757 EXT-789 EXT-794 EXT-808 EXT-817 EXT-823 EXT-831 EXT-834 EXT-837 EXT-844 EXT-848 EXT-862 EXT-876 EXT-896 EXT-897 EXT-898 EXT-899 EXT-910 EXT-912 EXT-918 EXT-921 EXT-925 EXT-926 EXT-928 EXT-930 EXT-931 EXT-935 EXT-938 EXT-939 EXT-952 EXT-985 EXT-986 EXT-992 EXT-994 EXT-995 EXT-996 EXT-997 EXT-998 EXT-1001 EXT-1004 EXT-1010 EXT-1012 EXT-1016 EXT-1018 EXT-1020 EXT-1028 EXT-1041 EXT-1044 EXT-1051 EXT-1052 EXT-1061 EXT-1069 EXT-1071 EXT-1074 EXT-1075 EXT-1076 EXT-1078 EXT-1080 EXT-1081 EXT-1082 EXT-1083 EXT-1085 EXT-1092 EXT-1093 EXT-1099 EXT-1100 EXT-1101 EXT-1104 EXT-1106 EXT-1111 EXT-1113 EXT-1114 EXT-1115 EXT-1116 EXT-1118 EXT-1119 EXT-1129 EXT-1132 EXT-1135 EXT-1138 EXT-1142 EXT-1161 EXT-1162 EXT-1178 EXT-1180 * NEW DEVELOPMENT: * EXT-898 - Add dock/undock support for camera and movement controls * Avatar list changes * Bottom bar changes: menu, docking, visibility * Camera changes * Camera & Movement Floaters * Dockable Floaters (LLDockableFloater) * Removed LLListCtrl * Toast / Notification changes: signal / destruction changes, ordering * Nearby chat input should display active voice indicator QA NOTES: * Message Well Window is ready to be tested for regression & matching the spec. * Verify Group List Item L&F * Verify All tabs in People Panel * Verify that Picks behavior is not changed
2009-09-07merge ↵Steven Bennetts
https://svn.aws.productengine.com/secondlife/export-from-ll/viewer-2-0@1566 https://svn.aws.productengine.com/secondlife/pe/stable-2@1580 -> viewer-2.0.0-3 * Bugs: EXT-807 EXT-810 EXT-811 EXT-784 EXT-820 EXT-393 EXT-826 EXT-811 EXT-801 EXT-808 EXT-393 EXT-743 EXT-699 EXT-397 EXT-812 EXT-736 EXT-744 EXT-809 EXT-306 EXT-854 EXT-857 EXT-790 * New Dev: EXT-694 EXT-393 EXT-367 EXT-819 EXT-795 EXT-827 EXT-788 * EXT-272 - Draggable Landmarks * EXT-715 - Block List Panel * EXT-782 - Implement advanced place information accordions
2009-09-02merge ↵Steven Bennetts
https://svn.aws.productengine.com/secondlife/export-from-ll/viewer-2-0@1516 https://svn.aws.productengine.com/secondlife/pe/stable-2@1526 -> viewer-2.0.0-3 * Bugs: EXT-622 EXT-702 EXT-626 EXT-638 EXT-600 EXT-543 EXT-656 EXT-801 * New Dev: EXT-282 EXT-782 EXT-694 EXT-797 EXT-798 EXT-799 EXT-453
2009-08-14svn merge ↵Steven Bennetts
https://svn.aws.productengine.com/secondlife/export-from-ll/viewer-2-0@1331 https://svn.aws.productengine.com/secondlife/pe/stable-1@1340 -> viewer-2.0.0-3 EXT-269 EXT-274 EXT-276 EXT-277 EXT-282 EXT-296 EXT-342 EXT-370 EXT-379 EXT-394 EXT-398 EXT-405 EXT-407 EXT-410 EXT-413 EXT-414 EXT-450 EXT-456 EXT-477 EXT-482 EXT-496