|
@@ -23,6 +23,7 @@
|
23
|
23
|
#include "cmText.h"
|
24
|
24
|
#include "cmFileSys.h"
|
25
|
25
|
#include "cmPrefs.h"
|
|
26
|
+#include "cmSymTbl.h"
|
26
|
27
|
#include "cmDspValue.h"
|
27
|
28
|
#include "cmMsgProtocol.h"
|
28
|
29
|
#include "cmAudDspIF.h"
|
|
@@ -40,7 +41,10 @@
|
40
|
41
|
enum
|
41
|
42
|
{
|
42
|
43
|
kAppWndW = 1600,
|
43
|
|
- kAppWndH = 750
|
|
44
|
+ kAppWndH = 750,
|
|
45
|
+ kAppWndX = 10,
|
|
46
|
+ kAppWndY = 10
|
|
47
|
+
|
44
|
48
|
};
|
45
|
49
|
|
46
|
50
|
kcApp* kcAppPtr = NULL;
|
|
@@ -74,6 +78,8 @@ cmPrRC_t kcInitPrefs( cmCtx_t* ctx, cmPrH_t* prH )
|
74
|
78
|
unsigned flags = 0;
|
75
|
79
|
cmPrefsCreateInt(*prH, 1, "appWndW", flags, kAppWndW );
|
76
|
80
|
cmPrefsCreateInt(*prH, 2, "appWndH", flags, kAppWndH );
|
|
81
|
+ cmPrefsCreateInt(*prH, 3, "appWndX", flags, kAppWndX );
|
|
82
|
+ cmPrefsCreateInt(*prH, 4, "appWndY", flags, kAppWndY );
|
77
|
83
|
|
78
|
84
|
return cmPrefsRC(*prH);
|
79
|
85
|
}
|
|
@@ -134,9 +140,13 @@ int main( int argc, char* argv[] )
|
134
|
140
|
{
|
135
|
141
|
int appWndW = cmPrefsIntDef(prH,"appWndW", kAppWndW);
|
136
|
142
|
int appWndH = cmPrefsIntDef(prH,"appWndH", kAppWndH);
|
|
143
|
+ int appWndX = cmPrefsIntDef(prH,"appWndX", kAppWndX);
|
|
144
|
+ int appWndY = cmPrefsIntDef(prH,"appWndY", kAppWndY);
|
137
|
145
|
|
138
|
146
|
kcAppPtr = new kcApp(&ctx, prH, printqH, appWndW, appWndH, appTitle, aiH, argc, argv);
|
139
|
147
|
|
|
148
|
+ kcAppPtr->resize(appWndX,appWndY,appWndW,appWndH);
|
|
149
|
+
|
140
|
150
|
cmAudDspLocalSendSetup(adlH);
|
141
|
151
|
|
142
|
152
|
Fl::run();
|