1
1

Minor fixes for the XV port to make it compile (hacks for the viewer are

not submitted because they are very brutal)
Этот коммит содержится в:
Pavel Roskin 1998-09-17 18:26:04 +00:00
родитель 699d35b586
Коммит 39f1ef7136
4 изменённых файлов: 33 добавлений и 7 удалений

Просмотреть файл

@ -1,3 +1,9 @@
Thu Sep 17 19:12:25 1998 Pavel Roskin <pavel_roskin@geocities.com>
* xv/Makefile.in, xv/xvmain.c, xv/xvscreen.c: Minor fixes to
make compilation of the XV port possible (currently without
viewer).
Thu Sep 17 07:32:23 1998 Norbert Warmuth <k3190@fh-sw.de> Thu Sep 17 07:32:23 1998 Norbert Warmuth <k3190@fh-sw.de>
* Makefile.in: After creating symlinks invoke another instance of * Makefile.in: After creating symlinks invoke another instance of

Просмотреть файл

@ -77,10 +77,10 @@ mx: @LIBVFS@ $(OBJS) @LIBSLANG@ @LIBEDIT_A@
$(CC) $(LDFLAGS) -o mxc $(OBJS) -L../vfs -L../slang -L../edit $(EXTRALIBS) $(LIBS) $(CC) $(LDFLAGS) -o mxc $(OBJS) -L../vfs -L../slang -L../edit $(EXTRALIBS) $(LIBS)
touch mx touch mx
libvfs.a: @LIBVFS@:
cd ../vfs; $(MAKE) libvfs.a cd ../vfs; $(MAKE) @LIBVFS@
@PCENTRULE@ -$(RMF) libvfs.a @PCENTRULE@ -$(RMF) @LIBVFS@
@PCENTRULE@ $(LN_S) ../vfs/libvfs.a . @PCENTRULE@ $(LN_S) ../vfs/@LIBVFS@ .
libmcslang.a: libmcslang.a:
cd ../slang; $(MAKE) libmcslang.a cd ../slang; $(MAKE) libmcslang.a
@ -119,7 +119,7 @@ TAGS: $(XVSRCS)
etags $(XVSRCS) etags $(XVSRCS)
clean: clean:
$(RMF) @mxc@ *.o core a.out mx libvfs.a libedit.a libmcslang.a $(RMF) @mxc@ *.o core a.out mx @LIBVFS@ libedit.a libmcslang.a
realclean: clean realclean: clean
$(RMF) .depend $(RMF) .depend

Просмотреть файл

@ -1096,6 +1096,11 @@ x_focus_widget (Widget_Item *p)
{ {
} }
void
x_unfocus_widget (Widget_Item *p)
{
}
void void
edition_post_exec (void) edition_post_exec (void)
{ {
@ -1105,3 +1110,9 @@ void
edition_pre_exec (void) edition_pre_exec (void)
{ {
} }
/* This is only used by the editor, so we provide a dummy implementation */
void
try_alloc_color_pair (char *str, char *str2)
{
}

Просмотреть файл

@ -1168,7 +1168,7 @@ void xv_panel_split_proc (Xv_Window origview, Xv_Window newview, int pos)
free (rect); free (rect);
} }
int x_create_panel (Dlg_head *h, widget_data parent, WPanel *panel) void x_create_panel (Dlg_head *h, widget_data parent, WPanel *panel)
{ {
Canvas canvas = Canvas canvas =
(Canvas) x_get_parent_object ((Widget *) panel, parent); (Canvas) x_get_parent_object ((Widget *) panel, parent);
@ -1224,7 +1224,11 @@ int x_create_panel (Dlg_head *h, widget_data parent, WPanel *panel)
panel->item_height = 16; panel->item_height = 16;
panel->item_height += 2 * PANELITEMBORDER; panel->item_height += 2 * PANELITEMBORDER;
x_fill_panel (panel); x_fill_panel (panel);
return 1; }
void
x_panel_destroy (WPanel *panel)
{
} }
void x_panel_set_size (int idx) void x_panel_set_size (int idx)
@ -1234,3 +1238,8 @@ void x_panel_set_size (int idx)
void set_attr (int h, int m) void set_attr (int h, int m)
{ {
} }
void
repaint_file (WPanel *panel, int file_index, int move, int attr, int isstatus)
{
}