aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llui/llui.h
diff options
context:
space:
mode:
authorJacek Antonelli2008-12-09 22:25:37 -0600
committerJacek Antonelli2008-12-09 22:25:41 -0600
commit22b861982f2efd5d16097a012627e73b9fb85834 (patch)
tree6152a84b92c682e271bdd52d46cd1728454f679a /linden/indra/llui/llui.h
parentSecond Life viewer sources 1.22.1-RC (diff)
downloadmeta-impy-22b861982f2efd5d16097a012627e73b9fb85834.zip
meta-impy-22b861982f2efd5d16097a012627e73b9fb85834.tar.gz
meta-impy-22b861982f2efd5d16097a012627e73b9fb85834.tar.bz2
meta-impy-22b861982f2efd5d16097a012627e73b9fb85834.tar.xz
Second Life viewer sources 1.22.2-RC
Diffstat (limited to '')
-rw-r--r--linden/indra/llui/llui.h19
1 files changed, 9 insertions, 10 deletions
diff --git a/linden/indra/llui/llui.h b/linden/indra/llui/llui.h
index 4c1bb22..0f498d3 100644
--- a/linden/indra/llui/llui.h
+++ b/linden/indra/llui/llui.h
@@ -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
49class LLColor4; 49class LLColor4;
50class LLHtmlHelp;
51class LLImageGL;
50class LLVector3; 52class LLVector3;
51class LLVector2; 53class LLVector2;
52class LLUUID; 54class 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.
150extern BOOL gShowTextEditCursor; 145extern 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);