annotate src/menu.hh @ 477:9a41a7db39f5

Added a popup menu to form's submit button
author corvid <corvid@lavabit.com>
date Sun, 21 Dec 2008 08:39:20 -0300
parents 31b866fdde87
children cdfdb006f193
rev   line source
0
6ee11bf9e3ea Initial revision
jcid
parents:
diff changeset
1 #ifndef __MENU_HH__
6ee11bf9e3ea Initial revision
jcid
parents:
diff changeset
2 #define __MENU_HH__
6ee11bf9e3ea Initial revision
jcid
parents:
diff changeset
3
6ee11bf9e3ea Initial revision
jcid
parents:
diff changeset
4 #include "bw.h"
6ee11bf9e3ea Initial revision
jcid
parents:
diff changeset
5
6ee11bf9e3ea Initial revision
jcid
parents:
diff changeset
6 #ifdef __cplusplus
6ee11bf9e3ea Initial revision
jcid
parents:
diff changeset
7 extern "C" {
6ee11bf9e3ea Initial revision
jcid
parents:
diff changeset
8 #endif /* __cplusplus */
6ee11bf9e3ea Initial revision
jcid
parents:
diff changeset
9
11
4a5942beffdf Added some "const" qualifiers.
jcid
parents: 0
diff changeset
10 void a_Menu_page_popup(BrowserWindow *bw, const DilloUrl *url,
356
81338758c3dd - Added a workaround for segfaulting popup menus.
jcid
parents: 328
diff changeset
11 bool_t has_bugs, bool_t unloaded_imgs);
11
4a5942beffdf Added some "const" qualifiers.
jcid
parents: 0
diff changeset
12 void a_Menu_link_popup(BrowserWindow *bw, const DilloUrl *url);
22
571f09e42ab6 - Hooked "Activate" to the form_receiver.
jcid
parents: 11
diff changeset
13 void a_Menu_image_popup(BrowserWindow *bw, const DilloUrl *url,
356
81338758c3dd - Added a workaround for segfaulting popup menus.
jcid
parents: 328
diff changeset
14 bool_t loaded_img, DilloUrl *link_url);
477
9a41a7db39f5 Added a popup menu to form's submit button
corvid <corvid@lavabit.com>
parents: 400
diff changeset
15 void a_Menu_form_popup(BrowserWindow *bw, const DilloUrl *page_url,
9a41a7db39f5 Added a popup menu to form's submit button
corvid <corvid@lavabit.com>
parents: 400
diff changeset
16 void *vform);
400
31b866fdde87 - File menu as popup implementation.
jcid
parents: 356
diff changeset
17 void a_Menu_file_popup(BrowserWindow *bw, void *v_wid);
11
4a5942beffdf Added some "const" qualifiers.
jcid
parents: 0
diff changeset
18 void a_Menu_bugmeter_popup(BrowserWindow *bw, const DilloUrl *url);
0
6ee11bf9e3ea Initial revision
jcid
parents:
diff changeset
19 void a_Menu_history_popup(BrowserWindow *bw, int direction);
6ee11bf9e3ea Initial revision
jcid
parents:
diff changeset
20
6ee11bf9e3ea Initial revision
jcid
parents:
diff changeset
21 //---------------------
6ee11bf9e3ea Initial revision
jcid
parents:
diff changeset
22 void a_Menu_popup_set_url(BrowserWindow *bw, const DilloUrl *url);
6ee11bf9e3ea Initial revision
jcid
parents:
diff changeset
23 void a_Menu_popup_set_url2(BrowserWindow *bw, const DilloUrl *url);
6ee11bf9e3ea Initial revision
jcid
parents:
diff changeset
24 void a_Menu_popup_clear_url2(void *menu_popup);
6ee11bf9e3ea Initial revision
jcid
parents:
diff changeset
25
6ee11bf9e3ea Initial revision
jcid
parents:
diff changeset
26 DilloUrl *a_Menu_popup_get_url(BrowserWindow *bw);
6ee11bf9e3ea Initial revision
jcid
parents:
diff changeset
27
6ee11bf9e3ea Initial revision
jcid
parents:
diff changeset
28 void a_Menu_pagemarks_new (BrowserWindow *bw);
6ee11bf9e3ea Initial revision
jcid
parents:
diff changeset
29 void a_Menu_pagemarks_destroy (BrowserWindow *bw);
6ee11bf9e3ea Initial revision
jcid
parents:
diff changeset
30 void a_Menu_pagemarks_add(BrowserWindow *bw, void *page, void *style,
6ee11bf9e3ea Initial revision
jcid
parents:
diff changeset
31 int level);
6ee11bf9e3ea Initial revision
jcid
parents:
diff changeset
32 void a_Menu_pagemarks_set_text(BrowserWindow *bw, const char *str);
6ee11bf9e3ea Initial revision
jcid
parents:
diff changeset
33
6ee11bf9e3ea Initial revision
jcid
parents:
diff changeset
34
6ee11bf9e3ea Initial revision
jcid
parents:
diff changeset
35 #ifdef __cplusplus
6ee11bf9e3ea Initial revision
jcid
parents:
diff changeset
36 }
6ee11bf9e3ea Initial revision
jcid
parents:
diff changeset
37 #endif /* __cplusplus */
6ee11bf9e3ea Initial revision
jcid
parents:
diff changeset
38
6ee11bf9e3ea Initial revision
jcid
parents:
diff changeset
39 #endif /* MENU_HH */
6ee11bf9e3ea Initial revision
jcid
parents:
diff changeset
40