Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
wine-mirror
GitHub Repository: wine-mirror/wine
Path: blob/master/tools/wrc/newstruc.h
4389 views
1
/*
2
* Create dynamic new structures of various types
3
*
4
* Copyright 1998 Bertho A. Stultiens
5
*
6
* This library is free software; you can redistribute it and/or
7
* modify it under the terms of the GNU Lesser General Public
8
* License as published by the Free Software Foundation; either
9
* version 2.1 of the License, or (at your option) any later version.
10
*
11
* This library is distributed in the hope that it will be useful,
12
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14
* Lesser General Public License for more details.
15
*
16
* You should have received a copy of the GNU Lesser General Public
17
* License along with this library; if not, write to the Free Software
18
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19
*/
20
21
#ifndef __WRC_NEWSTRUC_H
22
#define __WRC_NEWSTRUC_H
23
24
#include "wrctypes.h"
25
26
dialog_t *new_dialog(void);
27
name_id_t *new_name_id(void);
28
menu_t *new_menu(void);
29
menu_item_t *new_menu_item(void);
30
control_t *new_control(void);
31
icon_t *new_icon(void);
32
cursor_t *new_cursor(void);
33
versioninfo_t *new_versioninfo(void);
34
ver_value_t *new_ver_value(void);
35
ver_block_t *new_ver_block(void);
36
stt_entry_t *new_stt_entry(void);
37
accelerator_t *new_accelerator(void);
38
event_t *new_event(void);
39
raw_data_t *new_raw_data(void);
40
lvc_t *new_lvc(void);
41
string_t *new_string(void);
42
toolbar_item_t *new_toolbar_item(void);
43
ani_any_t *new_ani_any(void);
44
resource_t *new_resource(enum res_e t, void *res, int memopt, language_t lan);
45
html_t *new_html(raw_data_t *rd, int *memopt);
46
rcdata_t *new_rcdata(raw_data_t *rd, int *memopt);
47
font_id_t *new_font_id(int size, string_t *face, int weight, int italic);
48
user_t *new_user(name_id_t *type, raw_data_t *rd, int *memopt);
49
font_t *new_font(raw_data_t *rd, int *memopt);
50
fontdir_t *new_fontdir(raw_data_t *rd, int *memopt);
51
icon_group_t *new_icon_group(raw_data_t *rd, int *memopt);
52
cursor_group_t *new_cursor_group(raw_data_t *rd, int *memopt);
53
ani_curico_t *new_ani_curico(enum res_e type, raw_data_t *rd, int *memopt);
54
bitmap_t *new_bitmap(raw_data_t *rd, int *memopt);
55
ver_words_t *new_ver_words(int i);
56
ver_words_t *add_ver_words(ver_words_t *w, int i);
57
messagetable_t *new_messagetable(raw_data_t *rd, int *memopt);
58
dlginit_t *new_dlginit(raw_data_t *rd, int *memopt);
59
void copy_raw_data(raw_data_t *dst, raw_data_t *src, unsigned int offs, int len);
60
int *new_int(int i);
61
stringtable_t *new_stringtable(lvc_t *lvc);
62
toolbar_t *new_toolbar(int button_width, int button_Height, toolbar_item_t *items, int nitems);
63
style_pair_t *new_style_pair(style_t *style, style_t *exstyle);
64
style_t *new_style(unsigned int or_mask, unsigned int and_mask);
65
66
#endif
67
68