Commit Graph

234 Commits (fe0b027d4d7381a532bb0f14f64ecffdeb7190b6)

Author SHA1 Message Date
Monroe Linden fe0b027d4d Added the LLWindowCallbacks::DragNDropAction enum, and made the mac implementation and the cross-platform window callbacks use it (instead of 'bool drop').
This will break the windows impl until someone fixes it to match.
2009-12-03 17:40:58 -08:00
Rick Pasetto 0a2a52c3b1 Automated merge with ssh://rick@hg.lindenlab.com/viewer/viewer-2-0/ 2009-12-03 11:55:43 -08:00
Rick Pasetto 57195ccd74 Automated merge with ssh://rick@hg.lindenlab.com/rick/viewer-2-0-rickcallum 2009-12-03 11:51:15 -08:00
Rick Pasetto c272582ab7 Change API to no longer include slurl argument (its a platform-agnostic policy), add some code (not working yet) to implement DND on the mac 2009-12-03 11:48:28 -08:00
Rick Pasetto b92fe4351c Automated merge with ssh://rick@hg.lindenlab.com/skolb/media 2009-12-01 18:45:40 -08:00
Rick Pasetto 659dc5224e DEV-42989: Adjust media priority based on app minimization and focus
Review #49

This change adjusts each media's priority based on whether the viewer is minimized (media priority becomes HIDDEN) or unfocused (media priority becomes LOW). However, due to the fact that updateMedia() was no longer being called when minimized, I moved its call out of LLViewerTextureList::updateImages() (a seemingly odd place anyway) and into its own idle callback.
2009-12-01 15:38:09 -08:00
callum e0a7b7608f Add support for dropping a region SLURL on login page and populating the UI 2009-11-30 20:19:39 -08:00
Rick Pasetto aae1917d2e merge 2009-11-30 09:25:39 -08:00
richard cdb2232284 created container for LLFloaterView for future z-swapping with sidetray
floaters can now overlap sidetray
fixed text selection background color to be inverse of text fg color
EXT-2713 	Script editor automatically scrolls to the top of script text when text is longer than the window.

reviewed by James
2009-11-25 18:24:39 -08:00
James Cook 957055396d merge in changes from viewer-2-0, manually fixed conflict in llviewermessages.cpp 2009-11-25 12:31:24 -08:00
Rick Pasetto 05ae52a37f merge 2009-11-25 09:54:19 -08:00
Rick Pasetto 46b36d4fde merge 2009-11-25 09:53:24 -08:00
Rick Pasetto 97af20b4ba Change drag highlighting to use LLSelectMgr::{un}highlightObjectOnly() instead of gPipeline.setHighlightObject().
The latter seems a little buggy.
2009-11-25 09:52:20 -08:00
James Cook cbc0783cd1 Created lightweight LLNotificationsUtil::add(), switched most alerts to use it
Cuts number of includes of llnotifications.h from 300+ to 40.
2009-11-25 01:15:50 -08:00
Dave Parks e264f00c83 Merge 2009-11-24 23:21:57 -06:00
Dave Parks c9e153c182 Fix for stalls when resizing screen texture. 2009-11-24 23:14:29 -06:00
callum e2e7d544b6 Added support for dropping SURLs onto viewer
Does right thing when logged in - needs some work at login page
Removed (commented out) WM_DROPFILES code for now
2009-11-24 20:20:53 -08:00
Steve Bennetts 9e2d78aca1 Merge from product-engine 2009-11-24 12:42:14 -08:00
Alexei Arabadji c4a10e9a53 fixed EXT-2684 "Notification toasts position is incorrect"
--HG--
branch : product-engine
2009-11-24 13:28:14 +02:00
Rick Pasetto dbe1f97558 Highlight the object if it is being dragged over and can be dropped upon 2009-11-23 17:18:54 -08:00
richard d4dc4cfddc EXT-2460 - mouselook mode - remove unused UI elements
EXT-2504 - black bars present at top and bottom when in mouselook

reviewed by Leyla
2009-11-23 11:46:35 -08:00
Rick Pasetto 51e640e5d7 Merge from remote repo 2009-11-19 09:28:35 -08:00
James Cook 1a2694f92b merge 2009-11-18 09:12:54 -08:00
Steve Bennetts 125b779fb6 merge 2009-11-17 23:39:42 -08:00
richard d2fe3e8089 merge 2009-11-17 14:37:55 -08:00
Steve Bennetts 3b3fa1c0ab Merge from product-engine 2009-11-17 12:37:00 -08:00
James Cook 2852fce2de Automated merge with ssh://hg.lindenlab.com/viewer/viewer-2-0 2009-11-16 21:49:46 -08:00
Steve Bennetts 32fd8fa087 EXT-2110 - Help -> Abuse Report produces noticeable 3-10 second hang
Only happens with small windows because of some code that does font resizing on high res. Changed the scale factor threshold to cover vast majority of cases.
2009-11-16 16:18:59 -08:00
richard cf1b7ef5e7 merge 2009-11-16 15:48:48 -08:00
richard b38ca5ec32 fix for UI scale != 1.0 breaking edit tools, web browser, world view rect, etc. 2009-11-16 15:47:45 -08:00
Leyla Farazha f1da0a4ff4 EXT-1478 Tool-tip background and border colors are being ignored - hooked up xml
EXT-2237   	 Preferences > Alerts shows "$ignoretext" in the list
EXT-1582   	 The current edit coordinates are displaced from their background
EXT-1466   	 Change Mouselook text "Press ESC to return to World View" to match stylesheet
reviewed by James
2009-11-16 13:55:51 -08:00
Vadim Savchuk 4b80c9978c Fixed Stand / Stop flying buttons (EXT-2408, EXT-2467, EXT-2513).
The buttons are now attached to the movement controls floater while it's visible (EXT-984).

--HG--
branch : product-engine
2009-11-16 23:17:24 +02:00
Nyx (Neal Orman) 2aa9f1bcbe EXT-2477 minimizing while in appearance editing mode leaves a bad state
when minimizing the viewer while in appearance editing mode with unsaved changes
kicks you out of appearance editing mode and leaves you unable to recover as
the editor always starts itself on the shape tab. Fixed this in two ways:

1) if a wearable is dirty when the editor is opened, that is the tab that is
   selected.

2) the camera mode is not forcibly changed away from appearance editing mode
   on minimize. This only needs to happen if we are in mouselook.

Code reviewed by Vir.

--HG--
branch : avatar-pipeline
2009-11-13 14:57:06 -05:00
Rick Pasetto bf5ce0fcbd Change 'handleDrop()' API to 'handleDragNDrop', which now takes a "drop" BOOL 2009-11-12 11:06:29 -08:00
Rick Pasetto 3dd79ad226 merge 2009-11-12 09:23:57 -08:00
richard b34ee7f9f4 merge 2009-11-11 12:21:23 -08:00
richard 0a095bdaed added stylized text to tooltips for showxuinames 2009-11-11 12:19:54 -08:00
Nat Goodspeed 062d0a13db Add LLEventAPI class, formalizing the mechanism by which we wrap a C++ API
with an event API. In addition to the LLEventPump name on which to listen,
LLEventAPI accepts a documentation string for event API introspection.
Give every LLEventDispatcher::add() overload a new documentation string
parameter for event API introspection.
Convert every existing event API to new conventions, introducing suitable
documentation strings for the API and each of its operations.
2009-11-11 07:41:50 -05:00
James Cook bc4b49735c merge 2009-11-10 14:36:25 -08:00
James Cook 0f6242d9fd Sanitize naming of getWindowRect (scaled vs. raw pixels) and getWorldViewRect (scaled vs. raw)
Reduces chance of future UI bugs related to UI size.
Discussed with Richard.
2009-11-10 14:00:38 -08:00
James Cook 34bd95ff1f Don't allocate memory for debugging strings every mouse click. 2009-11-10 10:17:26 -08:00
richard 3b2d9f63e3 merge 2009-11-09 16:14:52 -08:00
richard 2bc97bd68a renamed LLLayoutStack::idle to LLLayoutStack::updateClass
converted mWorldViewPlaceholder to a LLHandle<LLView>
improved layout of panel_bottomtray

reviewed by James
2009-11-09 16:01:21 -08:00
richard 4eb72a12a2 data driven layout of top-level UI elements
EXT-1219 Side tray slide-out animation
cleaned up some layout of bottom tray contents

reviewed by James
2009-11-09 15:29:47 -08:00
Rick Pasetto 72af8dc3f0 Automated merge with ssh://rick@hg.lindenlab.com/viewer/viewer-2-0/ 2009-11-06 14:08:27 -08:00
Steve Bennetts afe6350160 merge from texture-pipeline 2009-11-06 12:15:41 -08:00
Xiaohong Bao 35e200881c merge QAR-1829: texture pipeline branch in viewer-2.0.0.3 2009-11-06 06:52:24 +00:00
richard fac0b6836a refactored top level ui into main_view.xml 2009-11-05 20:36:15 -08:00
Rick Pasetto 4f0731d722 make drop add media if not there, navigate if already there 2009-11-05 17:51:04 -08:00
Rick Pasetto 8c44fac93f merge from remote repo 2009-11-05 17:50:32 -08:00