view src/menu.hh @ 926:caf45b6c8535

Fixed the load image popup option. Also cleaned up the API a bit. Introduced a_Bw_get_url_doc(). Mainly for popup menus.
author corvid <corvid@lavabit.com>
date Sun, 08 Feb 2009 19:31:32 -0300
parents 35054b4e3b1b
children 1a26b2bd7138
line wrap: on
line source
#ifndef __MENU_HH__
#define __MENU_HH__

#include "bw.h"

#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */

void a_Menu_page_popup(BrowserWindow *bw, const DilloUrl *url,
                       bool_t has_bugs);
void a_Menu_link_popup(BrowserWindow *bw, const DilloUrl *url);
void a_Menu_image_popup(BrowserWindow *bw, const DilloUrl *url,
                        bool_t loaded_img, DilloUrl *page_url,
                        DilloUrl *link_url);
void a_Menu_form_popup(BrowserWindow *bw, const DilloUrl *page_url,
                       void *vform, bool_t showing_hiddens);
void a_Menu_file_popup(BrowserWindow *bw, void *v_wid);
void a_Menu_bugmeter_popup(BrowserWindow *bw, const DilloUrl *url);
void a_Menu_history_popup(BrowserWindow *bw, int direction);
void a_Menu_tools_popup(BrowserWindow *bw, void *v_wid);


#ifdef __cplusplus
}
#endif /* __cplusplus */

#endif /* MENU_HH */