This commit was generated by cvs2svn to compensate for changes in r2,
which included commits to RCS files with non-trunk default branches. git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@625 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
9b3b220a13
commit
3e9e73ec59
177 changed files with 37677 additions and 0 deletions
24
Source/util.h
Normal file
24
Source/util.h
Normal file
|
@ -0,0 +1,24 @@
|
|||
#ifndef _UTIL_H_
|
||||
#define _UTIL_H_
|
||||
|
||||
#include "ResourceEditor.h"
|
||||
|
||||
// these are the standard pause-before-quit shit.
|
||||
extern int g_dopause;
|
||||
extern void dopause(void);
|
||||
|
||||
// Adds the bitmap in filename using resource editor re as id id.
|
||||
// If width or height are specified it will also make sure the bitmap is in that size
|
||||
int update_bitmap(CResourceEditor* re, WORD id, char* filename, int width=0, int height=0);
|
||||
|
||||
// reads icon file filename and places its icons in the resource wIconId using resource editor re. Also updates icondata_size.
|
||||
int replace_icon(CResourceEditor* re, WORD wIconId, char* filename);
|
||||
|
||||
#ifdef NSIS_CONFIG_UNINSTALL_SUPPORT
|
||||
// returns the data of the uninstaller icon (inside filename) that should replace the installer icon data
|
||||
unsigned char* generate_uninstall_icon_data(char* filename);
|
||||
// Fill the array of icons for uninstall with their offsets
|
||||
int generate_unicons_offsets(unsigned char* exeHeader, unsigned char* uninstIconData);
|
||||
#endif NSIS_CONFIG_UNINSTALL_SUPPORT
|
||||
|
||||
#endif //_UTIL_H_
|
Loading…
Add table
Add a link
Reference in a new issue