diff options
Diffstat (limited to 'linden/indra/llui/llui.h')
-rw-r--r-- | linden/indra/llui/llui.h | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/linden/indra/llui/llui.h b/linden/indra/llui/llui.h index 4c1bb22..1e731f1 100644 --- a/linden/indra/llui/llui.h +++ b/linden/indra/llui/llui.h | |||
@@ -4,7 +4,7 @@ | |||
4 | * | 4 | * |
5 | * $LicenseInfo:firstyear=2001&license=viewergpl$ | 5 | * $LicenseInfo:firstyear=2001&license=viewergpl$ |
6 | * | 6 | * |
7 | * Copyright (c) 2001-2008, Linden Research, Inc. | 7 | * Copyright (c) 2001-2009, Linden Research, Inc. |
8 | * | 8 | * |
9 | * Second Life Viewer Source Code | 9 | * Second Life Viewer Source Code |
10 | * The source code in this file ("Source Code") is provided by Linden Lab | 10 | * The source code in this file ("Source Code") is provided by Linden Lab |
@@ -38,15 +38,17 @@ | |||
38 | #include "llcontrol.h" | 38 | #include "llcontrol.h" |
39 | #include "llrect.h" | 39 | #include "llrect.h" |
40 | #include "llcoord.h" | 40 | #include "llcoord.h" |
41 | #include "llhtmlhelp.h" | 41 | //#include "llhtmlhelp.h" |
42 | #include "llgl.h" | 42 | #include "llgl.h" // *TODO: break this dependency |
43 | #include <stack> | 43 | #include <stack> |
44 | #include "llimagegl.h" | 44 | //#include "llimagegl.h" |
45 | 45 | ||
46 | // LLUIFactory | 46 | // LLUIFactory |
47 | #include "llsd.h" | 47 | #include "llsd.h" |
48 | 48 | ||
49 | class LLColor4; | 49 | class LLColor4; |
50 | class LLHtmlHelp; | ||
51 | class LLImageGL; | ||
50 | class LLVector3; | 52 | class LLVector3; |
51 | class LLVector2; | 53 | class LLVector2; |
52 | class LLUUID; | 54 | class LLUUID; |
@@ -139,13 +141,6 @@ inline void gl_rect_2d_offset_local( const LLRect& rect, S32 pixel_offset, BOOL | |||
139 | gl_rect_2d_offset_local( rect.mLeft, rect.mTop, rect.mRight, rect.mBottom, pixel_offset, filled ); | 141 | gl_rect_2d_offset_local( rect.mLeft, rect.mTop, rect.mRight, rect.mBottom, pixel_offset, filled ); |
140 | } | 142 | } |
141 | 143 | ||
142 | // No longer used | ||
143 | // Initializes translation table | ||
144 | // void init_tr(); | ||
145 | |||
146 | // Returns a string from the string table in the correct language | ||
147 | // std::string tr(const std::string& english_chars); | ||
148 | |||
149 | // Used to hide the flashing text cursor when window doesn't have focus. | 144 | // Used to hide the flashing text cursor when window doesn't have focus. |
150 | extern BOOL gShowTextEditCursor; | 145 | extern BOOL gShowTextEditCursor; |
151 | 146 | ||
@@ -172,6 +167,10 @@ public: | |||
172 | static void loadIdentity(); | 167 | static void loadIdentity(); |
173 | static void translate(F32 x, F32 y, F32 z = 0.0f); | 168 | static void translate(F32 x, F32 y, F32 z = 0.0f); |
174 | 169 | ||
170 | // Return the ISO639 language name ("en", "ko", etc.) for the viewer UI. | ||
171 | // http://www.loc.gov/standards/iso639-2/php/code_list.php | ||
172 | static std::string getLanguage(); | ||
173 | |||
175 | //helper functions (should probably move free standing rendering helper functions here) | 174 | //helper functions (should probably move free standing rendering helper functions here) |
176 | static std::string locateSkin(const std::string& filename); | 175 | static std::string locateSkin(const std::string& filename); |
177 | static void setCursorPositionScreen(S32 x, S32 y); | 176 | static void setCursorPositionScreen(S32 x, S32 y); |