From a79fa86ed589c3d843baa932230ef08bc7468296 Mon Sep 17 00:00:00 2001 From: Alexey Kulakov Date: Fri, 13 Jul 2012 12:05:09 +0000 Subject: partial code beautifier (through Pascal Analizer) git-svn-id: http://svn.miranda-ng.org/main/trunk@947 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/HistoryPlusPlus/hpp_opt_dialog.pas | 31 ++++++++++++++++-------------- 1 file changed, 17 insertions(+), 14 deletions(-) (limited to 'plugins/HistoryPlusPlus/hpp_opt_dialog.pas') diff --git a/plugins/HistoryPlusPlus/hpp_opt_dialog.pas b/plugins/HistoryPlusPlus/hpp_opt_dialog.pas index 6b3c94dee9..87493b00e2 100644 --- a/plugins/HistoryPlusPlus/hpp_opt_dialog.pas +++ b/plugins/HistoryPlusPlus/hpp_opt_dialog.pas @@ -24,14 +24,26 @@ unit hpp_opt_dialog; interface uses - Windows, Messages, CommCtrl, - m_api, - hpp_global, hpp_options, hpp_services - {$IFNDEF NO_EXTERNALGRID}, hpp_external{$ENDIF}; + Windows; const - IDD_OPT_HISTORYPP = 207; // dialog id + IDD_OPT_HISTORYPP = 207; // dialog id + +function OptDialogProc(hwndDlg: HWND; uMsg: UInt; wParam: WPARAM; lParam: LPARAM): lresult; stdcall; + +var + hDlg: HWND = 0; + +implementation + +uses + Messages, CommCtrl, + m_api, + hpp_global, hpp_options, hpp_services, hpp_database + {$IFNDEF NO_EXTERNALGRID}, hpp_external{$ENDIF}, + HistoryForm, GlobalSearch; +const ID_APPEARANCE_GROUP = 100; // "Appearance options" group IDC_SHOWEVENTICONS = 101; // "Show event icons" checkbox IDC_RTLDEFAULT = 102; // "RTL by default" checkbox @@ -63,15 +75,6 @@ const const URL_NEEDOPTIONS = 'http://code.google.com/p/historypp/wiki/AdditionalOptions'; -function OptDialogProc(hwndDlg: HWND; uMsg: UInt; wParam: WPARAM; lParam: LPARAM): lresult; stdcall; - -var - hDlg: HWND = 0; - -implementation - -uses hpp_database, HistoryForm, GlobalSearch; - { function GetText(idCtrl: Integer): AnsiString; var -- cgit v1.2.3