summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Linden <none@none>2010-03-09 16:21:52 -0800
committerRichard Linden <none@none>2010-03-09 16:21:52 -0800
commit2240ece438880d6d3b72e9fbd3e7dc06295eea79 (patch)
tree9d894510e255c631b356544b10ac4226a4419090
parent22b6436506550e7763a29fd0fecda4c610e3e97f (diff)
EXT-2418 - improved cursors for sit/open/buy
-rw-r--r--indra/llui/llui.cpp2
-rw-r--r--indra/llwindow/llwindowmacosx.cpp6
-rw-r--r--indra/newview/cursors_mac/UI_CURSOR_TOOLBUY.tifbin52928 -> 59044 bytes
-rw-r--r--indra/newview/cursors_mac/UI_CURSOR_TOOLOPEN.tifbin55956 -> 58560 bytes
-rw-r--r--indra/newview/cursors_mac/UI_CURSOR_TOOLSIT.tifbin55872 -> 58464 bytes
-rw-r--r--indra/newview/res/toolbuy.curbin3262 -> 3262 bytes
-rw-r--r--indra/newview/res/toolopen.curbin3262 -> 3262 bytes
-rw-r--r--indra/newview/res/toolsit.curbin3262 -> 3262 bytes
-rw-r--r--indra/newview/res/viewerRes.rc356
9 files changed, 182 insertions, 182 deletions
diff --git a/indra/llui/llui.cpp b/indra/llui/llui.cpp
index e6967921d3..5121ef5351 100644
--- a/indra/llui/llui.cpp
+++ b/indra/llui/llui.cpp
@@ -1919,7 +1919,7 @@ void LLUI::clearPopups()
// spawn_x and spawn_y are top left corner of view in screen GL coordinates
void LLUI::positionViewNearMouse(LLView* view, S32 spawn_x, S32 spawn_y)
{
- const S32 CURSOR_HEIGHT = 32; // Approximate "normal" cursor size
+ const S32 CURSOR_HEIGHT = 16; // Approximate "normal" cursor size
const S32 CURSOR_WIDTH = 8;
LLView* parent = view->getParent();
diff --git a/indra/llwindow/llwindowmacosx.cpp b/indra/llwindow/llwindowmacosx.cpp
index f5c49b819a..224314a490 100644
--- a/indra/llwindow/llwindowmacosx.cpp
+++ b/indra/llwindow/llwindowmacosx.cpp
@@ -2956,9 +2956,9 @@ void LLWindowMacOSX::initCursors()
initPixmapCursor(UI_CURSOR_TOOLPLAY, 1, 1);
initPixmapCursor(UI_CURSOR_TOOLPAUSE, 1, 1);
initPixmapCursor(UI_CURSOR_TOOLMEDIAOPEN, 1, 1);
- initPixmapCursor(UI_CURSOR_TOOLSIT, 5, 1);
- initPixmapCursor(UI_CURSOR_TOOLBUY, 5, 1);
- initPixmapCursor(UI_CURSOR_TOOLOPEN, 5, 1);
+ initPixmapCursor(UI_CURSOR_TOOLSIT, 20, 15);
+ initPixmapCursor(UI_CURSOR_TOOLBUY, 20, 15);
+ initPixmapCursor(UI_CURSOR_TOOLOPEN, 20, 15);
initPixmapCursor(UI_CURSOR_SIZENWSE, 10, 10);
initPixmapCursor(UI_CURSOR_SIZENESW, 10, 10);
diff --git a/indra/newview/cursors_mac/UI_CURSOR_TOOLBUY.tif b/indra/newview/cursors_mac/UI_CURSOR_TOOLBUY.tif
index c20e05340a..f366026c33 100644
--- a/indra/newview/cursors_mac/UI_CURSOR_TOOLBUY.tif
+++ b/indra/newview/cursors_mac/UI_CURSOR_TOOLBUY.tif
Binary files differ
diff --git a/indra/newview/cursors_mac/UI_CURSOR_TOOLOPEN.tif b/indra/newview/cursors_mac/UI_CURSOR_TOOLOPEN.tif
index 887281688d..e9e6a20cd9 100644
--- a/indra/newview/cursors_mac/UI_CURSOR_TOOLOPEN.tif
+++ b/indra/newview/cursors_mac/UI_CURSOR_TOOLOPEN.tif
Binary files differ
diff --git a/indra/newview/cursors_mac/UI_CURSOR_TOOLSIT.tif b/indra/newview/cursors_mac/UI_CURSOR_TOOLSIT.tif
index ae7e21568c..bea3d9d442 100644
--- a/indra/newview/cursors_mac/UI_CURSOR_TOOLSIT.tif
+++ b/indra/newview/cursors_mac/UI_CURSOR_TOOLSIT.tif
Binary files differ
diff --git a/indra/newview/res/toolbuy.cur b/indra/newview/res/toolbuy.cur
index a4f5869be0..4eb6f8153d 100644
--- a/indra/newview/res/toolbuy.cur
+++ b/indra/newview/res/toolbuy.cur
Binary files differ
diff --git a/indra/newview/res/toolopen.cur b/indra/newview/res/toolopen.cur
index fa966b406a..2b8afcf715 100644
--- a/indra/newview/res/toolopen.cur
+++ b/indra/newview/res/toolopen.cur
Binary files differ
diff --git a/indra/newview/res/toolsit.cur b/indra/newview/res/toolsit.cur
index d8a64b956b..4dd07f86f8 100644
--- a/indra/newview/res/toolsit.cur
+++ b/indra/newview/res/toolsit.cur
Binary files differ
diff --git a/indra/newview/res/viewerRes.rc b/indra/newview/res/viewerRes.rc
index 7a965cf57e..d01244d2ff 100644
--- a/indra/newview/res/viewerRes.rc
+++ b/indra/newview/res/viewerRes.rc
@@ -1,178 +1,178 @@
-// Microsoft Visual C++ generated resource script.
-//
-#include "resource.h"
-
-#define APSTUDIO_READONLY_SYMBOLS
-/////////////////////////////////////////////////////////////////////////////
-//
-// Generated from the TEXTINCLUDE 2 resource.
-//
-#include "winres.h"
-
-/////////////////////////////////////////////////////////////////////////////
-#undef APSTUDIO_READONLY_SYMBOLS
-
-/////////////////////////////////////////////////////////////////////////////
-// English (U.S.) resources
-
-#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
-#ifdef _WIN32
-LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
-#pragma code_page(1252)
-#endif //_WIN32
-
-#ifdef APSTUDIO_INVOKED
-/////////////////////////////////////////////////////////////////////////////
-//
-// TEXTINCLUDE
-//
-
-1 TEXTINCLUDE
-BEGIN
- "resource.h\0"
-END
-
-2 TEXTINCLUDE
-BEGIN
- "#include ""winres.h""\r\n"
- "\0"
-END
-
-3 TEXTINCLUDE
-BEGIN
- "\r\n"
- "\0"
-END
-
-#endif // APSTUDIO_INVOKED
-
-
-/////////////////////////////////////////////////////////////////////////////
-//
-// Icon
-//
-
-// Icon with lowest ID value placed first to ensure application icon
-// remains consistent on all systems.
-IDI_LL_ICON ICON "ll_icon.ico"
-IDI_LCD_LL_ICON ICON "icon1.ico"
-
-/////////////////////////////////////////////////////////////////////////////
-//
-// Dialog
-//
-
-SPLASHSCREEN DIALOG 32, 32, 144, 34
-STYLE DS_SETFONT | DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_VISIBLE
-FONT 8, "MS Sans Serif"
-BEGIN
- ICON IDI_LL_ICON,IDC_STATIC,7,7,20,20
- LTEXT "Loading Second Life...",666,36,13,91,8
-END
-
-
-/////////////////////////////////////////////////////////////////////////////
-//
-// DESIGNINFO
-//
-
-#ifdef APSTUDIO_INVOKED
-GUIDELINES DESIGNINFO
-BEGIN
- "SPLASHSCREEN", DIALOG
- BEGIN
- LEFTMARGIN, 7
- RIGHTMARGIN, 137
- VERTGUIDE, 36
- TOPMARGIN, 7
- BOTTOMMARGIN, 27
- END
-END
-#endif // APSTUDIO_INVOKED
-
-
-/////////////////////////////////////////////////////////////////////////////
-//
-// Cursor
-//
-
-TOOLGRAB CURSOR "lltoolgrab.cur"
-TOOLLAND CURSOR "lltoolland.cur"
-TOOLZOOMIN CURSOR "lltoolzoomin.cur"
-TOOLCREATE CURSOR "lltoolcreate.cur"
-ARROWDRAG CURSOR "llarrowdrag.cur"
-ARROW CURSOR "llarrow.cur"
-NOLOCKED CURSOR "llnolocked.cur"
-ARROWLOCKED CURSOR "llarrowlocked.cur"
-GRABLOCKED CURSOR "llgrablocked.cur"
-TOOLROTATE CURSOR "lltoolrotate.cur"
-TOOLTRANSLATE CURSOR "lltooltranslate.cur"
-TOOLSCALE CURSOR "lltoolscale.cur"
-TOOLCAMERA CURSOR "lltoolcamera.cur"
-TOOLPAN CURSOR "lltoolpan.cur"
-TOOLFOCUS CURSOR "lltoolfocus.cur"
-TOOLPICKOBJECT3 CURSOR "toolpickobject3.cur"
-ARROWCOPY CURSOR "arrowcop.cur"
-ARROWDRAGMULTI CURSOR "llarrowdragmulti.cur"
-ARROWCOPYMULTI CURSOR "arrowcopmulti.cur"
-TOOLPIPETTE CURSOR "toolpipette.cur"
-TOOLPLAY CURSOR "toolplay.cur"
-TOOLPAUSE CURSOR "toolpause.cur"
-TOOLMEDIAOPEN CURSOR "toolmediaopen.cur"
-TOOLOPEN CURSOR "toolopen.cur"
-TOOLSIT CURSOR "toolsit.cur"
-TOOLBUY CURSOR "toolbuy.cur"
-
-/////////////////////////////////////////////////////////////////////////////
-//
-// Version
-//
-
-VS_VERSION_INFO VERSIONINFO
- FILEVERSION 2,0,0,3422
- PRODUCTVERSION 2,0,0,3422
- FILEFLAGSMASK 0x3fL
-#ifdef _DEBUG
- FILEFLAGS 0x1L
-#else
- FILEFLAGS 0x0L
-#endif
- FILEOS 0x40004L
- FILETYPE 0x1L
- FILESUBTYPE 0x0L
-BEGIN
- BLOCK "StringFileInfo"
- BEGIN
- BLOCK "040904b0"
- BEGIN
- VALUE "CompanyName", "Linden Lab"
- VALUE "FileDescription", "Second Life"
- VALUE "FileVersion", "2.0.0.200030"
- VALUE "InternalName", "Second Life"
- VALUE "LegalCopyright", "Copyright © 2001-2008, Linden Research, Inc."
- VALUE "OriginalFilename", "SecondLife.exe"
- VALUE "ProductName", "Second Life"
- VALUE "ProductVersion", "2.0.0.200030"
- END
- END
- BLOCK "VarFileInfo"
- BEGIN
- VALUE "Translation", 0x409, 1200
- END
-END
-
-#endif // English (U.S.) resources
-/////////////////////////////////////////////////////////////////////////////
-
-
-
-#ifndef APSTUDIO_INVOKED
-/////////////////////////////////////////////////////////////////////////////
-//
-// Generated from the TEXTINCLUDE 3 resource.
-//
-
-
-/////////////////////////////////////////////////////////////////////////////
-#endif // not APSTUDIO_INVOKED
-
+// Microsoft Visual C++ generated resource script.
+//
+#include "resource.h"
+
+#define APSTUDIO_READONLY_SYMBOLS
+/////////////////////////////////////////////////////////////////////////////
+//
+// Generated from the TEXTINCLUDE 2 resource.
+//
+#include "winres.h"
+
+/////////////////////////////////////////////////////////////////////////////
+#undef APSTUDIO_READONLY_SYMBOLS
+
+/////////////////////////////////////////////////////////////////////////////
+// English (U.S.) resources
+
+#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
+#ifdef _WIN32
+LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
+#pragma code_page(1252)
+#endif //_WIN32
+
+#ifdef APSTUDIO_INVOKED
+/////////////////////////////////////////////////////////////////////////////
+//
+// TEXTINCLUDE
+//
+
+1 TEXTINCLUDE
+BEGIN
+ "resource.h\0"
+END
+
+2 TEXTINCLUDE
+BEGIN
+ "#include ""winres.h""\r\n"
+ "\0"
+END
+
+3 TEXTINCLUDE
+BEGIN
+ "\r\n"
+ "\0"
+END
+
+#endif // APSTUDIO_INVOKED
+
+
+/////////////////////////////////////////////////////////////////////////////
+//
+// Icon
+//
+
+// Icon with lowest ID value placed first to ensure application icon
+// remains consistent on all systems.
+IDI_LL_ICON ICON "ll_icon.ico"
+IDI_LCD_LL_ICON ICON "icon1.ico"
+
+/////////////////////////////////////////////////////////////////////////////
+//
+// Dialog
+//
+
+SPLASHSCREEN DIALOG 32, 32, 144, 34
+STYLE DS_SETFONT | DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_VISIBLE
+FONT 8, "MS Sans Serif"
+BEGIN
+ ICON IDI_LL_ICON,IDC_STATIC,7,7,20,20
+ LTEXT "Loading Second Life...",666,36,13,91,8
+END
+
+
+/////////////////////////////////////////////////////////////////////////////
+//
+// DESIGNINFO
+//
+
+#ifdef APSTUDIO_INVOKED
+GUIDELINES DESIGNINFO
+BEGIN
+ "SPLASHSCREEN", DIALOG
+ BEGIN
+ LEFTMARGIN, 7
+ RIGHTMARGIN, 137
+ VERTGUIDE, 36
+ TOPMARGIN, 7
+ BOTTOMMARGIN, 27
+ END
+END
+#endif // APSTUDIO_INVOKED
+
+
+/////////////////////////////////////////////////////////////////////////////
+//
+// Cursor
+//
+
+TOOLGRAB CURSOR "lltoolgrab.cur"
+TOOLLAND CURSOR "lltoolland.cur"
+TOOLZOOMIN CURSOR "lltoolzoomin.cur"
+TOOLCREATE CURSOR "lltoolcreate.cur"
+ARROWDRAG CURSOR "llarrowdrag.cur"
+ARROW CURSOR "llarrow.cur"
+NOLOCKED CURSOR "llnolocked.cur"
+ARROWLOCKED CURSOR "llarrowlocked.cur"
+GRABLOCKED CURSOR "llgrablocked.cur"
+TOOLROTATE CURSOR "lltoolrotate.cur"
+TOOLTRANSLATE CURSOR "lltooltranslate.cur"
+TOOLSCALE CURSOR "lltoolscale.cur"
+TOOLCAMERA CURSOR "lltoolcamera.cur"
+TOOLPAN CURSOR "lltoolpan.cur"
+TOOLFOCUS CURSOR "lltoolfocus.cur"
+TOOLPICKOBJECT3 CURSOR "toolpickobject3.cur"
+ARROWCOPY CURSOR "arrowcop.cur"
+ARROWDRAGMULTI CURSOR "llarrowdragmulti.cur"
+ARROWCOPYMULTI CURSOR "arrowcopmulti.cur"
+TOOLPIPETTE CURSOR "toolpipette.cur"
+TOOLPLAY CURSOR "toolplay.cur"
+TOOLPAUSE CURSOR "toolpause.cur"
+TOOLMEDIAOPEN CURSOR "toolmediaopen.cur"
+TOOLOPEN CURSOR "toolopen.cur"
+TOOLSIT CURSOR "toolsit.cur"
+TOOLBUY CURSOR "toolbuy.cur"
+
+/////////////////////////////////////////////////////////////////////////////
+//
+// Version
+//
+
+VS_VERSION_INFO VERSIONINFO
+ FILEVERSION 2,0,0,3422
+ PRODUCTVERSION 2,0,0,3422
+ FILEFLAGSMASK 0x3fL
+#ifdef _DEBUG
+ FILEFLAGS 0x1L
+#else
+ FILEFLAGS 0x0L
+#endif
+ FILEOS 0x40004L
+ FILETYPE 0x1L
+ FILESUBTYPE 0x0L
+BEGIN
+ BLOCK "StringFileInfo"
+ BEGIN
+ BLOCK "040904b0"
+ BEGIN
+ VALUE "CompanyName", "Linden Lab"
+ VALUE "FileDescription", "Second Life"
+ VALUE "FileVersion", "2.0.0.200030"
+ VALUE "InternalName", "Second Life"
+ VALUE "LegalCopyright", "Copyright © 2001-2008, Linden Research, Inc."
+ VALUE "OriginalFilename", "SecondLife.exe"
+ VALUE "ProductName", "Second Life"
+ VALUE "ProductVersion", "2.0.0.200030"
+ END
+ END
+ BLOCK "VarFileInfo"
+ BEGIN
+ VALUE "Translation", 0x409, 1200
+ END
+END
+
+#endif // English (U.S.) resources
+/////////////////////////////////////////////////////////////////////////////
+
+
+
+#ifndef APSTUDIO_INVOKED
+/////////////////////////////////////////////////////////////////////////////
+//
+// Generated from the TEXTINCLUDE 3 resource.
+//
+
+
+/////////////////////////////////////////////////////////////////////////////
+#endif // not APSTUDIO_INVOKED
+