diff options
author | Vir Linden <vir@lindenlab.com> | 2021-10-25 15:55:31 +0000 |
---|---|---|
committer | Vir Linden <vir@lindenlab.com> | 2021-10-25 15:55:31 +0000 |
commit | c173b07b72ac3e30c019cbee8dba53401c781be3 (patch) | |
tree | 6267b828141028889894be919263c6d19c6e54c1 /indra/llwindow/llwindowwin32.cpp | |
parent | 3efd4c50a031ce0c1cb3d2fcc43e403136277e1f (diff) | |
parent | ba3459f77fc9b93c8dd79bc3ac7c59ba792da27f (diff) |
Merged in SL-15999 (pull request #746)
SL-15999 support --noninteractive option for viewer
Approved-by: Dave Parks
Approved-by: Michael Pohoreski
Diffstat (limited to 'indra/llwindow/llwindowwin32.cpp')
-rw-r--r-- | indra/llwindow/llwindowwin32.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/indra/llwindow/llwindowwin32.cpp b/indra/llwindow/llwindowwin32.cpp index bf78bcba29..26bb56d72d 100644 --- a/indra/llwindow/llwindowwin32.cpp +++ b/indra/llwindow/llwindowwin32.cpp @@ -1925,6 +1925,13 @@ void LLWindowWin32::moveWindow( const LLCoordScreen& position, const LLCoordScre MoveWindow(mWindowHandle, position.mX, position.mY, size.mX, size.mY, TRUE); } +void LLWindowWin32::setTitle(const std::string title) +{ + // TODO: Do we need to use the wide string version of this call + // to support non-ascii usernames (and region names?) + SetWindowTextA(mWindowHandle, title.c_str()); +} + BOOL LLWindowWin32::setCursorPosition(const LLCoordWindow position) { ASSERT_MAIN_THREAD(); |