annotate src/menu.hh @ 2048:5060d415a85a

clickable menu items (even those introducing submenus) MUST have callbacks I clicked on the "Panel size" item itself instead of any of the options in its submenu, and: Segfault!
author corvid <corvid@lavabit.com>
date Thu, 26 May 2011 02:51:18 +0000
parents 1a26b2bd7138
children
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,
958
1a26b2bd7138 [mq]: view-stylesheets
Jorge Arellano Cid <jcid@dillo.org>
parents: 926
diff changeset
11 bool_t has_bugs, void *v_cssUrls);
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,
926
caf45b6c8535 Fixed the load image popup option. Also cleaned up the API a bit.
corvid <corvid@lavabit.com>
parents: 907
diff changeset
14 bool_t loaded_img, DilloUrl *page_url,
caf45b6c8535 Fixed the load image popup option. Also cleaned up the API a bit.
corvid <corvid@lavabit.com>
parents: 907
diff changeset
15 DilloUrl *link_url);
477
9a41a7db39f5 Added a popup menu to form's submit button
corvid <corvid@lavabit.com>
parents: 400
diff changeset
16 void a_Menu_form_popup(BrowserWindow *bw, const DilloUrl *page_url,
484
cdfdb006f193 Added a right-click menu to the form submit button (allows to show hiddens)
Jorge Arellano Cid <jcid@dillo.org>
parents: 477
diff changeset
17 void *vform, bool_t showing_hiddens);
400
31b866fdde87 - File menu as popup implementation.
jcid
parents: 356
diff changeset
18 void a_Menu_file_popup(BrowserWindow *bw, void *v_wid);
11
4a5942beffdf Added some "const" qualifiers.
jcid
parents: 0
diff changeset
19 void a_Menu_bugmeter_popup(BrowserWindow *bw, const DilloUrl *url);
0
6ee11bf9e3ea Initial revision
jcid
parents:
diff changeset
20 void a_Menu_history_popup(BrowserWindow *bw, int direction);
827
d513abcd4949 Implemented the tools button with CSS options. Also removed nav.h from html.cc
Jorge Arellano Cid <jcid@dillo.org>
parents: 783
diff changeset
21 void a_Menu_tools_popup(BrowserWindow *bw, void *v_wid);
0
6ee11bf9e3ea Initial revision
jcid
parents:
diff changeset
22
6ee11bf9e3ea Initial revision
jcid
parents:
diff changeset
23
6ee11bf9e3ea Initial revision
jcid
parents:
diff changeset
24 #ifdef __cplusplus
6ee11bf9e3ea Initial revision
jcid
parents:
diff changeset
25 }
6ee11bf9e3ea Initial revision
jcid
parents:
diff changeset
26 #endif /* __cplusplus */
6ee11bf9e3ea Initial revision
jcid
parents:
diff changeset
27
6ee11bf9e3ea Initial revision
jcid
parents:
diff changeset
28 #endif /* MENU_HH */
6ee11bf9e3ea Initial revision
jcid
parents:
diff changeset
29