ShowBottom.patch
uppsrc-fixed/ide/Bottom.cpp 2010-07-06 20:05:52.000000000 +0700 | ||
---|---|---|
184 | 184 |
SyncBottom(); |
185 | 185 |
} |
186 | 186 | |
187 |
void Ide::ShowBottom(int i) |
|
188 |
{ |
|
189 |
if(i == btabs.GetCursor() && IsBottomShown()) |
|
190 |
return; |
|
191 |
SetBottom(i); |
|
192 |
} |
|
193 | ||
187 | 194 |
void Ide::ToggleBottom(int i) |
188 | 195 |
{ |
189 | 196 |
if(i == btabs.GetCursor() && IsBottomShown()) |
uppsrc-fixed/ide/ide.h 2011-01-23 13:05:54.000000000 +0600 | ||
---|---|---|
11 | 11 |
#include <usvn/usvn.h> |
12 | 12 |
#include <ide/IconDes/IconDes.h> |
13 | 13 |
#include <ide/LayDes/LayDes.h> |
14 |
#include <TextDiffCtrl/TextDiffCtrl.h>
|
|
14 |
#include <TextDiffCtrl/TextDiffCtrl.h> |
|
15 | 15 | |
16 | 16 |
#define LAYOUTFILE <ide/ide.lay> |
17 | 17 |
#include <CtrlCore/lay.h> |
... | ... | |
732 | 732 |
void SyncBottom(); |
733 | 733 |
void HideBottom(); |
734 | 734 |
void SetBottom(int i); |
735 |
void ShowBottom(int i); |
|
735 | 736 |
void ToggleBottom(int i); |
736 |
void ShowConsole() { SetBottom(1); }
|
|
737 |
void ShowConsole2() { SetBottom(2); }
|
|
737 |
void ShowConsole() { ShowBottom(1); }
|
|
738 |
void ShowConsole2() { ShowBottom(2); }
|
|
738 | 739 |
void ToggleConsole() { ToggleBottom(1); } |
739 | 740 |
void SwapBottom(); |
740 | 741 |
bool IsBottomShown() const; |