renamed Position. Something with haxe being stupid
This commit is contained in:
parent
94c3101f50
commit
7799de0865
@ -1,16 +1,16 @@
|
||||
package cc.periphs;
|
||||
|
||||
@:multiReturn
|
||||
extern class Position {
|
||||
extern class PagePosition {
|
||||
var x:Int;
|
||||
var y:Int;
|
||||
}
|
||||
|
||||
extern class Printer {
|
||||
public function write(text:String):Void; // Writes text to the current page.
|
||||
public function getCursorPos():Position; // Returns the current position of the cursor on the page.
|
||||
public function getCursorPos():PagePosition; // Returns the current position of the cursor on the page.
|
||||
public function setCursorPos(x:Int, y:Int):Void; // Sets the position of the cursor on the page.
|
||||
public function getPageSize():Position; // Returns the size of the current page.
|
||||
public function getPageSize():PagePosition; // Returns the size of the current page.
|
||||
public function newPage():Bool; // Starts printing a new page.
|
||||
public function endPage():Bool; // Finalizes printing of the current page and outputs it to the tray.
|
||||
public function setPageTitle(?title:String):Void; // Sets the title of the current page.
|
||||
|
Loading…
Reference in New Issue
Block a user