window.h
changeset 2636 e2bfdc3e82b6
parent 2634 16334e1a4862
child 2683 6f67fcf73873
--- a/window.h	Mon Nov 14 08:09:57 2005 +0000
+++ b/window.h	Mon Nov 14 08:42:45 2005 +0000
@@ -452,6 +452,18 @@
 } message_d;
 assert_compile(WINDOW_CUSTOM_SIZE >= sizeof(message_d));
 
+typedef struct dropdown_d {
+	WindowClass parent_wnd_class;
+	WindowNumber parent_wnd_num;
+	byte parent_button;
+	byte num_items;
+	byte selected_index;
+	const StringID *items;
+	byte click_delay;
+	bool drag_mode;
+} dropdown_d;
+assert_compile(WINDOW_CUSTOM_SIZE >= sizeof(dropdown_d));
+
 enum WindowEvents {
 	WE_CLICK = 0,
 	WE_PAINT = 1,