fixup atari option names
This commit is contained in:
parent
a92e5930ff
commit
b918f63f3e
|
@ -131,7 +131,7 @@
|
|||
#include <math.h>
|
||||
#include <string.h>
|
||||
|
||||
define AMINS_SCROLLERPEN NUMDRIPENS
|
||||
#define AMINS_SCROLLERPEN NUMDRIPENS
|
||||
|
||||
#define NSA_KBD_SCROLL_PX 10
|
||||
|
||||
|
|
|
@ -943,7 +943,7 @@ void ami_gui_opts_open(void)
|
|||
LAYOUT_AddChild, gow->objects[GID_OPTS_DPI_Y] = IntegerObject,
|
||||
GA_ID, GID_OPTS_DPI_Y,
|
||||
GA_RelVerify, TRUE,
|
||||
INTEGER_Number, nsoption_int(amiga_ydpi),
|
||||
INTEGER_Number, nsoption_int(screen_ydpi),
|
||||
INTEGER_Minimum, 60,
|
||||
INTEGER_Maximum, 150,
|
||||
INTEGER_Arrows, TRUE,
|
||||
|
|
|
@ -318,7 +318,7 @@ static bool ft_font_init(void)
|
|||
/* Default font, Sans Serif */
|
||||
font_faces[FONT_FACE_SANS_SERIF] = NULL;
|
||||
font_faces[FONT_FACE_SANS_SERIF] = ft_new_face(
|
||||
nsoption_charp(atari_face_sans_serif),
|
||||
nsoption_charp(font_face_sans_serif),
|
||||
FONT_RESOURCE_PATH "ss.ttf",
|
||||
FONT_PKG_PATH FONT_FILE_SANS
|
||||
);
|
||||
|
@ -331,55 +331,55 @@ static bool ft_font_init(void)
|
|||
|
||||
/* Sans Serif Bold*/
|
||||
font_faces[FONT_FACE_SANS_SERIF_BOLD] =
|
||||
ft_new_face(nsoption_charp(atari_face_sans_serif_bold),
|
||||
ft_new_face(nsoption_charp(font_face_sans_serif_bold),
|
||||
FONT_RESOURCE_PATH "ssb.ttf",
|
||||
FONT_PKG_PATH FONT_FILE_SANS_BOLD);
|
||||
|
||||
/* Sans Serif Italic */
|
||||
font_faces[FONT_FACE_SANS_SERIF_ITALIC] =
|
||||
ft_new_face(nsoption_charp(atari_face_sans_serif_italic),
|
||||
ft_new_face(nsoption_charp(font_face_sans_serif_italic),
|
||||
FONT_RESOURCE_PATH "ssi.ttf",
|
||||
FONT_PKG_PATH FONT_FILE_SANS_OBLIQUE);
|
||||
|
||||
/* Sans Serif Italic Bold */
|
||||
font_faces[FONT_FACE_SANS_SERIF_ITALIC_BOLD] =
|
||||
ft_new_face(nsoption_charp(atari_face_sans_serif_italic_bold),
|
||||
ft_new_face(nsoption_charp(font_face_sans_serif_italic_bold),
|
||||
FONT_RESOURCE_PATH "ssib.ttf",
|
||||
FONT_PKG_PATH FONT_FILE_SANS_BOLD_OBLIQUE);
|
||||
|
||||
/* Monospaced */
|
||||
font_faces[FONT_FACE_MONOSPACE] =
|
||||
ft_new_face(nsoption_charp(atari_face_monospace),
|
||||
ft_new_face(nsoption_charp(font_face_monospace),
|
||||
FONT_RESOURCE_PATH "mono.ttf",
|
||||
FONT_PKG_PATH FONT_FILE_MONO);
|
||||
|
||||
/* Mospaced Bold */
|
||||
font_faces[FONT_FACE_MONOSPACE_BOLD] =
|
||||
ft_new_face(nsoption_charp(atari_face_monospace_bold),
|
||||
ft_new_face(nsoption_charp(font_face_monospace_bold),
|
||||
FONT_RESOURCE_PATH "monob.ttf",
|
||||
FONT_PKG_PATH FONT_FILE_MONO_BOLD);
|
||||
|
||||
/* Serif */
|
||||
font_faces[FONT_FACE_SERIF] =
|
||||
ft_new_face(nsoption_charp(atari_face_serif),
|
||||
ft_new_face(nsoption_charp(font_face_serif),
|
||||
FONT_RESOURCE_PATH "s.ttf",
|
||||
FONT_PKG_PATH FONT_FILE_SERIF);
|
||||
|
||||
/* Serif Bold */
|
||||
font_faces[FONT_FACE_SERIF_BOLD] =
|
||||
ft_new_face(nsoption_charp(atari_face_serif_bold),
|
||||
ft_new_face(nsoption_charp(font_face_serif_bold),
|
||||
FONT_RESOURCE_PATH "sb.ttf",
|
||||
FONT_PKG_PATH FONT_FILE_SERIF_BOLD);
|
||||
|
||||
/* Cursive */
|
||||
font_faces[FONT_FACE_CURSIVE] =
|
||||
ft_new_face(nsoption_charp(atari_face_cursive),
|
||||
ft_new_face(nsoption_charp(font_face_cursive),
|
||||
FONT_RESOURCE_PATH "cursive.ttf",
|
||||
FONT_PKG_PATH FONT_FILE_OBLIQUE);
|
||||
|
||||
/* Fantasy */
|
||||
font_faces[FONT_FACE_FANTASY] =
|
||||
ft_new_face(nsoption_charp(atari_face_fantasy),
|
||||
ft_new_face(nsoption_charp(font_face_fantasy),
|
||||
FONT_RESOURCE_PATH "fantasy.ttf",
|
||||
FONT_PKG_PATH FONT_FILE_FANTASY);
|
||||
|
||||
|
|
|
@ -208,8 +208,6 @@ int main( int argc, char **argv )
|
|||
die("NetSurf failed to initialise");
|
||||
}
|
||||
|
||||
netsurf_init(&argc, &argv, options, messages);
|
||||
|
||||
/* Initialise filename allocator */
|
||||
filename_initialise();
|
||||
|
||||
|
|
Loading…
Reference in New Issue