version 0.5.0_alpha
git-svn-id: svn://db.shs.com.ru/pip@8 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5
This commit is contained in:
@@ -1,22 +1,4 @@
|
||||
#include "piconsole.h"
|
||||
#include "piscreen.h"
|
||||
#include "piscreentiles.h"
|
||||
|
||||
extern PIConsole console;
|
||||
|
||||
inline void header(int cols = 1) {
|
||||
console.addString("PIP System Daemon (PIP " + PIPVersion() + ")", 1, PIConsole::Yellow | PIConsole::Inverse);
|
||||
for (int i = 2; i <= cols; ++i)
|
||||
console.addString(" ", i, PIConsole::Yellow | PIConsole::Inverse);
|
||||
}
|
||||
|
||||
inline void startTab(int cols = 1) {
|
||||
console.pause(true);
|
||||
console.clearTab(0);
|
||||
console.lock();
|
||||
header(cols);
|
||||
}
|
||||
|
||||
inline void finishTab() {
|
||||
console.unlock();
|
||||
console.pause(false);
|
||||
console.update();
|
||||
}
|
||||
using namespace PIScreenTypes;
|
||||
|
||||
Reference in New Issue
Block a user