Skip to content

Commit 91dd451

Browse files
committed
Add Calibration page to COptionsDialog class with its components.
Signed-off-by: Piotr Domański <positive.podi@gmail.com>
1 parent 460588f commit 91dd451

File tree

6 files changed

+474
-157
lines changed

6 files changed

+474
-157
lines changed

Source/CApplication.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,13 +44,13 @@ namespace WinRuler
4444
// centre it on the screen.
4545
switch (m_pMainFrame->m_eRulerPosition)
4646
{
47-
case rpLeft:
48-
case rpRight:
47+
case ERulerPosition::rpLeft:
48+
case ERulerPosition::rpRight:
4949
m_pMainFrame->SetClientSize(wxSize(60, m_pMainFrame->m_iRulerLength));
5050

5151
break;
52-
case rpTop:
53-
case rpBottom:
52+
case ERulerPosition::rpTop:
53+
case ERulerPosition::rpBottom:
5454
m_pMainFrame->SetClientSize(wxSize(m_pMainFrame->m_iRulerLength, 60));
5555

5656
break;

0 commit comments

Comments
 (0)