/*
* 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) 1988 AT&T */
/* All Rights Reserved */
/*
* Copyright (c) 1997, by Sun Microsystems, Inc.
* All rights reserved.
*/
/* A panels subsystem built on curses--Update the pile of panels */
#pragma ident "%Z%%M% %I% %E% SMI" /* SVr4.0 1.3 */
/*LINTLIBRARY*/
#include <stdlib.h>
#include <curses.h>
#include "private.h"
/*
* touch_top - Touch the line in all windows
* which is visible above a given line
*/
static void
{
do {
next_obs = 0;
if (next_obs)
} else {
return;
}
}
}
}
/*
* std_touch_top
* Touch the line in all windows which is visible above a given line.
* This routine is almost identical to touch_top, except that the "panel"
* is stdscr in this case. The "obscured" list is the list of panels.
*/
static void
{
do {
if (next_obs)
} else {
return;
}
}
}
}
/* touchup - Touch lines in obscuring panals as necessary */
static void
{
int screen_y, i;
/*
* for each line in the window which has been touched,
* touch lines in panals above it.
*/
}
}
/*
* std_touchup
* Touch lines in obscuring panals as necessary. This routine is
* almost exactly like touchup, except that the "panel" is stdscr,
* and the obscured list is the list of panels.
*/
static void
std_touchup(void)
{
int screen_y;
/*
* for each line in stdscr which has been touched,
* touch lines in panals above it.
*/
}
}
/* update_panels - Refresh the pile of panels */
void
update_panels(void)
{
/*
* if stdscr has been touched, touch the visible lines
* in each panel.
*/
if (is_wintouched(stdscr)) {
if (_Bottom_panel)
std_touchup();
(void) wnoutrefresh(stdscr);
}
/*
* Refresh panals starting at the bottom of the pile.
* If a line in a window has been touched, touch all
* corresponding lines in the obscuring windows.
*/
}
}
}