33#include "curl/curlver.h"
39#include "atari/gemtk/gemtk.h"
40#include "atari/res/netsurf.rsh"
52 short cheight = 8, cwidth = gl_wchar;
57 .g_x = parmblock->pb_x,
58 .g_y = parmblock->pb_y,
59 .g_w = parmblock->pb_w-8,
60 .g_h = parmblock->pb_h
65 .g_x = parmblock->pb_xc,
66 .g_y = parmblock->pb_yc,
67 .g_w = parmblock->pb_wc,
68 .g_h = parmblock->pb_hc
71 if(parmblock->pb_currstate == parmblock->pb_prevstate){
76 content = (
char*)parmblock->pb_parm;
82 if(!rc_intersect(&area, &
clip)){
88 pxy[2] = pxy[0] +
clip.g_w-1;
89 pxy[3] = pxy[1] +
clip.g_h-1;
91 vst_alignment(
vdihandle, 0, 5, &dummy, &dummy);
92 vst_height(
vdihandle, sys_sml_height, &dummy, &dummy, &dummy, &cheight);
95 for (
int i=0; i<content_len; i++) {
100 if (cur_x >=
clip.g_x
118 static USERBLK userblk;
120 const char * goto_url = NULL;
133 "MiNTLib : %d.%d-%d%s\n"
134 "GEMLib : %d.%d-%d%s\n"
135 "CFLib : %d.%d-%d%s\n"
140 __MINTLIB_MAJOR__, __MINTLIB_MINOR__, __MINTLIB_REVISION__,
142 __GEMLIB_MAJOR__, __GEMLIB_MINOR__, __GEMLIB_REVISION__,
144 __CFLIB_MAJOR__, __CFLIB_MINOR__, __CFLIB_REVISION__,
154 about_form[ABOUT_CONTENT].ob_spec.userblk = &userblk;
159 goto_url =
"about:credits";
163 goto_url =
"about:licence";
169 if (goto_url != NULL) {
static OBJECT * about_form
static char * infocontent
static short __CDECL about_userdraw(PARMBLK *parmblock)
void atari_about_show(void)
nserror atari_warn_user(const char *warning, const char *detail)
Warn the user of an event.
VdiHdl plot_get_vdi_handle(void)
Browser window creation and manipulation interface.
nserror browser_window_create(enum browser_window_create_flags flags, struct nsurl *url, struct nsurl *referrer, struct browser_window *existing, struct browser_window **bw)
Create and open a new root browser window with the given page.
@ BW_CREATE_HISTORY
this will form a new history node (don't set for back/reload/etc)
nserror
Enumeration of error codes.
const char * messages_get_errorcode(nserror code)
lookup of a message by errorcode from the standard Messages hash.
Localised message support (interface).
NetSurf URL handling (interface).
nserror nsurl_create(const char *const url_s, nsurl **url)
Create a NetSurf URL object from a URL string.
void nsurl_unref(nsurl *url)
Drop a reference to a NetSurf URL object.
struct nsurl nsurl
NetSurf URL object.
Interface to utility string handling.
Content which corresponds to a single URL.
const char * user_agent_string(void)
Retrieve the core user agent for this release.
Version information interface.
static nserror clip(const struct redraw_context *ctx, const struct rect *clip)
Sets a clip rectangle for subsequent plot operations.