mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-09-10 03:54:54 -06:00
.ide: Cleanup of bottompane issues (thanks sender_ghost)
git-svn-id: svn://ultimatepp.org/upp/trunk@3449 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
3c452f465a
commit
061e35e977
3 changed files with 11 additions and 3 deletions
|
|
@ -184,6 +184,13 @@ void Ide::SetBottom(int i)
|
|||
SyncBottom();
|
||||
}
|
||||
|
||||
void Ide::ShowBottom(int i)
|
||||
{
|
||||
if(i == btabs.GetCursor() && IsBottomShown())
|
||||
return;
|
||||
SetBottom(i);
|
||||
}
|
||||
|
||||
void Ide::ToggleBottom(int i)
|
||||
{
|
||||
if(i == btabs.GetCursor() && IsBottomShown())
|
||||
|
|
|
|||
|
|
@ -572,7 +572,7 @@ bool MakeBuild::Build()
|
|||
VectorMap<String, String> bm = GetMethodVars(method);
|
||||
if(bm.GetCount() == 0) {
|
||||
PutConsole("Invalid build method");
|
||||
ShowConsole();
|
||||
ConsoleShow();
|
||||
return false;
|
||||
}
|
||||
One<Host> host = CreateHost(false);
|
||||
|
|
|
|||
|
|
@ -747,8 +747,9 @@ public:
|
|||
void HideBottom();
|
||||
void SetBottom(int i);
|
||||
void ToggleBottom(int i);
|
||||
void ShowConsole() { SetBottom(1); }
|
||||
void ShowConsole2() { SetBottom(2); }
|
||||
void ShowBottom(int i);
|
||||
void ShowConsole() { ShowBottom(1); }
|
||||
void ShowConsole2() { ShowBottom(2); }
|
||||
void ToggleConsole() { ToggleBottom(1); }
|
||||
void SwapBottom();
|
||||
bool IsBottomShown() const;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue