another big refactor
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
package kernel.ui;
|
||||
|
||||
import util.Color;
|
||||
import lib.Color;
|
||||
|
||||
@:structInit class Pixel {
|
||||
public var char:String;
|
||||
|
||||
@@ -1,9 +1,8 @@
|
||||
package kernel.ui;
|
||||
|
||||
|
||||
import util.Pos;
|
||||
import util.Vec.Vec2;
|
||||
import util.Color;
|
||||
import lib.Pos;
|
||||
import lib.Vec.Vec2;
|
||||
import lib.Color;
|
||||
import kernel.ui.TermWriteable;
|
||||
|
||||
using tink.CoreApi;
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
package kernel.ui;
|
||||
|
||||
import util.Pos;
|
||||
using tink.CoreApi;
|
||||
import lib.Pos;
|
||||
import lib.Color;
|
||||
import lib.Vec.Vec2;
|
||||
|
||||
import util.Color;
|
||||
import util.Vec.Vec2;
|
||||
using tink.CoreApi;
|
||||
|
||||
/**
|
||||
Interface describing a terminal. E.g. the main computer screen or a external screen.
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
package kernel.ui;
|
||||
|
||||
import util.Pos;
|
||||
using tink.CoreApi;
|
||||
|
||||
import util.Vec.Vec2;
|
||||
import util.Color;
|
||||
import lib.Pos;
|
||||
import lib.Vec.Vec2;
|
||||
import lib.Color;
|
||||
import kernel.ui.TermWriteable;
|
||||
|
||||
using tink.CoreApi;
|
||||
|
||||
/**
|
||||
A term writer that can switch beetween its internal buffer and another termwriter.
|
||||
The other target is most of the time a real screen
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
package kernel.ui;
|
||||
|
||||
import util.Pos;
|
||||
using tink.CoreApi;
|
||||
|
||||
import util.Color;
|
||||
import lib.Pos;
|
||||
import lib.Color;
|
||||
import kernel.ButtonType;
|
||||
import util.Vec.Vec2;
|
||||
import lib.Vec.Vec2;
|
||||
import kernel.ui.TermWriteable;
|
||||
|
||||
using tink.CoreApi;
|
||||
|
||||
/**
|
||||
The main object you interact with when writing anything to the screen.
|
||||
**/
|
||||
|
||||
Reference in New Issue
Block a user