|
|
|
@ -20,6 +20,9 @@ extern "C" int main() {
|
|
|
|
// CGA::show(i, i, i+0x30, CGA::Attribute());
|
|
|
|
// CGA::show(i, i, i+0x30, CGA::Attribute());
|
|
|
|
|
|
|
|
|
|
|
|
//test textwindow implemantation
|
|
|
|
//test textwindow implemantation
|
|
|
|
|
|
|
|
TextWindow tw_global = TextWindow(0, 80, 0, 25, true);
|
|
|
|
|
|
|
|
tw_global.reset(' ', CGA::Attribute(CGA::LIGHT_GREEN, CGA::BLUE, false));
|
|
|
|
|
|
|
|
|
|
|
|
TextWindow tw = TextWindow(0, 10, 0, 10, true);
|
|
|
|
TextWindow tw = TextWindow(0, 10, 0, 10, true);
|
|
|
|
tw.reset();
|
|
|
|
tw.reset();
|
|
|
|
tw.setPos(0,0);
|
|
|
|
tw.setPos(0,0);
|
|
|
|
|