Alternate doc path points to docs on nsis.sf.net not cvs; Use smaller logo.bmp; Removed background color code from about dialog; Stupid typo in about box (thanks joost); Created some structs for globals
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1361 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
30e2d57957
commit
b014c64356
4 changed files with 220 additions and 223 deletions
|
@ -35,7 +35,7 @@
|
|||
#define USAGE "Usage:\r\n\r\n - File | Load Script...\r\n - Drag the .nsi file into this window\r\n - Right click the .nsi file and choose \"Compile NSI\""
|
||||
#define COPYRIGHT "Copyright © 2002 Robert Rainwater"
|
||||
#define CONTRIB "Fritz Elfert, Justin Frankel, Amir Szekely"
|
||||
#define DOCPATH "http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/nsis/NSIS/docs/index.html?rev=HEAD"
|
||||
#define DOCPATH "http://nsis.sourceforge.net/Docs/"
|
||||
#define LOCALDOCS "\\docs\\index.html"
|
||||
#define NSISERROR "Unable to intialize MakeNSIS. Please verify that makensis.exe is in the same directory as makensisw.exe."
|
||||
#define DLGERROR "Unable to intialize MakeNSISW."
|
||||
|
@ -55,12 +55,6 @@
|
|||
|
||||
// Extern Variables
|
||||
extern const char* NSISW_VERSION;
|
||||
extern char* g_script;
|
||||
extern HWND g_hwnd;
|
||||
extern HANDLE g_hThread;
|
||||
extern char * g_output_exe;
|
||||
extern char * g_input_script;
|
||||
extern int g_retcode;
|
||||
|
||||
int WINAPI WinMain(HINSTANCE hInst, HINSTANCE hPrevInst, char *cmdParam, int cmdShow);
|
||||
static BOOL CALLBACK DialogProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
|
||||
|
@ -70,4 +64,39 @@ BOOL CALLBACK AboutNSISProc(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam
|
|||
BOOL CALLBACK AboutProc(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam);
|
||||
void CompileNSISScript();
|
||||
|
||||
typedef struct NSISScriptData {
|
||||
char *script;
|
||||
char *output_exe;
|
||||
char *input_script;
|
||||
char *branding;
|
||||
int retcode;
|
||||
BOOL warnings;
|
||||
BOOL appended;
|
||||
HINSTANCE hInstance;
|
||||
HWND hwnd;
|
||||
HMENU menu;
|
||||
HMENU submenu;
|
||||
HANDLE thread;
|
||||
CHARRANGE textrange;
|
||||
} NSCRIPTDATA;
|
||||
|
||||
typedef struct ResizeData {
|
||||
RECT resizeRect;
|
||||
RECT griprect;
|
||||
int dx;
|
||||
int dy;
|
||||
} NRESIZEDATA;
|
||||
|
||||
typedef struct FindReplaceDialog {
|
||||
FINDREPLACE fr;
|
||||
UINT uFindReplaceMsg;
|
||||
HWND hwndFind;
|
||||
} NFINDREPLACE;
|
||||
|
||||
typedef struct ToolTipStruct {
|
||||
HWND tip;
|
||||
HWND tip_p;
|
||||
HHOOK hook;
|
||||
} NTOOLTIP;
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue