Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
mjohne authored Nov 13, 2018
1 parent 4102728 commit 6292ebb
Show file tree
Hide file tree
Showing 41 changed files with 1,273 additions and 57 deletions.
1 change: 1 addition & 0 deletions ExportDlg.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,7 @@ void CExportDlg::OnButtonExport()
BOOL CExportDlg::OnInitDialog()
{
CDialog::OnInitDialog();
EnableThemeDialogTexture(GetSafeHwnd());
m_btnExport.SetThemeHelper(&m_ThemeHelper);
m_btnExport.SetIcon(IDI_ICON_EXPORT);
m_btnExport.OffsetColor(CButtonST::BTNST_COLOR_BK_IN,100);
Expand Down
2 changes: 2 additions & 0 deletions ExportDlg.h
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ class CExportDlg : public CDialog
DECLARE_MESSAGE_MAP()
};

void EnableThemeDialogTexture(HWND hwndDlg);

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

Expand Down
13 changes: 11 additions & 2 deletions HistoryDlg.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ CHistoryDlg::CHistoryDlg(CWnd* pParent /*=NULL*/)
//{{AFX_DATA_INIT(CHistoryDlg)
m_strHistory = _T("");
//}}AFX_DATA_INIT

m_strHistory = "History\x0D\x0A======";
m_strHistory += "\x0D\x0A\x0D\x0A"; m_strHistory += "xx.02.2008\x0D\x0A------------------\x0D\x0A* Yarng 1.0.7 was created";
m_strHistory += "\x0D\x0A\x0D\x0A"; m_strHistory += "22.10.2007\x0D\x0A------------------\x0D\x0A* Yarng 1.0.6.1 was created\x0D\x0A* Fixed a small bug and optimized the \x0D\x0A performance";
m_strHistory += "\x0D\x0A\x0D\x0A"; m_strHistory += "21.10.2007\x0D\x0A------------------\x0D\x0A* Yarng 1.0.6 was created\x0D\x0A* This version was design to make a \x0D\x0A better compatibility by 'emulation' with \x0D\x0A the linux-app 'wine'. \x0D\x0A* Consequently some windows of the gui \x0D\x0A were reformed \x0D\x0A* Added a status bar for some useful \x0D\x0A information \x0D\x0A* Printing and exporting of the gene- \x0D\x0A rated names are now possible; also \x0D\x0A the generated names can be copied \x0D\x0A to the clipboard\x0D\x0A* Removed 1 bug; two tooltips were \x0D\x0A permuted";
m_strHistory += "\x0D\x0A\x0D\x0A"; m_strHistory += "08.10.2007\x0D\x0A------------------\x0D\x0A* Yarng 1.0.5.2 was created\x0D\x0A* Removed 1 bug; he was hidden in the \x0D\x0A selection box of the language and was \x0D\x0A found interestingly by 'emulation' with \x0D\x0A the app 'wine' under the linux-os \x0D\x0A 'openSUSE 10.3'";
Expand All @@ -49,9 +49,18 @@ void CHistoryDlg::DoDataExchange(CDataExchange* pDX)

BEGIN_MESSAGE_MAP(CHistoryDlg, CDialog)
//{{AFX_MSG_MAP(CHistoryDlg)
// NOTE: the ClassWizard will add message map macros here
//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CHistoryDlg message handlers

BOOL CHistoryDlg::OnInitDialog()
{
CDialog::OnInitDialog();

EnableThemeDialogTexture(GetSafeHwnd());

return TRUE; // return TRUE unless you set the focus to a control
// EXCEPTION: OCX Property Pages should return FALSE
}
4 changes: 3 additions & 1 deletion HistoryDlg.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,13 @@ class CHistoryDlg : public CDialog

// Generated message map functions
//{{AFX_MSG(CHistoryDlg)
// NOTE: the ClassWizard will add member functions here
virtual BOOL OnInitDialog();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};

void EnableThemeDialogTexture(HWND hwndDlg);

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

Expand Down
11 changes: 10 additions & 1 deletion HowtoDlg.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,18 @@ void CHowtoDlg::DoDataExchange(CDataExchange* pDX)

BEGIN_MESSAGE_MAP(CHowtoDlg, CDialog)
//{{AFX_MSG_MAP(CHowtoDlg)
// NOTE: the ClassWizard will add message map macros here
//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CHowtoDlg message handlers

BOOL CHowtoDlg::OnInitDialog()
{
CDialog::OnInitDialog();

EnableThemeDialogTexture(GetSafeHwnd());

return TRUE; // return TRUE unless you set the focus to a control
// EXCEPTION: OCX Property Pages should return FALSE
}
4 changes: 3 additions & 1 deletion HowtoDlg.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,13 @@ class CHowtoDlg : public CDialog

// Generated message map functions
//{{AFX_MSG(CHowtoDlg)
// NOTE: the ClassWizard will add member functions here
virtual BOOL OnInitDialog();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};

void EnableThemeDialogTexture(HWND hwndDlg);

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

Expand Down
2 changes: 1 addition & 1 deletion ProbabilityDlg.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ BOOL CProbabilityDlg::OnInitDialog()
UpdateData(true);

CProbabilityDlg::Assign();

EnableThemeDialogTexture(GetSafeHwnd());
m_uintProbabilityA_Copy = m_uintProbabilityA;
m_uintProbabilityB_Copy = m_uintProbabilityB;
m_uintProbabilityC_Copy = m_uintProbabilityC;
Expand Down
2 changes: 2 additions & 0 deletions ProbabilityDlg.h
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,8 @@ class CProbabilityDlg : public CDialog
DECLARE_MESSAGE_MAP()
};

void EnableThemeDialogTexture(HWND hwndDlg);

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

Expand Down
14 changes: 13 additions & 1 deletion Resource.h
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,8 @@
#define IDI_ICON_EXPORT 181
#define IDI_ICON_COPY2 182
#define IDD_DIALOG_EXPORT 183
#define IDI_ICON_AZ 184
#define IDI_ICON_METAL 185
#define IDC_EDIT_GENERATED_NAMES 1000
#define IDC_EDIT_MIN_LEN_OF_NAMES 1001
#define IDC_EDIT_MAX_LEN_OF_NAMES 1002
Expand All @@ -89,10 +91,15 @@
#define IDC_EDIT_HISTORY 1012
#define IDS_COPY 1012
#define IDC_EDIT_HOWTO 1013
#define IDS_PP_LEFT 1013
#define IDC_EDIT_VOWELS 1014
#define IDS_PP_RIGHT 1014
#define IDC_EDIT_CONSONANTS 1015
#define IDS_PP_MIRROR 1015
#define IDC_BUTTON_DEFAULT_SETTINGS 1016
#define IDS_PP_AZ 1016
#define IDC_EDIT_PROBABILITY_A 1017
#define IDS_PP_SCRAMBLE 1017
#define IDC_EDIT_PROBABILITY_B 1018
#define IDC_EDIT_PROBABILITY_C 1019
#define IDC_EDIT_PROBABILITY_D 1020
Expand Down Expand Up @@ -153,6 +160,7 @@
#define IDC_EMAILLINK 1076
#define IDC_BUTTON_CLEAR 1076
#define IDC_WWWLINK1 1077
#define IDC_BUTTON_PP_LEFT 1077
#define IDC_WWWLINK2 1078
#define IDC_BUTTON_COPY 1078
#define IDC_SPIN_NUMB_OF_NAMES 1079
Expand All @@ -161,9 +169,13 @@
#define IDC_BUTTON_PRINT 1082
#define IDC_PROGRESS_GENERATE 1083
#define IDC_RADIO_EXPORT_TXT 1084
#define IDC_BUTTON_PP_RIGHT 1084
#define IDC_RADIO_EXPORT_CSV 1085
#define IDC_BUTTON_PP_MIRROR 1085
#define IDC_RADIO_EXPORT_HTM 1086
#define IDC_BUTTON_PP_AZ 1086
#define IDC_BUTTON1 1087
#define IDC_BUTTON_PP_SCRAMBLE 1087
#define IDC_RADIO_EXPORT_SLK 1088
#define IDC_CHECK_EXPORT_LINEFEEDS 1089
#define IDC_CHECK_EXPORT_CREATOR 1090
Expand All @@ -172,7 +184,7 @@
//
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_NEXT_RESOURCE_VALUE 184
#define _APS_NEXT_RESOURCE_VALUE 186
#define _APS_NEXT_COMMAND_VALUE 32771
#define _APS_NEXT_CONTROL_VALUE 1090
#define _APS_NEXT_SYMED_VALUE 101
Expand Down
Loading

0 comments on commit 6292ebb

Please sign in to comment.