mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-06-14 22:03:30 -06:00
ScatterCtrl: Added ScatterWindow
git-svn-id: svn://ultimatepp.org/upp/trunk@14446 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
1189b356d4
commit
2aacaa55e1
1 changed files with 21 additions and 0 deletions
|
|
@ -496,6 +496,27 @@ void ScatterCtrl::SetDrawing(T& w, const Size &sz, bool ctrl) {
|
|||
}
|
||||
}
|
||||
|
||||
class ScatterWindow : public TopWindow {
|
||||
public:
|
||||
typedef ScatterWindow CLASSNAME;
|
||||
|
||||
ScatterWindow() {
|
||||
Sizeable().Zoomable();
|
||||
Add(scatter.SizePos());
|
||||
scatter.ShowAllMenus().SetPlotAreaLeftMargin(70);
|
||||
}
|
||||
ScatterCtrl &operator()() {return scatter;}
|
||||
|
||||
ScatterWindow &OpenMain() {
|
||||
scatter.ZoomToFit(true, true);
|
||||
TopWindow::OpenMain();
|
||||
return *this;
|
||||
}
|
||||
|
||||
private:
|
||||
ScatterCtrl scatter;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#include "Properties.h"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue