From 51ccaa26f80b2c896f622b5da19e9b6e8032643c Mon Sep 17 00:00:00 2001
From: McCabe Maxsted
Date: Sun, 1 Aug 2010 22:33:02 -0700
Subject: Added first use grid selector for selecting the default grid when
Imprudence is first run
---
linden/indra/newview/CMakeLists.txt | 3 +
linden/indra/newview/app_settings/settings.xml | 11 +++
linden/indra/newview/floatergriddefault.cpp | 102 +++++++++++++++++++++
linden/indra/newview/floatergriddefault.h | 49 ++++++++++
linden/indra/newview/llappviewer.cpp | 1 +
linden/indra/newview/llfirstuse.cpp | 14 +++
linden/indra/newview/llfirstuse.h | 1 +
linden/indra/newview/llpanellogin.cpp | 64 ++++++++-----
linden/indra/newview/llpanellogin.h | 2 +
.../xui/en-us/floater_grid_default_selector.xml | 19 ++++
10 files changed, 242 insertions(+), 24 deletions(-)
create mode 100644 linden/indra/newview/floatergriddefault.cpp
create mode 100644 linden/indra/newview/floatergriddefault.h
create mode 100644 linden/indra/newview/skins/default/xui/en-us/floater_grid_default_selector.xml
(limited to 'linden/indra')
diff --git a/linden/indra/newview/CMakeLists.txt b/linden/indra/newview/CMakeLists.txt
index 7077dde..b64726d 100644
--- a/linden/indra/newview/CMakeLists.txt
+++ b/linden/indra/newview/CMakeLists.txt
@@ -69,6 +69,7 @@ set(viewer_SOURCE_FILES
emeraldboobutils.cpp
floaterao.cpp
floaterbusy.cpp
+ floatergriddefault.cpp
floatergridmanager.cpp
hbfloatergrouptitles.cpp
hippoGridManager.cpp
@@ -501,6 +502,7 @@ set(viewer_HEADER_FILES
emeraldboobutils.h
floaterao.h
floaterbusy.h
+ floatergriddefault.h
floatergridmanager.h
hbfloatergrouptitles.h
hippoGridManager.h
@@ -1132,6 +1134,7 @@ set(viewer_XUI_FILES
skins/default/xui/en-us/floater_font_test.xml
skins/default/xui/en-us/floater_gesture.xml
skins/default/xui/en-us/floater_god_tools.xml
+ skins/default/xui/en-us/floater_grid_default_selector.xml
skins/default/xui/en-us/floater_grid_manager.xml
skins/default/xui/en-us/floater_group_info.xml
skins/default/xui/en-us/floater_group_titles.xml
diff --git a/linden/indra/newview/app_settings/settings.xml b/linden/indra/newview/app_settings/settings.xml
index c144f95..9c95b1f 100644
--- a/linden/indra/newview/app_settings/settings.xml
+++ b/linden/indra/newview/app_settings/settings.xml
@@ -844,6 +844,17 @@
Value
1
+ WarnFirstLoginScreen
+
WarnFirstMiniMap