/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License, Version 1.0 only
* (the "License"). You may not use this file except in compliance
* with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* See the License for the specific language governing permissions
* and limitations under the License.
*
* When distributing Covered Code, include this CDDL HEADER in each
* file and include the License file at usr/src/OPENSOLARIS.LICENSE.
* If applicable, add the following below this CDDL HEADER, with the
* fields enclosed by brackets "[]" replaced with your own identifying
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
/*
* Copyright (c) 1995, by Sun Microsystems, Inc.
* All rights reserved.
*/
#pragma ident "%Z%%M% %I% %E% SMI"
/*
* slk.c
*
* XCurses Library
*
* Copyright 1990, 1995 by Mortice Kern Systems Inc. All rights reserved.
*
*/
#if M_RCSID
#ifndef lint
#endif
#endif
#include <private.h>
/*
* Flag for initialisation soft label keys once setupterm() has been called.
*/
int
{
#ifdef M_CURSES_TRACE
#endif
}
}
int
{
#ifdef M_CURSES_TRACE
#endif
}
int
{
#ifdef M_CURSES_TRACE
#endif
}
int
{
#ifdef M_CURSES_TRACE
#endif
}
int
{
#ifdef M_CURSES_TRACE
#endif
}
int
{
#ifdef M_CURSES_TRACE
#endif
}
int
{
#ifdef M_CURSES_TRACE
#endif
}
int
{
#ifdef M_CURSES_TRACE
#endif
}
int
{
#ifdef M_CURSES_TRACE
__m_trace("slk_touch(void)");
#endif
}
int
{
#ifdef M_CURSES_TRACE
__m_trace("slk_clear(void)");
#endif
} else if (label_off != (char *) 0) {
}
}
int
{
#ifdef M_CURSES_TRACE
__m_trace("slk_clear(void)");
#endif
for (i = 0; i < 8; ++i) {
(void) slk_set(
);
}
}
code = slk_refresh();
} else if (label_on != (char *) 0) {
}
}
int
{
#ifdef M_CURSES_TRACE
__m_trace("slk_noutrefresh(void)");
#endif
}
int
{
#ifdef M_CURSES_TRACE
__m_trace("slk_refresh(void)");
#endif
}
char *
{
#ifdef M_CURSES_TRACE
#endif
}
int
{
#ifdef M_CURSES_TRACE
#endif
}
int
{
short (*k)[2];
/*
* These label start columns assume 80 columns in order to
* fit 8 _slk._labels of 8 columns.
*/
{ 0, 10, 20, 31, 41, 52, 62, 72 },
{ 0, 10, 20, 30, 42, 52, 62, 72 },
};
#ifdef M_CURSES_TRACE
#endif
goto error1;
/* Copy the characters that fill the first 8 columns of the label. */
goto error1;
break;
}
*wp = '\0';
goto error1;
/* Remember the new label. */
goto error1;
/* Write the justified label into the slk window. */
switch (justify) {
case 0:
break;
case 1:
i += width / 2;
break;
case 2:
i = i + 8 - width;
break;
}
} else if (plab_norm != (char *) 0) {
(void) tputs(
0L, 0L, 0L, 0L, 0L, 0L, 0L
);
} else if (pkey_plab != (char *) 0) {
/* Lookup multibyte sequence for the function key. */
;
(void) tputs(
(long) mbs, 0L, 0L, 0L, 0L, 0L, 0L
);
}
}
}