]>
cygwin.com Git - cygwin-apps/setup.git/blob - choose.h
2 * Copyright (c) 2000, Red Hat, Inc.
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
9 * A copy of the GNU General Public License can be found at
12 * Written by Robert Collins <rbtcollins@hotmail.com>
22 #define CATEGORY_EXPANDED 0
23 #define CATEGORY_COLLAPSED 1
27 /* Note that the next four items must be in the same order as the
28 TRUST items in ini.h. */
39 /* Use ACTION_SAME when you want to leve the current version unaltered
40 * even if it that version is not in setup.ini
43 /* Actions taken when installed version matches the selected version. */
44 ACTION_SAME_PREV
= ACTION_PREV
+ ACTION_SAME
,
45 ACTION_SAME_CURR
= ACTION_CURR
+ ACTION_SAME
,
46 ACTION_SAME_TEST
= ACTION_TEST
+ ACTION_SAME
,
72 typedef class _view view
;
77 void set_line (packagemeta
* _pkg
);
78 void set_line (Category
* _cat
);
79 void paint (HDC hdc
, int x
, int y
, int row
, int show_cat
);
80 packagemeta
*get_pkg (void)
84 Category
*get_category (void)
98 views
get_view_mode ()
102 void set_view_mode (views _mode
);
103 struct _header
*headers
;
104 _view (views mode
, HDC dc
);
105 const char *mode_caption ();
106 void insert_pkg (packagemeta
&);
107 void insert_category (Category
*, int);
108 void clear_view (void);
109 int click (int row
, int x
);
121 void set_headers (void);
122 void init_headers (HDC dc
);
123 void insert_at (int, pick_line
);
124 void insert_under (int linen
, pick_line line
);
127 #endif /* __cplusplus */
128 #endif /* _CHOOSE_H_ */
This page took 0.04423 seconds and 6 git commands to generate.