Updated ToolsGuiTextPadProile to comply to editor theme

Further tweaks/reorg to UI module
Implemented cubemap array scaling on GL so it doesn't crash when texture quality is lowered
This commit is contained in:
Areloch 2019-09-29 07:51:43 -05:00
parent 3986b800cd
commit c9a63d63cf
11 changed files with 200 additions and 217 deletions

View file

@ -72,6 +72,10 @@ function UI::initClient(%this)
exec("./guis/startupGui.gui");
exec("./guis/startupGui.cs");
// Load Editor Dialogs
exec("./guis/messageBoxOk.gui");
exec("./guis/messageBoxYesNo.gui");
//Load scripts
exec("./scripts/optionsList.cs");
exec("./scripts/displayMenu.cs");

View file

@ -1,34 +0,0 @@
//-----------------------------------------------------------------------------
// Copyright (c) 2012 GarageGames, LLC
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to
// deal in the Software without restriction, including without limitation the
// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
// sell copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
// IN THE SOFTWARE.
//-----------------------------------------------------------------------------
singleton SFXProfile(menuButtonPressed)
{
preload = true;
description = AudioGui;
fileName = "data/ui/sound/buttonClick";
};
singleton SFXProfile(menuButtonHover)
{
preload = true;
description = AudioGui;
fileName = "data/ui/sound/buttonHover";
};

View file

@ -20,17 +20,6 @@
// IN THE SOFTWARE.
//-----------------------------------------------------------------------------
// Cleanup Dialog created by 'core'
if( isObject( MessageBoxYesNoDlg ) )
MessageBoxYesNoDlg.delete();
if( isObject( MessageBoxOKDlg ) )
MessageBoxOKDlg.delete();
// Load Editor Dialogs
exec("./guis/messageBoxOk.gui");
exec("./guis/messageBoxYesNo.gui");
// --------------------------------------------------------------------
// Message Sound
// --------------------------------------------------------------------