wesplit2.diff
Config.cpp (kopia robocza) | ||
---|---|---|
170 | 170 | |
171 | 171 |
void Ide::Serialize(Stream& s) |
172 | 172 |
{ |
173 |
int version = 11;
|
|
173 |
int version = 12;
|
|
174 | 174 |
Sentinel(s, "before 12341234"); |
175 | 175 |
s.Magic(0x12341234); |
176 | 176 |
Sentinel(s, "after magic"); |
... | ... | |
183 | 183 |
s % AnyPackageFs(); |
184 | 184 |
Sentinel(s, "after AnyPackageFs"); |
185 | 185 |
s % pfsplit; |
186 |
s % wesplit; |
|
186 |
if (version >= 12) |
|
187 |
s % weframe; |
|
188 |
else { |
|
189 |
Splitter dummy; |
|
190 |
s % dummy; |
|
191 |
} |
|
187 | 192 |
package.SerializeSettings(s); |
188 | 193 |
filelist.SerializeSettings(s); |
189 | 194 |
s % editorfont; |
ide.h (kopia robocza) | ||
---|---|---|
462 | 462 | |
463 | 463 |
FileOut stdout_fout; |
464 | 464 | |
465 |
Splitter editorsplit; |
|
466 |
Splitter pfsplit; |
|
467 |
Splitter wesplit; |
|
465 |
Splitter editorsplit; |
|
466 |
Splitter pfsplit; |
|
467 |
StaticRect wepane; |
|
468 |
SplitterFrame weframe; |
|
468 | 469 | |
469 | 470 |
Splitter right_split; |
470 | 471 |
StaticRect right; |
idebar.cpp (kopia robocza) | ||
---|---|---|
82 | 82 |
} |
83 | 83 | |
84 | 84 |
menu.Add(AK_PACKAGESFILES, THISBACK(SwapPackagesFiles)) |
85 |
.Check(wesplit.GetZoom() != 1);
|
|
85 |
.Check(weframe.IsShown());
|
|
86 | 86 | |
87 | 87 |
menu.MenuSeparator(); |
88 | 88 |
idewin.cpp (kopia robocza) | ||
---|---|---|
56 | 56 | |
57 | 57 |
void Ide::SwapPackagesFiles() |
58 | 58 |
{ |
59 |
wesplit.Zoom(wesplit.GetZoom() == 1 ? -1 : 1);
|
|
59 |
weframe.Show(weframe.IsShown() ? false : true);
|
|
60 | 60 |
} |
61 | 61 | |
62 | 62 |
void IdePutErrorLine(const String& line) |
... | ... | |
456 | 456 | |
457 | 457 |
pfsplit.SetPos(2000); |
458 | 458 |
pfsplit.Vert(package, filelist); |
459 |
wesplit.Horz(pfsplit, editor_bottom);
|
|
460 |
wesplit.SetPos(2000);
|
|
461 |
Add(wesplit);
|
|
459 |
wepane.Add(editor_bottom.SizePos());
|
|
460 |
wepane.AddFrame(weframe.Left(pfsplit, HorzLayoutZoom(280)));
|
|
461 |
Add(wepane.SizePos());
|
|
462 | 462 | |
463 | 463 |
editor.topsbbutton.ScrollStyle().NoWantFocus().Show(); |
464 | 464 |
editor.topsbbutton1.ScrollStyle().NoWantFocus().Show(); |