/usr/share/doc/xviewg/examples/extensions/logo.c is in xview-examples 3.2p1.4-28.1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 | /* logo.c -- demonstrate the use of the logo package. */
#include <xview/xview.h>
#include <xview/cms.h>
#include "logo.h"
main(argc, argv)
char *argv[];
{
Frame frame;
Cms cms;
Logo logo;
xv_init(XV_INIT_ARGC_PTR_ARGV, &argc, argv, NULL);
frame = (Frame)xv_create(NULL, FRAME, NULL);
cms = xv_create(NULL, CMS,
CMS_SIZE, 2,
CMS_NAMED_COLORS, "powder blue", "maroon", NULL,
NULL);
logo = xv_create(frame, LOGO,
XV_WIDTH, 100,
XV_HEIGHT, 100,
WIN_CMS, cms,
NULL);
window_fit(frame);
xv_main_loop(frame);
}
|