WeSplit.patch

Zbigniew Rebacz, 07/16/2017 05:18 PM

Download (1.89 KB)

View differences:

Config.cpp (kopia robocza)
183 183
	s % AnyPackageFs();
184 184
	Sentinel(s, "after AnyPackageFs");
185 185
	s % pfsplit;
186
	s % wesplit;
186
	s % weframe;
187 187
	package.SerializeSettings(s);
188 188
	filelist.SerializeSettings(s);
189 189
	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
	ParentCtrl    wesplit_parent;
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
	//wesplit.Horz(pfsplit, editor_bottom);
460
	//wesplit.SetPos(2000);
461
	wesplit_parent.Add(editor_bottom.SizePos());
462
	wesplit_parent.AddFrame(weframe.Left(pfsplit, HorzLayoutZoom(300)));
463
	Add(wesplit_parent.SizePos());
462 464

  
463 465
	editor.topsbbutton.ScrollStyle().NoWantFocus().Show();
464 466
	editor.topsbbutton1.ScrollStyle().NoWantFocus().Show();