mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
.ScatterCtrl: Changed some variable names
git-svn-id: svn://ultimatepp.org/upp/trunk@13575 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
f7bfaff570
commit
d4ee85c485
2 changed files with 10 additions and 10 deletions
|
|
@ -12,7 +12,7 @@ void PropertiesDlg::Init(ScatterCtrl& scatter)
|
|||
CtrlLayoutExit(*this, t_("Scatter properties"));
|
||||
Sizeable().Zoomable();
|
||||
|
||||
this->scatter = &scatter;
|
||||
this->pscatter = &scatter;
|
||||
|
||||
tab.Add(measures, t_("Measures"));
|
||||
tab.Add(texts, t_("Texts"));
|
||||
|
|
@ -33,15 +33,15 @@ void PropertiesDlg::Set(int itab)
|
|||
void PropertiesDlg::OnTab()
|
||||
{
|
||||
if (tab.IsAt(measures))
|
||||
measures.Init(*scatter);
|
||||
measures.Init(*pscatter);
|
||||
else if (tab.IsAt(texts))
|
||||
texts.Init(*scatter);
|
||||
texts.Init(*pscatter);
|
||||
else if (tab.IsAt(legend))
|
||||
legend.Init(*scatter);
|
||||
legend.Init(*pscatter);
|
||||
else if (tab.IsAt(series))
|
||||
series.Init(*scatter);
|
||||
series.Init(*pscatter);
|
||||
else if (tab.IsAt(general))
|
||||
general.Init(*scatter);
|
||||
general.Init(*pscatter);
|
||||
}
|
||||
|
||||
void ProcessingDlg::Init(ScatterCtrl& scatter)
|
||||
|
|
@ -56,7 +56,7 @@ void ProcessingDlg::Init(ScatterCtrl& scatter)
|
|||
splitter.SetPos(1500, 0);
|
||||
Sizeable().Zoomable();
|
||||
|
||||
this->scatter = &scatter;
|
||||
this->pscatter = &scatter;
|
||||
|
||||
list.list.Reset();
|
||||
list.list.SetLineCy(EditField::GetStdHeight());
|
||||
|
|
|
|||
|
|
@ -211,13 +211,13 @@ public:
|
|||
void OnTab();
|
||||
void Perform();
|
||||
virtual void Close() {
|
||||
if (scatter->GetCount() == 0)
|
||||
if (pscatter->GetCount() == 0)
|
||||
RejectBreak(IDOK);
|
||||
TopWindow::Close();
|
||||
}
|
||||
|
||||
private:
|
||||
ScatterCtrl* scatter;
|
||||
ScatterCtrl* pscatter;
|
||||
MeasuresTab measures;
|
||||
TextsTab texts;
|
||||
LegendTab legend;
|
||||
|
|
@ -296,7 +296,7 @@ public:
|
|||
virtual ~ProcessingDlg() {};
|
||||
|
||||
private:
|
||||
ScatterCtrl* scatter;
|
||||
ScatterCtrl* pscatter;
|
||||
Upp::Array<ProcessingTab> tabs;
|
||||
WithProcessingLeft<StaticRect> list;
|
||||
WithProcessingRight<StaticRect> right;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue