diff options
author | George Hazan <george.hazan@gmail.com> | 2015-05-04 20:19:47 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-05-04 20:19:47 +0000 |
commit | d59aab9f81a82258e65721a9b48c4978d0d381c9 (patch) | |
tree | 523a419b09d6b02baeda8c6be86a80cb068b6179 /plugins/Watrack/templates | |
parent | a2f3375c0fa8ff246897d7b17c9a70ecd39a400d (diff) |
fix for another Watrack option pages
git-svn-id: http://svn.miranda-ng.org/main/trunk@13433 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Watrack/templates')
-rw-r--r-- | plugins/Watrack/templates/templates.pas | 4 | ||||
-rw-r--r-- | plugins/Watrack/templates/templates.rc | 5 | ||||
-rw-r--r-- | plugins/Watrack/templates/templates.res | bin | 1648 -> 1636 bytes |
3 files changed, 6 insertions, 3 deletions
diff --git a/plugins/Watrack/templates/templates.pas b/plugins/Watrack/templates/templates.pas index 62de1f825e..45aa980a67 100644 --- a/plugins/Watrack/templates/templates.pas +++ b/plugins/Watrack/templates/templates.pas @@ -10,6 +10,8 @@ uses m_api,dbsettings,mirutils,
wat_api,global,macros;
+{$include resource.inc}
+
const
splStopped:PWideChar = 'stopped';
splPlaying:PWideChar = 'playing';
@@ -63,7 +65,7 @@ end; function AddOptionsPage(var tmpl:pAnsiChar;var proc:pointer;var name:PAnsiChar):integer;
begin
- tmpl:='FORMAT';
+ tmpl:=PAnsiChar(IDD_OPT_FORMAT);
proc:=@DlgProcOptions;
name:='Templates';
result:=0;
diff --git a/plugins/Watrack/templates/templates.rc b/plugins/Watrack/templates/templates.rc index f7e8ff1f20..47090f361e 100644 --- a/plugins/Watrack/templates/templates.rc +++ b/plugins/Watrack/templates/templates.rc @@ -1,9 +1,10 @@ #include "i_tmpl_rc.inc"
+#include "resource.inc"
LANGUAGE 0,0
-FORMAT DIALOGEX 0, 0, 304, 226, 0
-STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILD | WS_VISIBLE
+IDD_OPT_FORMAT DIALOGEX 0, 0, 304, 226, 0
+STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILD
EXSTYLE WS_EX_CONTROLPARENT
FONT 8, "MS Shell Dlg", 0, 0
{
diff --git a/plugins/Watrack/templates/templates.res b/plugins/Watrack/templates/templates.res Binary files differindex d23e804915..cb2ee5eb7e 100644 --- a/plugins/Watrack/templates/templates.res +++ b/plugins/Watrack/templates/templates.res |