1 |
/* wptImagelist.h - Win32 Imagelist headerfile |
2 |
* Copyright (C) 2003 Andreas Jobs |
3 |
* Copyright (C) 2004 Timo Schulz |
4 |
* |
5 |
* This file is part of WinPT. |
6 |
* |
7 |
* WinPT is free software; you can redistribute it and/or |
8 |
* modify it under the terms of the GNU General Public License |
9 |
* as published by the Free Software Foundation; either version 2 |
10 |
* of the License, or (at your option) any later version. |
11 |
* |
12 |
* WinPT is distributed in the hope that it will be useful, |
13 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
14 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
15 |
* General Public License for more details. |
16 |
* |
17 |
* You should have received a copy of the GNU General Public License |
18 |
* along with WinPT; if not, write to the Free Software Foundation, |
19 |
* Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
20 |
*/ |
21 |
|
22 |
#ifndef WPT_IMAGELIST_H |
23 |
#define WPT_IMAGELIST_H |
24 |
|
25 |
extern HIMAGELIST glob_imagelist; |
26 |
|
27 |
enum km_tb_id_t { |
28 |
IMI_KEY_DELETE = 0, |
29 |
IMI_KEY_PROPS, |
30 |
IMI_KEY_SIGN, |
31 |
IMI_KEY_IMPORT, |
32 |
IMI_KEY_EXPORT, |
33 |
IMI_SORT_UPARROW, |
34 |
IMI_SORT_DOWNARROW, |
35 |
IMI_EXIT, |
36 |
IMAGELIST_NUMIMAGES |
37 |
}; |
38 |
|
39 |
|
40 |
int imagelist_load (HWND hwnd); |
41 |
int imagelist_destroy (void); |
42 |
int imagelist_getindex (int icon); |
43 |
|
44 |
#endif /* WPT_IMAGELIST_H */ |