2006-10-28 19:45:02 +00:00
|
|
|
/*
|
|
|
|
* ui.h
|
|
|
|
*
|
|
|
|
* This file is a part of NSIS.
|
|
|
|
*
|
2009-02-01 14:44:30 +00:00
|
|
|
* Copyright (C) 1999-2009 Nullsoft and Contributors
|
2006-10-28 19:45:02 +00:00
|
|
|
*
|
|
|
|
* Licensed under the zlib/libpng license (the "License");
|
|
|
|
* you may not use this file except in compliance with the License.
|
|
|
|
*
|
|
|
|
* Licence details can be found in the file COPYING.
|
|
|
|
*
|
|
|
|
* This software is provided 'as-is', without any express or implied
|
|
|
|
* warranty.
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
2002-08-02 10:01:35 +00:00
|
|
|
#ifndef _UI_H_
|
|
|
|
#define _UI_H_
|
|
|
|
|
2003-09-04 18:25:57 +00:00
|
|
|
extern int *cur_langtable;
|
2002-08-04 20:25:10 +00:00
|
|
|
|
2004-01-04 17:05:03 +00:00
|
|
|
extern int NSISCALL ui_doinstall(void);
|
2003-09-04 18:25:57 +00:00
|
|
|
void NSISCALL update_status_text(int strtab, const char *text2);
|
2002-08-02 10:01:35 +00:00
|
|
|
|
2003-11-09 22:45:25 +00:00
|
|
|
extern int ui_dlg_visible;
|
|
|
|
extern HWND m_curwnd;
|
|
|
|
|
2002-08-19 23:18:19 +00:00
|
|
|
#ifdef NSIS_CONFIG_LOG
|
|
|
|
void NSISCALL build_g_logfile(void);
|
|
|
|
#endif
|
|
|
|
|
2003-05-24 13:50:24 +00:00
|
|
|
// sent to the last child window to tell it that the install thread is done
|
|
|
|
#define WM_NOTIFY_INSTPROC_DONE (WM_USER+0x4)
|
|
|
|
|
|
|
|
// sent to every child window to tell it it can start executing NSIS code
|
|
|
|
#define WM_NOTIFY_START (WM_USER+0x5)
|
|
|
|
|
|
|
|
// sent to every child window to tell it it is closing soon
|
|
|
|
#define WM_NOTIFY_INIGO_MONTOYA (WM_USER+0xb)
|
|
|
|
|
|
|
|
// update message used by DirProc and SelProc for space display
|
|
|
|
#define WM_IN_UPDATEMSG (WM_USER+0xf)
|
|
|
|
|
|
|
|
// simulates clicking on the tree
|
|
|
|
#define WM_TREEVIEW_KEYHACK (WM_USER+0x13)
|
|
|
|
|
|
|
|
// notifies a component selection change (.onMouseOverSection)
|
2003-10-02 12:20:22 +00:00
|
|
|
#define WM_NOTIFY_SELCHANGE (WM_USER+0x19)
|
2003-05-24 13:50:24 +00:00
|
|
|
|
2005-03-19 11:56:23 +00:00
|
|
|
// Notifies the installation type has changed by the user
|
|
|
|
#define WM_NOTIFY_INSTTYPE_CHANGED (WM_USER+0x20)
|
|
|
|
|
2002-08-02 10:01:35 +00:00
|
|
|
#endif//_UI_H_
|