Commit Graph

24 Commits

Author SHA1 Message Date
Liru Færs
9a53824d6d Move click_for_profile into LLNameUI base for use in nameboxes
This allows having a linked name text on profiles without it stealing mouse
2020-01-31 14:32:45 -05:00
Liru Færs
463151c830 Fix crash and generaly wrong duplicate attribute name
NameUI "type" is now "id_type"
Thanks for the help, Router!
2020-01-07 06:19:24 -05:00
Liru Færs
1813a7bf8b [LLNameUI] Handle LFIDBearer::Type instead of jusst group or not
Removes "is_group" and switches it out for "type"
setValue no longer takes "group", instead it takes "type"
Constructors and setNameID now take Type instead of a boolean
setIsGroup is now setType
2020-01-06 12:31:43 -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
ab207727fd Buncha loopy changes 2019-11-23 22:44:35 -05:00
Liru Færs
d9ff42ab3c Add name_system attribute to NameBoxes and NameEditors
Uses the main one by default.
Removes old show complete names on profile setting in favor of
ProfileNameSystem, which is now offered under Adv. Chat->Chat UI

Forces nameui to refresh on name setting update, or should, not important though
2019-11-23 22:37:50 -05:00
Liru Færs
c5bf72f0b3 Merge NameBox initialization up to NameEditor's initialization 2019-11-17 22:34:44 -05:00
Liru Færs
d93bed216a Fix careless mistake breaking item properties floater 2019-11-16 12:34:36 -05:00
Liru Færs
89abfe6f86 Fix group names on certain group profiles sometimes never Loading in 2019-11-16 11:17:42 -05:00
Liru Færs
f81f374ab9 Fix name ui hover handling bypassing necessary base call. Woops. 2019-11-03 18:33:03 -05:00
Router Gray
7e8ebdb852 [UI] Let clickable link name boxes and name editors have hand cursors instead of I-beams. 2019-10-24 22:49:06 -04:00
Liru Færs
c6089637e7 On second thought, clicking a name editor should open up the profile, too
The initial thinking behind this decision was that people may want to
select, if they do, they can right click for this very rare use case.
2019-10-10 12:37:47 -04:00
Liru Færs
7b6a4d76a8 Actually, we don't underline links, I forgot, oops! 2019-10-10 11:39:59 -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
b592b3c658 Fix whoopses from mid-development commits
Fixes compiles and fixes menu crash and missing menu file
2019-10-10 02:39:11 -04:00
Liru Færs
d277f1750d All places just av/group names were being used are now name ui
Since NameBoxes are clickable, remove redundant profile buttons.
Removes a ton of RLV logic, now centralized inside LLNameUI
Removes excess functions that went largely unused

May no longer show if parcel sale is pending under the owner field,
this is weird and it's hard to keep this behavior

Also includes the missing setValue and getValue so this compiles,
that should've been committed way earlier, oops

Also adds ability for name_box to have is_group attribute, too!
2019-10-10 02:32:47 -04:00
Liru Færs
d54bf78c08 Allow Name UI to be marked rlv_sensitive (via xui)
This allows these parts of UI to be hidden when they need to be
2019-10-09 20:47:21 -04:00
Liru Færs
0b7061afb7 Name UI flag to disallow user interaction
Also bypass setting name text for null ID
2019-10-09 20:07:29 -04:00
Liru Færs
65ee3a5345 Move duplicated logic out of NameBox and into new base class LLNameUI
Also clean up includes.
2019-10-09 01:34:00 -04:00
Liru Færs
99facf6764 Make namebox an IDBearer, so now it has a right click menu, yay! 2019-10-07 23:47:35 -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
Lirusaito
3739639295 Merge branch 'Moap' of git://github.com/Shyotl/SingularityViewer into VoiceUpdate
Conflicts:
	indra/newview/llfloateractivespeakers.h - llparticipantlist.h got changed from a panel to a layoutpanel
	indra/newview/lloverlaybar.cpp - Silly conflict, I change one line, Shyotl changes the next two.

Compile fixies:
	indra/newview/llavataractions.cpp needed to include llnotifications.h
	indra/newview/llvoicechannel.cpp needed to include llnotifications.h
2013-06-23 22:36:04 -04:00
Shyotl
7e0ee6bb71 Shiny new name cache. 2011-07-15 00:21:38 -05:00
Hazim Gazov
7a86d01598 Imported existing code 2010-04-02 02:48:44 -03:00