Commit Graph

537 Commits

Author SHA1 Message Date
Liru Færs
841bd0e515 Add Group menus to group search, profiles, and groups floater
Also expand Group SLURL menu items for links in chat
Calculate ID Type from mPopupMenu's presence in sMenus, if possible.
2019-11-24 07:53:36 -05:00
Liru Færs
6d5df7c9af Make TextEditor an IDBearer, via slurl segments! 2019-11-24 06:03:46 -05:00
Liru Færs
1b913443ad Add in menus for groups, and rework LFIDBearer to handle its menus
Also allow List.StartIM for multiselect
Add IsInGroup, NotInGroup, Leave, Join, and Activate "List." menu options
2019-11-24 00:27:19 -05:00
Liru Færs
5a561e03b8 Introduce Types for ID Bearer IDs 2019-11-23 23:05:33 -05:00
Liru Færs
fb20751330 Create LFIDBearer default virtual functions for IDs and counts for 0/1 ID 2019-11-17 22:42:53 -05:00
Liru Færs
7d0cbf6d02 Add a tiny hack to support <nolink> tag 2019-11-16 15:46:36 -05:00
Liru Færs
0b4f576c54 Touch up merge for llurlentry 2019-11-16 15:36:11 -05:00
Shyotl
79bafbb943 Merge remote-tracking branch 'singularity-viewer/master' 2019-11-05 21:50:08 -06:00
Shyotl
36bfaf0f05 Clean up appearance editor. 2019-11-05 21:48:12 -06:00
Liru Færs
021ba21b4f Fix Show/Hide spell check clutter
This patch is needed until the future where we discard menus on close
2019-10-30 00:32:21 -04:00
Liru Færs
3fa4f73b6f Fix linux build, for the millionth time... is there a record?
Thanks for the help, damian
2019-10-22 01:55:06 -04:00
Liru Færs
d5af2588bc Let combo box label be default selection via xui 2019-10-21 16:48:14 -04:00
Liru Færs
ebcbf79237 Rearranging and cleaning up some assorted code 2019-10-20 01:36:41 -04:00
Liru Færs
f5fd05a1e4 Remove unused gPopupMenuView and MENU_BAR_WIDTH and other associated code 2019-10-20 01:32:56 -04:00
Liru Færs
daffb602bb Clean up a bunch of spelling suggestion code that's annoyed me forever 2019-10-19 08:24:33 -04:00
Liru Færs
0f28a1bd86 These are things, I'm sleepy 2019-10-19 07:24:30 -04:00
Liru Færs
bd2c67e8ec Fix win32 warnings 2019-10-11 16:28:48 -04:00
Liru Færs
43163b400d Add support for a bunch of v3isms to scroll list xml parsing 2019-10-10 18:57:42 -04:00
Liru Færs
2f72ed2e80 Revert addition of now unused LLLineEditor::mFontStyle 2019-10-10 11:41:58 -04:00
Liru Færs
9824cc7068 Display Name UIs as links when they can be interacted with
Adds font style member to line editors, might be useful in the future?
2019-10-10 03:31:31 -04:00
Liru Færs
f5ffa65ea7 Merge Line Editor menu and Text Editor menu, and use EditMenu listeners
Cleans up a ton of logic and some excess memory usage
Translates Line Editor menu, finally
2019-10-09 17:12:10 -04:00
Liru Færs
bce8a3b3cc Add extending existing xml menus by using filename attribute 2019-10-09 15:36:36 -04:00
Liru Færs
8f3b10875e Introduce LFIDBearer, a Class for menu bearing UI that offers IDs to menus
Move menu code from scroll list into there
Separate out interface for getting IDs

No longer bother with the focus manager, for menus where not necessary,
this ensures that if focus suddenly changes, it won't break menu UX flow.

Clean up all the static functions by using new static class functions
2019-10-07 23:46:09 -04:00
Liru Færs
33ef6cc3f7 Initial alteration of namebox for clicky stuffs
Should allow left clicking of certain name textboxes to bring up profiles
Removes old dead variables
Cleans up includes
2019-10-07 23:38:34 -04:00
Liru Færs
497012f98e Clean up focused UI menu code and opt out a common dynamic_cast
Initially I null checked this in testing and debugging, and since
then this code has just lowered performance, ugh.
2019-09-07 13:36:08 -04:00
Liru Færs
4b97f76aa7 Make the right click avatar slurl menu as good as the list ones 2019-08-30 15:24:05 -04:00
Liru Færs
29236442de A scroll list doesn't always handle double clicks 2019-08-18 17:27:52 -04:00
Liru Færs
b93f4fa879 Do hitItem opted like drawItems, and be able to click on item slivers 2019-08-18 17:08:00 -04:00
Liru Færs
971083415c This should fix Nai's issue, maybe? 2019-08-18 16:20:26 -04:00
Liru Færs
a1a23cf6c5 At least draw the hidden item... I'll fix this later 2019-08-18 03:33:15 -04:00
Liru Færs
51974891a8 Harmless change 2019-08-18 03:32:37 -04:00
Liru Færs
7670094e7d Rearrange these to where they're needed, and opt draw more 2019-08-18 02:07:37 -04:00
Liru Færs
69addc1d52 Use Cached Control during draw call 2019-08-18 01:33:42 -04:00
Liru Færs
ab4e0127c5 Further optimize LLScrollListCtrl::setFilter for contracted filter cases 2019-08-18 01:22:02 -04:00
Liru Færs
ba9e7d8056 Fix filtering scrolllist scrollies
filterItem now returns a bool whether or not the item was filtered.
2019-08-18 01:13:26 -04:00
Liru Færs
878b200217 Don't bother updating scroll list scrollbar rect when invisible 2019-08-17 23:54:30 -04:00
Liru Færs
1ffa9f7c0c Fix and optimize redundant scroll list drawing logic 2019-08-17 23:52:43 -04:00
Lirusaito
37c6636788 A function to set scroll list sort order
Renames getSortColumns to getSortOrder
2019-08-02 20:05:58 -04:00
Lirusaito
2580ca7afd Fix paused frame overflow, thanks Rye! 2019-07-31 14:22:27 -04:00
Lirusaito
5f2b3a10ff X-Grid Protocol resolution support 2019-07-26 20:44:17 -04:00
Lirusaito
ac7e5cb742 Merge branch 'animesh' of git://github.com/Shyotl/SingularityViewer into animesh 2019-07-26 04:22:43 -04:00
Shyotl
2dbbec88f7 Fixed bug with LLStat median calculation. Clean up llstatbar a bit. 2019-07-25 23:43:04 -05:00
Shyotl
6dc9210a7e Const is good. Use it for viewer stats. 2019-07-25 22:30:44 -05:00
Lirusaito
0f24c79ce9 Restore storage of list maximum column width
Fixes thin lists in comboboxes and flyout buttons
2019-07-23 02:07:40 -04:00
Lirusaito
d66c730c30 Back down on overzealous list filter checking and explicitly default filter
For clarity to others in the future: getFiltered() checks are meant for
functions where the user is interacting the scroll list in some way
or we're displaying the scroll list.
2019-07-22 23:38:45 -04:00
Lirusaito
3654ff5f5c Fix up EAM to work (Part 2)
Did you know you could type into a list to search it by prefix?!
The Lindens didn't!!
Let's make this search bar an ACTUAL FILTER!
To do this, we add support for filtering to all scroll lists,
so that's cool. Also filtered items will be selected.

Also optimized item selection loop to perform better when selecting in
massive lists (like group members)

Changed the text on the Copy Button to reflect that it copies everything,
not just the applied filter... if you wanted that, you could just
ctrl-a, ctrl-c... I mean, reallly
2019-07-22 08:39:06 -04:00
Lirusaito
8126418ef3 Sync with upstream to kill dependent floaters appropriately 2019-07-20 18:43:10 -04:00
Lirusaito
d0a6772245 Merge in EAM from viewer-release
Remove the derpy stuff lindens like to do
Wide strings aren't normal strings

Make it all a bit better~
Redid the Duration floater because it was kinda icky,
gave it more flexibility~<3
Display parcel ban and access durations as dates instead of text, sortable!
Reworked the rather icky lookin' Access panel control ordering
Enabled lowering parcel ban time without needing to find and remove first
2019-07-20 18:27:47 -04:00
Lirusaito
3f921251ee Add getAllIDs to LLScrollListCtrl, and make getSelectedIDs a little better 2019-07-18 20:09:47 -04:00
Lirusaito
cf94149dc1 Scroll List Dates need a default format 2019-07-18 18:55:05 -04:00