mirror of
https://github.com/electronicarts/CNC_TS_and_RA2_Mission_Editor.git
synced 2025-07-17 19:56:38 -04:00
parent
364a6376d4
commit
6c7cf1478f
15 changed files with 2748 additions and 2528 deletions
|
@ -27,6 +27,7 @@
|
|||
#include "FinalSunDlg.h"
|
||||
#include "mapdata.h"
|
||||
#include "variables.h"
|
||||
#include "functions.h"
|
||||
|
||||
#ifdef _DEBUG
|
||||
#define new DEBUG_NEW
|
||||
|
@ -68,6 +69,11 @@ END_MESSAGE_MAP()
|
|||
|
||||
|
||||
|
||||
void CToolSettingsBar::TranslateUI()
|
||||
{
|
||||
TranslateDlgItem(*this, IDC_STATIC, "ToolSettingsBarBrushSize");
|
||||
}
|
||||
|
||||
void CToolSettingsBar::OnSelchangeBrushsize()
|
||||
{
|
||||
|
||||
|
@ -122,19 +128,23 @@ void CToolSettingsBar::OnSelchangeBrushsize()
|
|||
((CFinalSunDlg*)theApp.m_pMainWnd)->m_view.m_isoview->m_BrushSize_y = by;
|
||||
}
|
||||
|
||||
BOOL CToolSettingsBar::OnInitDialog()
|
||||
// never called
|
||||
#if 0
|
||||
void CToolSettingsBar::OnInitialUpdate()
|
||||
{
|
||||
CDialogBar::OnInitialUpdate();
|
||||
|
||||
m_BrushSize = 0;
|
||||
UpdateData(FALSE);
|
||||
|
||||
((CComboBox*)GetDlgItem(IDC_BRUSHSIZE))->SetCurSel(0);
|
||||
|
||||
return TRUE; // return TRUE unless you set the focus to a control
|
||||
// EXCEPTION: OCX-Eigenschaftenseiten sollten FALSE zurückgeben
|
||||
}
|
||||
#endif
|
||||
|
||||
void CToolSettingsBar::OnShowWindow(BOOL bShow, UINT nStatus)
|
||||
{
|
||||
TranslateUI();
|
||||
|
||||
CDialogBar::OnShowWindow(bShow, nStatus);
|
||||
|
||||
UpdateData(FALSE);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue