]>
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>
21 #define CATEGORY_EXPANDED 0
22 #define CATEGORY_COLLAPSED 1
26 /* Note that the next four items must be in the same order as the
27 TRUST items in ini.h. */
38 /* Use ACTION_SAME when you want to leve the current version unaltered
39 * even if it that version is not in setup.ini
42 /* Actions taken when installed version matches the selected version. */
43 ACTION_SAME_PREV
= ACTION_PREV
+ ACTION_SAME
,
44 ACTION_SAME_CURR
= ACTION_CURR
+ ACTION_SAME
,
45 ACTION_SAME_TEST
= ACTION_TEST
+ ACTION_SAME
,
69 typedef class _view view
;
74 void set_line (Package
*_pkg
);
75 void set_line (Category
*_cat
);
76 void paint (HDC hdc
, int x
, int y
, int row
, int show_cat
);
77 Package
*get_pkg (void) { return pkg
; };
78 Category
*get_category (void) { return cat
; };
89 views
get_view_mode () { return view_mode
; };
90 void set_view_mode(views _mode
);
91 struct _header
*headers
;
92 _view (views mode
, HDC dc
);
93 const char *mode_caption ();
94 void insert_pkg (Package
*);
95 void insert_category (Category
*, int);
96 void clear_view (void);
97 int click (int row
, int x
);
109 void set_headers (void);
110 void init_headers (HDC dc
);
111 void insert_at (int, pick_line
);
112 void insert_under (int linen
, pick_line line
);
115 #endif /* __cplusplus */
116 #endif /* _CHOOSE_H_ */
This page took 0.098019 seconds and 6 git commands to generate.