From 4f6d19465b3a04446aec798c35b2387c7a5b6777 Mon Sep 17 00:00:00 2001 From: zuu Date: Sun, 21 Jul 2013 15:59:07 +0000 Subject: (svn r25623) -Fix [FS#5611] (r25296): Progress column width in goal window was not updated when a string changed while the window is open --- src/script/api/game/game_window.hpp.sq | 3 +-- src/script/api/script_window.hpp | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) (limited to 'src/script') diff --git a/src/script/api/game/game_window.hpp.sq b/src/script/api/game/game_window.hpp.sq index 057236948..0363a004f 100644 --- a/src/script/api/game/game_window.hpp.sq +++ b/src/script/api/game/game_window.hpp.sq @@ -496,8 +496,7 @@ void SQGSWindow_Register(Squirrel *engine) SQGSWindow.DefSQConst(engine, ScriptWindow::WID_GP_PROGRESS_TEXT, "WID_GP_PROGRESS_TEXT"); SQGSWindow.DefSQConst(engine, ScriptWindow::WID_GP_ABORT, "WID_GP_ABORT"); SQGSWindow.DefSQConst(engine, ScriptWindow::WID_GOAL_CAPTION, "WID_GOAL_CAPTION"); - SQGSWindow.DefSQConst(engine, ScriptWindow::WID_GOAL_GOAL, "WID_GOAL_GOAL"); - SQGSWindow.DefSQConst(engine, ScriptWindow::WID_GOAL_PROGRESS, "WID_GOAL_PROGRESS"); + SQGSWindow.DefSQConst(engine, ScriptWindow::WID_GOAL_LIST, "WID_GOAL_LIST"); SQGSWindow.DefSQConst(engine, ScriptWindow::WID_GOAL_SCROLLBAR, "WID_GOAL_SCROLLBAR"); SQGSWindow.DefSQConst(engine, ScriptWindow::WID_GQ_CAPTION, "WID_GQ_CAPTION"); SQGSWindow.DefSQConst(engine, ScriptWindow::WID_GQ_QUESTION, "WID_GQ_QUESTION"); diff --git a/src/script/api/script_window.hpp b/src/script/api/script_window.hpp index bbc82047c..391d3a4e4 100644 --- a/src/script/api/script_window.hpp +++ b/src/script/api/script_window.hpp @@ -1340,8 +1340,7 @@ public: /** Widgets of the #GoalListWindow class. */ enum GoalListWidgets { WID_GOAL_CAPTION = ::WID_GOAL_CAPTION, ///< Caption of the window. - WID_GOAL_GOAL = ::WID_GOAL_GOAL, ///< Goal text column of the goal list. - WID_GOAL_PROGRESS = ::WID_GOAL_PROGRESS, ///< Goal progress column of the goal list. + WID_GOAL_LIST = ::WID_GOAL_LIST, ///< Goal list. WID_GOAL_SCROLLBAR = ::WID_GOAL_SCROLLBAR, ///< Scrollbar of the goal list. }; -- cgit v1.2.3-70-g09d2