mirror of
https://github.com/VARCem/PDCurses.git
synced 2026-09-23 15:25:01 +00:00
Empty implementations of the terminfo-based vidattr() and vidputs().
This commit is contained in:
4
curses.h
4
curses.h
@@ -18,7 +18,7 @@
|
||||
***************************************************************************
|
||||
*/
|
||||
/*
|
||||
$Id: curses.h,v 1.52 2005/12/16 23:27:47 wmcbrine Exp $
|
||||
$Id: curses.h,v 1.53 2005/12/17 00:26:16 wmcbrine Exp $
|
||||
*/
|
||||
/*
|
||||
*----------------------------------------------------------------------
|
||||
@@ -1778,6 +1778,8 @@ void PDC_CDECL traceon Args(( void ));
|
||||
int PDC_CDECL typeahead Args(( int ));
|
||||
char* PDC_CDECL unctrl Args(( chtype ));
|
||||
void PDC_CDECL use_env Args(( bool ));
|
||||
int PDC_CDECL vidattr Args(( chtype ));
|
||||
int PDC_CDECL vidputs Args(( chtype, int (*)(int) ));
|
||||
int PDC_CDECL vline Args(( chtype, int ));
|
||||
int PDC_CDECL waddch Args(( WINDOW*, const chtype ));
|
||||
int PDC_CDECL waddchnstr Args(( WINDOW*, const chtype*, int ));
|
||||
|
||||
@@ -407,8 +407,8 @@ FUNCTIONS
|
||||
ungetch getch
|
||||
untouchwin touch
|
||||
use_env util
|
||||
*** vidattr terminfo
|
||||
*** vidputs terminfo
|
||||
vidattr terminfo
|
||||
vidputs terminfo
|
||||
vline border
|
||||
*** vwprintw printw
|
||||
*** vwscanw scanw
|
||||
|
||||
@@ -123,6 +123,8 @@ EXPORTS
|
||||
typeahead
|
||||
unctrl
|
||||
use_env
|
||||
vidattr
|
||||
vidputs
|
||||
waddch
|
||||
waddchnstr
|
||||
waddstr
|
||||
|
||||
@@ -25,13 +25,15 @@
|
||||
|
||||
/* undefine any macros for functions defined in this module */
|
||||
#undef mvcur
|
||||
#undef vidattr
|
||||
#undef vidputs
|
||||
|
||||
/* undefine any macros for functions called by this module if in debug mode */
|
||||
#ifdef PDCDEBUG
|
||||
#endif
|
||||
|
||||
#ifdef PDCDEBUG
|
||||
char *rcsid_terminfo = "$Id: terminfo.c,v 1.1 2001/01/10 08:27:31 mark Exp $";
|
||||
char *rcsid_terminfo = "$Id: terminfo.c,v 1.2 2005/12/17 00:26:17 wmcbrine Exp $";
|
||||
#endif
|
||||
|
||||
/*man-start*********************************************************************
|
||||
@@ -40,6 +42,8 @@ char *rcsid_terminfo = "$Id: terminfo.c,v 1.1 2001/01/10 08:27:31 mark Exp $";
|
||||
|
||||
Synopsis:
|
||||
int mvcur(int oldrow, int oldcol, int newrow, int newcol)
|
||||
int vidattr(chtype attr);
|
||||
int vidputs(chtype attr, int (*putfunc)(int));
|
||||
|
||||
X/Open Description:
|
||||
The mvcur() function controls low-level cursor motion with
|
||||
@@ -91,3 +95,32 @@ int newcol;
|
||||
SP->curscol = newcol;
|
||||
return( OK );
|
||||
}
|
||||
/***********************************************************************/
|
||||
#ifdef HAVE_PROTO
|
||||
int vidattr(chtype attr)
|
||||
#else
|
||||
int vidattr(attr)
|
||||
chtype attr;
|
||||
#endif
|
||||
/***********************************************************************/
|
||||
{
|
||||
#ifdef PDCDEBUG
|
||||
if (trace_on) PDC_debug("vidattr() - called: attr %d\n", attr);
|
||||
#endif
|
||||
return ERR;
|
||||
}
|
||||
/***********************************************************************/
|
||||
#ifdef HAVE_PROTO
|
||||
int vidputs(chtype attr, int (*putfunc)(int))
|
||||
#else
|
||||
int vidputs(attr, putfunc)
|
||||
chtype attr;
|
||||
int (*putfunc)();
|
||||
#endif
|
||||
/***********************************************************************/
|
||||
{
|
||||
#ifdef PDCDEBUG
|
||||
if (trace_on) PDC_debug("vidputs() - called: attr %d\n", attr);
|
||||
#endif
|
||||
return ERR;
|
||||
}
|
||||
|
||||
@@ -182,6 +182,8 @@ EXPORTS typeahead
|
||||
EXPORTS unctrl
|
||||
EXPORTS untouchwin
|
||||
EXPORTS use_env
|
||||
EXPORTS vidattr
|
||||
EXPORTS vidputs
|
||||
EXPORTS vline
|
||||
EXPORTS waddch
|
||||
EXPORTS waddchnstr
|
||||
|
||||
@@ -175,6 +175,8 @@ typeahead
|
||||
unctrl
|
||||
untouchwin
|
||||
use_env
|
||||
vidattr
|
||||
vidputs
|
||||
vline
|
||||
waddch
|
||||
waddchnstr
|
||||
|
||||
Reference in New Issue
Block a user