/*
-** TuiGeneralWin.c
-** This module supports general window behavior
-*/
+ ** TuiGeneralWin.c
+ ** This module supports general window behavior
+ */
#include <curses.h>
#include "defs.h"
/*
-** local support functions
-*/
+ ** local support functions
+ */
static void _winResize PARAMS ((void));
** PUBLIC FUNCTIONS
***********************/
/*
-** tuiRefreshWin()
-** Refresh the window
-*/
+ ** tuiRefreshWin()
+ ** Refresh the window
+ */
void
#ifdef __STDC__
tuiRefreshWin (
/*
-** tuiDelwin()
-** Function to delete the curses window, checking for null
-*/
+ ** tuiDelwin()
+ ** Function to delete the curses window, checking for null
+ */
void
#ifdef __STDC__
tuiDelwin (
/*
-** boxWin().
-*/
+ ** boxWin().
+ */
void
#ifdef __STDC__
boxWin (
box (winInfo->handle, '|', '-');
else
{
-/* wattron(winInfo->handle, A_DIM);*/
+/* wattron(winInfo->handle, A_DIM); */
box (winInfo->handle, ':', '.');
-/* wattroff(winInfo->handle, A_DIM);*/
+/* wattroff(winInfo->handle, A_DIM); */
}
}
/*
-** unhighlightWin().
-*/
+ ** unhighlightWin().
+ */
void
#ifdef __STDC__
unhighlightWin (
/*
-** highlightWin().
-*/
+ ** highlightWin().
+ */
void
#ifdef __STDC__
highlightWin (
/*
-** checkAndDisplayHighlightIfNecessay
-*/
+ ** checkAndDisplayHighlightIfNecessay
+ */
void
#ifdef __STDC__
checkAndDisplayHighlightIfNeeded (
/*
-** makeWindow().
-*/
+ ** makeWindow().
+ */
void
#ifdef __STDC__
makeWindow (
mvwaddstr (handle, 1, 1, winName (winInfo));
tuiRefreshWin (winInfo);
}
-#endif /*FOR_TEST*/
+#endif /*FOR_TEST */
}
return;
/*
-** tuiClearWin().
-** Clear the window of all contents without calling wclear.
-*/
+ ** tuiClearWin().
+ ** Clear the window of all contents without calling wclear.
+ */
void
#ifdef __STDC__
tuiClearWin (
/*
-** makeVisible().
-** We can't really make windows visible, or invisible. So we
-** have to delete the entire window when making it visible,
-** and create it again when making it visible.
-*/
+ ** makeVisible().
+ ** We can't really make windows visible, or invisible. So we
+ ** have to delete the entire window when making it visible,
+ ** and create it again when making it visible.
+ */
void
#ifdef __STDC__
makeVisible (
/*
-** makeAllVisible().
-** Makes all windows invisible (except the command and locator windows)
-*/
+ ** makeAllVisible().
+ ** Makes all windows invisible (except the command and locator windows)
+ */
void
#ifdef __STDC__
makeAllVisible (
/*
-** scrollWinForward
-*/
+ ** scrollWinForward
+ */
void
#ifdef __STDC__
scrollWinForward (
/*
-** scrollWinBackward
-*/
+ ** scrollWinBackward
+ */
void
#ifdef __STDC__
scrollWinBackward (
/*
-** refreshAll().
-** Function to refresh all the windows currently displayed
-*/
+ ** refreshAll().
+ ** Function to refresh all the windows currently displayed
+ */
void
#ifdef __STDC__
refreshAll (