mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-25 13:37:02 +03:00
Allow the size of the web search gadget to be user-set
This commit is contained in:
parent
912b9de928
commit
40076ea422
1
amiga/dist/NetSurf.guide
vendored
1
amiga/dist/NetSurf.guide
vendored
@ -48,6 +48,7 @@ There are a couple of Amiga-specific options which can only be changed directly
|
||||
@{b}redraw_tile_size_x@{ub}/@{b}redraw_tile_size_y@{ub} Specify the size of the off-screen bitmap. Higher will speed up redraws at the expense of memory. 0 disables tiling (will use a bitmap at least the size of the screen NetSurf is running on)
|
||||
@{b}font_antialiasing@{ub} Switch text anti-aliasing on or off. Defaults to on in true-colour modes, but text rendering performance can be improved by setting to 0.
|
||||
@{b}window_simple_refresh@{ub} If set to 1, NetSurf will use SimpleRefresh rather than SmartRefresh windows. These have slower redraw but use less memory. Note that this setting has no noticeable effect if compositing is enabled. Defaults to 0 (SmartRefresh)
|
||||
@{b}web_search_width@{ub} Defaults to 0. Larger values will increase the size of the web search gadget next to the URL bar.
|
||||
|
||||
@{b}dithering_quality@{ub} Specify the dithering quality from all values supported by picture.datatype. Currently these are 0=None, 1=Normal, 2=High quality. Other values are undefined. This is only used when NetSurf is running in palette-mapped mode.
|
||||
@{b}mask_alpha@{ub} Threshold to use when determining which alpha values to convert to full transparency (0 - 255, where 255 will convert even opaque pixels to transparent). Defaults to 50 (0x32). This is only used in palette-mapped modes where alpha blending is not currently supported.
|
||||
|
@ -3064,7 +3064,7 @@ struct gui_window *gui_create_browser_window(struct browser_window *bw,
|
||||
GA_HintInfo, g->shared->helphints[GID_SEARCHSTRING],
|
||||
StringEnd,
|
||||
LayoutEnd,
|
||||
CHILD_WeightedWidth, 0,
|
||||
CHILD_WeightedWidth, nsoption_int(web_search_width),
|
||||
LAYOUT_AddChild, g->shared->objects[GID_THROBBER] = SpaceObject,
|
||||
GA_ID,GID_THROBBER,
|
||||
SPACE_MinWidth,throbber_width,
|
||||
|
@ -74,6 +74,7 @@
|
||||
int cookies_window_ypos; \
|
||||
int cookies_window_xsize; \
|
||||
int cookies_window_ysize; \
|
||||
int web_search_width; \
|
||||
int cairo_renderer; \
|
||||
bool direct_render; \
|
||||
bool window_simple_refresh; \
|
||||
@ -136,6 +137,7 @@
|
||||
.cookies_window_ypos = 0, \
|
||||
.cookies_window_xsize = 0, \
|
||||
.cookies_window_ysize = 0, \
|
||||
.web_search_width = 0, \
|
||||
.cairo_renderer = 0, \
|
||||
.direct_render = false, \
|
||||
.window_simple_refresh = false, \
|
||||
@ -197,6 +199,7 @@
|
||||
{ "cookies_window_ypos", OPTION_INTEGER, &nsoptions.cookies_window_ypos}, \
|
||||
{ "cookies_window_xsize", OPTION_INTEGER, &nsoptions.cookies_window_xsize}, \
|
||||
{ "cookies_window_ysize", OPTION_INTEGER, &nsoptions.cookies_window_ysize}, \
|
||||
{ "web_search_width", OPTION_INTEGER, &nsoptions.web_search_width}, \
|
||||
{ "cairo_renderer", OPTION_INTEGER, &nsoptions.cairo_renderer}, \
|
||||
{ "direct_render", OPTION_BOOL, &nsoptions.direct_render}, \
|
||||
{ "window_simple_refresh", OPTION_BOOL, &nsoptions.window_simple_refresh}, \
|
||||
|
Loading…
Reference in New Issue
Block a user