| 1 |
/* |
| 2 |
* ui.h |
| 3 |
* |
| 4 |
* This file is a part of NSIS. |
| 5 |
* |
| 6 |
* Copyright (C) 1999-2026 Nullsoft and Contributors |
| 7 |
* |
| 8 |
* Licensed under the zlib/libpng license (the "License"); |
| 9 |
* you may not use this file except in compliance with the License. |
| 10 |
* |
| 11 |
* Licence details can be found in the file COPYING. |
| 12 |
* |
| 13 |
* This software is provided 'as-is', without any express or implied |
| 14 |
* warranty. |
| 15 |
* |
| 16 |
* Unicode support by Jim Park -- 08/13/2007 |
| 17 |
*/ |
| 18 |
|
| 19 |
|
| 20 |
#ifndef _UI_H_ |
| 21 |
#define _UI_H_ |
| 22 |
|
| 23 |
extern int *cur_langtable; |
| 24 |
|
| 25 |
extern int NSISCALL ui_doinstall(void); |
| 26 |
void NSISCALL update_status_text(int strtab, const TCHAR *text2); |
| 27 |
|
| 28 |
extern int ui_dlg_visible; |
| 29 |
extern HWND m_curwnd; |
| 30 |
|
| 31 |
#ifdef NSIS_CONFIG_LOG |
| 32 |
void NSISCALL build_g_logfile(void); |
| 33 |
#endif |
| 34 |
|
| 35 |
// sent to the last child window to tell it that the install thread is done |
| 36 |
#define WM_NOTIFY_INSTPROC_DONE (WM_USER+0x4) |
| 37 |
|
| 38 |
// sent to every child window to tell it it can start executing NSIS code |
| 39 |
#define WM_NOTIFY_START (WM_USER+0x5) |
| 40 |
|
| 41 |
// sent to every child window to tell it it is closing soon |
| 42 |
#define WM_NOTIFY_INIGO_MONTOYA (WM_USER+0xb) |
| 43 |
|
| 44 |
// update message used by DirProc and SelProc for space display |
| 45 |
#define WM_IN_UPDATEMSG (WM_USER+0xf) |
| 46 |
|
| 47 |
// simulates clicking on the tree |
| 48 |
#define WM_TREEVIEW_KEYHACK (WM_USER+0x13) |
| 49 |
|
| 50 |
// notifies a component selection change (.onMouseOverSection) |
| 51 |
#define WM_NOTIFY_SELCHANGE (WM_USER+0x19) |
| 52 |
|
| 53 |
// Notifies the installation type has changed by the user |
| 54 |
#define WM_NOTIFY_INSTTYPE_CHANGED (WM_USER+0x20) |
| 55 |
|
| 56 |
#endif//_UI_H_ |