22#include <proto/exec.h>
23#include <proto/graphics.h>
24#include <proto/intuition.h>
25#include <proto/utility.h>
27#include <proto/application.h>
29#include <libraries/gadtools.h>
30#include <exec/types.h>
31#include <intuition/classusr.h>
32#include <graphics/gfxbase.h>
34#include <proto/window.h>
35#include <proto/layout.h>
36#include <proto/button.h>
37#include <proto/clicktab.h>
38#include <proto/label.h>
39#include <proto/string.h>
40#include <proto/checkbox.h>
41#include <proto/radiobutton.h>
42#include <proto/getscreenmode.h>
43#include <proto/getfile.h>
44#include <proto/chooser.h>
45#include <proto/integer.h>
46#include <proto/getfont.h>
47#include <classes/window.h>
48#include <images/label.h>
49#include <gadgets/button.h>
50#include <gadgets/clicktab.h>
51#include <gadgets/string.h>
52#include <gadgets/checkbox.h>
53#include <gadgets/radiobutton.h>
54#include <gadgets/getscreenmode.h>
55#include <gadgets/getfile.h>
56#include <gadgets/chooser.h>
57#include <gadgets/integer.h>
58#include <gadgets/getfont.h>
59#include <reaction/reaction.h>
60#include <reaction/reaction_macros.h>
214#define OPTS_LAST LAB_OPTS_LAST
215#define OPTS_MAX_TABS 10
216#define OPTS_MAX_SCREEN 4
217#define OPTS_MAX_THEMEPAGE 3
218#define OPTS_MAX_PROXY 5
219#define OPTS_MAX_NATIVEBM 4
220#define OPTS_MAX_DITHER 4
275 node = AllocClickTabNode(TNA_Text, array[i], TNA_Number, i, TAG_DONE);
278 node = AllocChooserNode(CNA_Text, array[i], TAG_DONE);
282 node = AllocRadioButtonNode(0, RBNA_Labels, array[i], TAG_DONE);
289 }
while (array[i] != 0);
297 if(IsListEmpty((
struct List *)list))
return;
298 node =
GetHead((
struct List *)list);
306 FreeClickTabNode(node);
309 FreeChooserNode(node);
312 FreeRadioButtonNode(node);
318 }
while((node = nnode));
332#ifdef WITH_PDF_EXPORT
529 uint16 screenoptsselected;
530 ULONG screenmodeid = 0;
532 BOOL screenmodedisabled = FALSE, screennamedisabled = FALSE;
533 BOOL proxyhostdisabled = TRUE, proxyauthdisabled = TRUE, proxybypassdisabled = FALSE;
534 BOOL disableanims, acceptlangdisabled = FALSE;
535 BOOL scaleselected =
nsoption_bool(scale_quality), scaledisabled = FALSE;
536 BOOL ditherdisable = TRUE;
537 BOOL download_notify_disabled = FALSE, tab_always_show_disabled = FALSE;
538 BOOL ptr_disable = FALSE;
541 struct TextAttr fontsans, fontserif, fontmono, fontcursive, fontfantasy;
551 if(
LIB_IS_AT_LEAST((
struct Library *)IntuitionBase, 53, 42)) ptr_disable = TRUE;
560 screenoptsselected = 1;
561 screennamedisabled = TRUE;
562 screenmodedisabled = TRUE;
566 screenoptsselected = 2;
567 screenmodedisabled = TRUE;
572 screenoptsselected = 0;
573 screennamedisabled = TRUE;
583 ditherdisable = FALSE;
593 proxyauthdisabled = FALSE;
595 proxyhostdisabled = FALSE;
599 proxybypassdisabled = TRUE;
604 disableanims = FALSE;
612 acceptlangdisabled = TRUE;
614 acceptlangdisabled = FALSE;
616 if(GfxBase->LibNode.lib_Version < 53)
618 scaledisabled = TRUE;
619 scaleselected = FALSE;
622 if(ApplicationBase->lib_Version < 53)
625 download_notify_disabled = TRUE;
629 if(ClickTabBase->lib_Version < 53) {
630 tab_always_show_disabled = TRUE;
639 fontsans.ta_Style = 0;
640 fontserif.ta_Style = 0;
641 fontmono.ta_Style = 0;
642 fontcursive.ta_Style = 0;
643 fontfantasy.ta_Style = 0;
645 fontsans.ta_YSize = 0;
646 fontserif.ta_YSize = 0;
647 fontmono.ta_YSize = 0;
648 fontcursive.ta_YSize = 0;
649 fontfantasy.ta_YSize = 0;
651 fontsans.ta_Flags = 0;
652 fontserif.ta_Flags = 0;
653 fontmono.ta_Flags = 0;
654 fontcursive.ta_Flags = 0;
655 fontfantasy.ta_Flags = 0;
660 if(
gow == NULL)
return;
668 WA_DepthGadget, TRUE,
670 WA_CloseGadget, TRUE,
671 WA_SizeGadget, FALSE,
675 WINDOW_IconifyGadget, FALSE,
676 WINDOW_Position, WPOS_CENTERSCREEN,
677 WA_IDCMP, IDCMP_GADGETUP | IDCMP_CLOSEWINDOW,
693 LAYOUT_SpaceOuter, TRUE,
694 LAYOUT_BevelStyle, BVS_GROUP,
699 STRINGA_TextVal, homepage_url_lc,
723 CHILD_WeightedHeight, 0,
726 LAYOUT_SpaceOuter, TRUE,
727 LAYOUT_BevelStyle, BVS_GROUP,
737 LAYOUT_SpaceOuter, TRUE,
738 LAYOUT_BevelStyle, BVS_GROUP,
743 GA_Disabled, acceptlangdisabled,
758 LAYOUT_SpaceOuter, TRUE,
759 LAYOUT_BevelStyle, BVS_GROUP,
762 LAYOUT_LabelColumn, PLACETEXT_RIGHT,
768 INTEGER_Maximum, 366,
769 INTEGER_Arrows, TRUE,
771 CHILD_WeightedWidth, 0,
776 CHILD_WeightedWidth, 0,
782 LAYOUT_SpaceOuter, TRUE,
783 LAYOUT_BevelStyle, BVS_GROUP,
793 CHILD_WeightedHeight, 0,
795 LAYOUT_SpaceOuter, TRUE,
796 LAYOUT_BevelStyle, BVS_GROUP,
811 CHILD_WeightedHeight, 0,
813 CHILD_WeightedHeight, 0,
821 LAYOUT_SpaceOuter, TRUE,
822 LAYOUT_BevelStyle, BVS_GROUP,
833 RADIOBUTTON_Selected, screenoptsselected,
835 CHILD_WeightedWidth,0,
840 GA_Disabled,screenmodedisabled,
841 GETSCREENMODE_DisplayID,screenmodeid,
842 GETSCREENMODE_MinDepth, 0,
843 GETSCREENMODE_MaxDepth, 32,
848 GA_Disabled,screennamedisabled,
853 CHILD_WeightedHeight,0,
856 CHILD_WeightedHeight,0,
858 LAYOUT_SpaceOuter, TRUE,
859 LAYOUT_BevelStyle, BVS_GROUP,
868 CHILD_WeightedHeight,0,
870 LAYOUT_SpaceOuter, TRUE,
871 LAYOUT_BevelStyle, BVS_GROUP,
877 GETFILE_DrawersOnly, TRUE,
878 GETFILE_ReadOnly, TRUE,
879 GETFILE_FullFileExpand, FALSE,
899 CHILD_WeightedHeight, 0,
901 LAYOUT_SpaceOuter, TRUE,
902 LAYOUT_BevelStyle, BVS_GROUP,
909 GA_Disabled, ptr_disable,
916 GA_Disabled, ptr_disable,
919 CHILD_WeightedHeight,0,
924 CHILD_WeightedHeight, 0,
932 LAYOUT_SpaceOuter, TRUE,
933 LAYOUT_BevelStyle, BVS_GROUP,
944 CHOOSER_Selected, proxytype,
953 GA_Disabled, proxyhostdisabled,
960 GA_Disabled, proxyhostdisabled,
963 INTEGER_Maximum, 65535,
964 INTEGER_Arrows, FALSE,
966 CHILD_WeightedWidth, 0,
971 CHILD_WeightedHeight, 0,
978 GA_Disabled, proxyauthdisabled,
988 GA_Disabled, proxyauthdisabled,
998 GA_Disabled, proxybypassdisabled,
1000 STRINGA_BufferPos, 0,
1006 CHILD_WeightedHeight, 0,
1008 LAYOUT_SpaceOuter, TRUE,
1009 LAYOUT_BevelStyle, BVS_GROUP,
1016 INTEGER_Maximum, 99,
1017 INTEGER_Arrows, TRUE,
1019 CHILD_WeightedWidth, 0,
1028 INTEGER_Maximum, 99,
1029 INTEGER_Arrows, TRUE,
1031 CHILD_WeightedWidth, 0,
1038 INTEGER_Number,
nsoption_int(max_cached_fetch_handles),
1040 INTEGER_Maximum, 99,
1041 INTEGER_Arrows, TRUE,
1043 CHILD_WeightedWidth, 0,
1048 CHILD_WeightedHeight, 0,
1050 CHILD_WeightedHeight, 0,
1058 LAYOUT_SpaceOuter, TRUE,
1059 LAYOUT_BevelStyle, BVS_GROUP,
1064 CHOOSER_PopUp, TRUE,
1078 GA_Disabled, ditherdisable,
1079 CHOOSER_PopUp, TRUE,
1092 GA_Disabled, scaledisabled,
1095 GA_Selected, scaleselected,
1098 CHILD_WeightedHeight, 0,
1100 LAYOUT_SpaceOuter, TRUE,
1101 LAYOUT_BevelStyle, BVS_GROUP,
1107 GA_Selected, disableanims,
1110 CHILD_WeightedHeight, 0,
1112 LAYOUT_SpaceOuter, TRUE,
1113 LAYOUT_BevelStyle, BVS_GROUP,
1116 LAYOUT_LabelColumn, PLACETEXT_RIGHT,
1121 INTEGER_Minimum, 20,
1122 INTEGER_Maximum, 200,
1123 INTEGER_Arrows, TRUE,
1126 CHILD_WeightedWidth, 0,
1135 CHILD_WeightedHeight, 0,
1137 CHILD_WeightedHeight, 0,
1145 LAYOUT_SpaceOuter, TRUE,
1146 LAYOUT_BevelStyle, BVS_GROUP,
1151 GETFONT_TextAttr, &fontsans,
1161 GETFONT_TextAttr, &fontserif,
1171 GETFONT_TextAttr, &fontmono,
1174 GETFONT_FixedWidthOnly, TRUE,
1182 GETFONT_TextAttr, &fontcursive,
1192 GETFONT_TextAttr, &fontfantasy,
1202 CHOOSER_PopUp, TRUE,
1214 CHILD_WeightedHeight, 0,
1217 LAYOUT_SpaceOuter, TRUE,
1218 LAYOUT_BevelStyle, BVS_GROUP,
1221 LAYOUT_LabelColumn, PLACETEXT_RIGHT,
1227 INTEGER_Maximum, 99,
1228 INTEGER_Arrows, TRUE,
1230 CHILD_WeightedWidth, 0,
1239 LAYOUT_LabelColumn, PLACETEXT_RIGHT,
1245 INTEGER_Maximum, 99,
1246 INTEGER_Arrows, TRUE,
1248 CHILD_WeightedWidth, 0,
1258 LAYOUT_SpaceOuter, TRUE,
1259 LAYOUT_BevelStyle, BVS_GROUP,
1280 CHILD_WeightedHeight, 0,
1282 CHILD_WeightedHeight, 0,
1290 LAYOUT_SpaceOuter, TRUE,
1291 LAYOUT_BevelStyle, BVS_GROUP,
1294 LAYOUT_LabelColumn, PLACETEXT_RIGHT,
1298 INTEGER_Number,
nsoption_int(memory_cache_size) / 1048576,
1300 INTEGER_Maximum, 2048,
1301 INTEGER_Arrows, TRUE,
1303 CHILD_WeightedWidth, 0,
1312 CHILD_WeightedHeight, 0,
1314 LAYOUT_SpaceOuter, TRUE,
1315 LAYOUT_BevelStyle, BVS_GROUP,
1318 LAYOUT_LabelColumn, PLACETEXT_RIGHT,
1324 INTEGER_Maximum, 4096,
1325 INTEGER_Arrows, TRUE,
1327 CHILD_WeightedWidth, 0,
1336 CHILD_WeightedHeight, 0,
1338 CHILD_WeightedHeight, 0,
1347 LAYOUT_SpaceOuter, TRUE,
1348 LAYOUT_BevelStyle, BVS_GROUP,
1373 GA_Disabled, tab_always_show_disabled,
1384 CHILD_WeightedHeight, 0,
1392 LAYOUT_SpaceOuter, TRUE,
1393 LAYOUT_BevelStyle, BVS_GROUP,
1406 GA_Disabled, download_notify_disabled,
1418 GETFILE_DrawersOnly, TRUE,
1419 GETFILE_ReadOnly, TRUE,
1420 GETFILE_FullFileExpand, FALSE,
1426 CHILD_WeightedHeight, 0,
1429 LAYOUT_SpaceOuter, TRUE,
1430 LAYOUT_BevelStyle, BVS_GROUP,
1454 CHILD_WeightedHeight, 0,
1456 CHILD_WeightedHeight, 0,
1459 LAYOUT_SpaceOuter, TRUE,
1460 LAYOUT_BevelStyle, BVS_GROUP,
1469 CHILD_WeightedHeight, 0,
1471 LAYOUT_SpaceOuter, TRUE,
1472 LAYOUT_BevelStyle, BVS_GROUP,
1477 CHOOSER_PopUp, TRUE,
1480 CHOOSER_MaxLabels, 40,
1486 CHILD_WeightedHeight, 0,
1488 CHILD_WeightedHeight, 0,
1490 LAYOUT_BevelStyle, BVS_GROUP,
1492 LAYOUT_SpaceOuter, TRUE,
1513 CHILD_WeightedHeight, 0,
1516 CHILD_WeightedHeight, 0,
1521#ifdef WITH_PDF_EXPORT
1525 LAYOUT_SpaceOuter, TRUE,
1526 LAYOUT_BevelStyle, BVS_GROUP,
1529 LAYOUT_LabelColumn, PLACETEXT_RIGHT,
1535 INTEGER_Maximum, 99,
1536 INTEGER_Arrows, TRUE,
1538 CHILD_WeightedWidth, 0,
1547 LAYOUT_LabelColumn, PLACETEXT_RIGHT,
1553 INTEGER_Maximum, 99,
1554 INTEGER_Arrows, TRUE,
1556 CHILD_WeightedWidth, 0,
1565 LAYOUT_LabelColumn, PLACETEXT_RIGHT,
1571 INTEGER_Maximum, 99,
1572 INTEGER_Arrows, TRUE,
1574 CHILD_WeightedWidth, 0,
1583 LAYOUT_LabelColumn, PLACETEXT_RIGHT,
1589 INTEGER_Maximum, 99,
1590 INTEGER_Arrows, TRUE,
1592 CHILD_WeightedWidth, 0,
1601 CHILD_WeightedHeight, 0,
1603 LAYOUT_SpaceOuter, TRUE,
1604 LAYOUT_BevelStyle, BVS_GROUP,
1607 LAYOUT_LabelColumn, PLACETEXT_RIGHT,
1613 INTEGER_Maximum, 100,
1614 INTEGER_Arrows, TRUE,
1616 CHILD_WeightedWidth, 0,
1625 CHILD_WeightedHeight, 0,
1627 LAYOUT_SpaceOuter, TRUE,
1628 LAYOUT_BevelStyle, BVS_GROUP,
1649 CHILD_WeightedHeight, 0,
1651 LAYOUT_SpaceOuter, TRUE,
1652 LAYOUT_BevelStyle, BVS_GROUP,
1668 CHILD_WeightedHeight, 0,
1670 CHILD_WeightedHeight, 0,
1704 struct Node *tmp_node = NULL;
1705 struct TextAttr *tattr;
1707 bool rescan_fonts =
false;
1708 bool old_tab_always_show;
1793 char *modeid = malloc(20);
1794 sprintf(modeid,
"0x%lx",
id);
1799 if ((data == TRUE) && (
nsoption_bool(window_simple_refresh) ==
false)) {
1802 }
else if ((data == FALSE) && (
nsoption_bool(window_simple_refresh) ==
true)) {
1882 tattr = (
struct TextAttr *)data;
1884 if((dot = strrchr(tattr->ta_Name,
'.'))) *dot =
'\0';
1888 tattr = (
struct TextAttr *)data;
1890 if((dot = strrchr(tattr->ta_Name,
'.'))) *dot =
'\0';
1894 tattr = (
struct TextAttr *)data;
1896 if((dot = strrchr(tattr->ta_Name,
'.'))) *dot =
'\0';
1900 tattr = (
struct TextAttr *)data;
1902 if((dot = strrchr(tattr->ta_Name,
'.'))) *dot =
'\0';
1906 tattr = (
struct TextAttr *)data;
1908 if((dot = strrchr(tattr->ta_Name,
'.'))) *dot =
'\0';
1931 if((
nsoption_bool(bitmap_fonts) ==
true) && (data ==
false)) {
2017 if(tmp_node != NULL) {
2018 GetChooserNodeAttrs(tmp_node, CNA_Text, (ULONG *)&data, TAG_DONE);
2063#ifdef WITH_PDF_EXPORT
2110 if(rescan_fonts ==
true) {
2141 switch(
result & WMHI_CLASSMASK)
2143 case WMHI_CLOSEWINDOW:
2148 case WMHI_GADGETHELP:
2151 if((
result & WMHI_GADGETMASK) == 0) {
2162 switch(
result & WMHI_GADGETMASK)
2181 gow->
win,NULL,STRINGA_TextVal,NETSURF_HOMEPAGE,
2187 gow->
win, NULL, STRINGA_TextVal,
2193 gow->
win, NULL, STRINGA_TextVal,
2194 "about:blank", TAG_DONE);
2199 gow->
win, NULL, GA_Disabled, code, TAG_DONE);
2204 gow->
win, NULL, STRINGA_TextVal,
text, TAG_DONE);
2215 gow->
win,NULL, GA_Disabled, FALSE, TAG_DONE);
2217 gow->
win,NULL, GA_Disabled, TRUE, TAG_DONE);
2222 gow->
win,NULL, GA_Disabled, TRUE, TAG_DONE);
2224 gow->
win,NULL, GA_Disabled, TRUE, TAG_DONE);
2229 gow->
win,NULL, GA_Disabled, TRUE, TAG_DONE);
2231 gow->
win,NULL, GA_Disabled, FALSE, TAG_DONE);
2252 gow->
win,NULL, GA_Disabled, TRUE, TAG_DONE);
2254 gow->
win,NULL, GA_Disabled, TRUE, TAG_DONE);
2257 gow->
win,NULL, GA_Disabled, TRUE, TAG_DONE);
2259 gow->
win,NULL, GA_Disabled, TRUE, TAG_DONE);
2261 gow->
win,NULL, GA_Disabled, TRUE, TAG_DONE);
2265 gow->
win,NULL, GA_Disabled, FALSE, TAG_DONE);
2267 gow->
win,NULL, GA_Disabled, FALSE, TAG_DONE);
2270 gow->
win,NULL, GA_Disabled, TRUE, TAG_DONE);
2272 gow->
win,NULL, GA_Disabled, TRUE, TAG_DONE);
2274 gow->
win,NULL, GA_Disabled, FALSE, TAG_DONE);
2280 gow->
win,NULL, GA_Disabled, FALSE, TAG_DONE);
2282 gow->
win,NULL, GA_Disabled, FALSE, TAG_DONE);
2285 gow->
win,NULL, GA_Disabled, FALSE, TAG_DONE);
2287 gow->
win,NULL, GA_Disabled, FALSE, TAG_DONE);
2289 gow->
win,NULL, GA_Disabled, FALSE, TAG_DONE);
2324 gow->
win, NULL, GA_Disabled, code, TAG_DONE);
2346 list = malloc(
sizeof(
struct List));
2354 node = AllocChooserNode(CNA_Text, name, TAG_DONE);
2355 AddTail(list, node);
2372 if(websearchlist == NULL)
return;
2373 if(IsListEmpty(websearchlist))
return;
2374 node =
GetHead(websearchlist);
2379 FreeChooserNode(node);
2380 }
while((node = nnode));
2382 free(websearchlist);
struct Screen * ami_gui_get_screen(void)
Get a pointer to the screen NetSurf is running on.
nserror ami_gui_win_list_add(void *win, int type, const struct ami_win_event_table *table)
Add a window to the NetSurf window list (to enable event processing)
struct gui_window * ami_gui_get_active_gw(void)
Get a pointer to the gui_window which NetSurf considers to be the current/active one.
STRPTR ami_gui_get_screen_title(void)
Get the string for NetSurf's screen titlebar.
STRPTR ami_locale_langs(int *codeset)
void ami_gui_win_list_remove(void *win)
Remove a window from the NetSurf window list.
struct browser_window * ami_gui_get_browser_window(struct gui_window *gw)
Get browser window from gui_window.
void ami_gui_tabs_toggle_all(void)
struct MsgPort * ami_gui_get_shared_msgport(void)
Get shared message port.
void ami_help_open(ULONG node, struct Screen *screen)
bool ami_plot_screen_is_palettemapped(void)
void ami_update_pointer(struct Window *win, gui_pointer_shape shape)
Browser window creation and manipulation interface.
struct nsurl * browser_window_access_url(const struct browser_window *bw)
Access a browser window's URL.
nserror search_web_select_provider(const char *selection)
Change the currently selected web search provider.
ssize_t search_web_iterate_providers(ssize_t iter, const char **name)
Iterate the search providers, returning their names.
void ami_font_finiscanner(void)
void ami_font_initscanner(bool force, bool save)
void ami_font_savescanner(void)
void ami_file_req_free(void)
void ami_file_req_init(void)
void ami_font_setdevicedpi(int id)
nserror ami_nsoption_write(void)
void ami_utf8_free(char *ptr)
char * ami_to_utf8_easy(const char *string)
char * ami_utf8_easy(const char *string)
static char * download_dir
Current download directory.
@ GID_OPTS_STARTUP_NO_WIN
@ GID_OPTS_FONT_ANTIALIASING
@ GID_OPTS_HOMEPAGE_CURRENT
@ GID_OPTS_HOMEPAGE_DEFAULT
@ GID_OPTS_EXPORT_PASSWORD
@ GID_OPTS_EXPORT_NOIMAGES
@ GID_OPTS_EXPORT_COMPRESS
@ GID_OPTS_HOMEPAGE_BLANK
static CONST_STRPTR ditheropts[OPTS_MAX_DITHER]
@ GRP_OPTS_CONTENTBLOCKING
@ GRP_OPTS_CONTENTLANGUAGE
static CONST_STRPTR proxyopts[OPTS_MAX_PROXY]
static void ami_gui_opts_array_to_list(struct List *list, const char *array[], int type)
static CONST_STRPTR tabs[OPTS_MAX_TABS]
static void ami_gui_opts_close(void *w)
#define OPTS_MAX_THEMEPAGE
static STRPTR screenopts[OPTS_MAX_SCREEN]
static struct ami_gui_opts_window * gow
static void ami_gui_opts_free(struct ami_gui_opts_window *gow)
void ami_gui_opts_websearch_free(struct List *websearchlist)
static void ami_gui_opts_use(bool save)
static BOOL ami_gui_opts_event(void *w)
static void ami_gui_opts_setup(struct ami_gui_opts_window *gow)
static CONST_STRPTR nativebmopts[OPTS_MAX_NATIVEBM]
static CONST_STRPTR pagethemeopts[OPTS_MAX_THEMEPAGE]
static const struct ami_win_event_table ami_guiopts_table
static CONST_STRPTR gadlab[OPTS_LAST]
static void ami_gui_opts_free_list(struct List *list, int type)
static struct List * websearch_list
#define OPTS_MAX_NATIVEBM
struct List * ami_gui_opts_websearch(int *idx)
static CONST_STRPTR fontopts[6]
void ami_gui_opts_open(void)
Interface to platform-specific graphical user interface window operations.
const char * messages_get(const char *key)
Fast lookup of a message by key from the standard Messages hash.
Localised message support (interface).
NetSurf URL handling (interface).
const char * nsurl_access(const nsurl *url)
Access a NetSurf URL object as a string.
char * ASPrintf(const char *fmt,...)
struct Node * GetHead(struct List *list)
ULONG RefreshSetGadgetAttrs(struct Gadget *g, struct Window *w, struct Requester *r, Tag tag1,...)
struct Node * GetSucc(struct Node *node)
#define LIB_IS_AT_LEAST(B, V, R)
#define GETFONT_ScalableOnly
@ PLOT_FONT_FAMILY_SANS_SERIF
core web search facilities interface.
Interface to utility string handling.
Object * objects[GID_OPTS_LAST]
struct List proxyoptslist
struct List nativebmoptslist
struct List pagethemeoptslist
struct List ditheroptslist
struct ami_generic_window w
struct List screenoptslist
Option reading and saving interface.
#define nsoption_charp(OPTION)
Get the value of a string option.
#define nsoption_int(OPTION)
Get the value of an integer option.
#define nsoption_set_int(OPTION, VALUE)
set an integer option in the default table
#define nsoption_set_bool(OPTION, VALUE)
set a boolean option in the default table
#define nsoption_set_charp(OPTION, VALUE)
set string option in default table
#define nsoption_uint(OPTION)
Get the value of an unsigned integer option.
@ OPTION_HTTP_PROXY_AUTH_NONE
@ OPTION_HTTP_PROXY_AUTH_NTLM
@ OPTION_HTTP_PROXY_AUTH_BASIC
#define nsoption_bool(OPTION)
Get the value of a boolean option.
#define nsoption_set_uint(OPTION, VALUE)
set an unsigned integer option in the default table
static nserror text(const struct redraw_context *ctx, const struct plot_font_style *fstyle, int x, int y, const char *text, size_t length)
Text plotting.