summaryrefslogtreecommitdiff
path: root/plugins/Watrack/templates
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Watrack/templates')
-rw-r--r--plugins/Watrack/templates/templates.pas4
-rw-r--r--plugins/Watrack/templates/templates.rc5
-rw-r--r--plugins/Watrack/templates/templates.resbin1648 -> 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
index d23e804915..cb2ee5eb7e 100644
--- a/plugins/Watrack/templates/templates.res
+++ b/plugins/Watrack/templates/templates.res
Binary files differ