Esempio n. 1
0
 void ConsoleOut::Print(const char* Format, ...)
 {
     va_list ArgList;
     va_start(ArgList, Format);
     VPrint(Format, ArgList);
     va_end(ArgList);
 }
Esempio n. 2
0
File: menu.c Progetto: ralienpp/deco
static void drawmenu (struct menu *m)
{
    register i, reverse;

    VClearBox (1, m->col-1, m->hgh+3, m->wid+4);
    VSetBold ();
    VDrawBox (1, m->col, m->hgh+2, m->wid+2);
    VSetDim ();
    for (i=0; m->submenu[i].name; ++i)
        if (! m->submenu[i].name[0])
            VHorLine (i+2, m->col+2, m->wid-2);
    VSetNormal ();
    for (i=0; m->submenu[i].name; ++i) {
        if (! m->submenu[i].name[0])
            continue;
        reverse = 0;
        if (i == m->nsm)
            reverse = VStandOut ();
        else if (! m->submenu[i].active)
            VSetDim ();
        VMove (2+i, m->col+1);
        VPutChar (i==m->nsm && !reverse ? '[' : ' ');
        VPrint ("%c %-*s", m->submenu[i].tag ? '*' : ' ',
                m->wid-4, m->submenu[i].name);
        VPutChar (i==m->nsm && !reverse ? ']' : ' ');
        if (i == m->nsm)
            VStandEnd ();
        else if (! m->submenu[i].active)
            VSetNormal ();
    }
}
Esempio n. 3
0
 void ConsoleOut::Print(uint32_t Filter, const char* Format, ...)
 {
     va_list ArgList;
     va_start(ArgList, Format);
     VPrint(Filter, Format, ArgList);
     va_end(ArgList);
 }
Esempio n. 4
0
void OutputStream::Print(const char *format, ...)
{
	va_list argList;
	va_start(argList, format);
	VPrint(format, argList);
	va_end(argList);
}
Esempio n. 5
0
void PrintQueryResult(int ego, char **caption, char **result, int row, int col) {
	if (ego)
		VPrint(caption, result, row, col);
	else
		HPrint(caption, result, row, col);
	PrintSummary(row);
}
Esempio n. 6
0
/* Write to UEFI ConOut */
void efi_printout(
    CHAR16   *fmt,
    ...
    )
{
    va_list     args;
    va_start (args, fmt);
    VPrint (fmt, args);
    va_end (args);
}
Esempio n. 7
0
	static inline int Error(const wchar_t *fmt, T... args){
		return VPrint(fmt, true, args...);
	}
Esempio n. 8
0
	static inline int Output(const wchar_t *fmt, T... args){
		return VPrint(fmt, false, args...);
	}
Esempio n. 9
0
 void ConsoleOut::VPrint(const char* Format, va_list& argList)
 {
     VPrint(BEHAVIAC_LOG_INFO, Format, argList);
 }
Esempio n. 10
0
void OS::Print(const char* format, ...) {
  va_list args;
  va_start(args, format);
  VPrint(format, args);
  va_end(args);
}
Esempio n. 11
0
 void CLogger::VPrint(const char* Format, va_list& argList) {
     VPrint(BEHAVIAC_LOG_INFO, Format, argList);
 }
Esempio n. 12
0
 void CLogger::Print(ETagLogLevel Filter, const char* Format, ...) {
     va_list ArgList;
     va_start(ArgList, Format);
     VPrint(Filter, Format, ArgList);
     va_end(ArgList);
 }