Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
8 changed files
with
938 additions
and
606 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,28 @@ | ||
| package openperipheral.core.interfaces; | ||
|
|
||
| import dan200.computer.api.ILuaObject; | ||
|
|
||
| public interface ISurface { | ||
|
|
||
| public abstract Short getKeyForDrawable(IDrawable d); | ||
|
|
||
| public abstract void setDeleted(IDrawable d); | ||
|
|
||
| public abstract void markChanged(IDrawable d, int slot); | ||
|
|
||
| public abstract ILuaObject addBox(int x, int y, int width, int height, | ||
| int color, double alpha) throws InterruptedException; | ||
|
|
||
| public abstract ILuaObject addGradientBox(int x, int y, int width, | ||
| int height, int color, double alpha, int color2, double alpha2, | ||
| byte gradient) throws InterruptedException; | ||
|
|
||
| public abstract ILuaObject getById(int id); | ||
|
|
||
| public abstract ILuaObject addText(int x, int y, String text, int color); | ||
|
|
||
| public abstract Short[] getAllIds(); | ||
|
|
||
| public abstract void clear(); | ||
|
|
||
| } |
Oops, something went wrong.