-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This reverts commit b8103a2.
- Loading branch information
Showing
56 changed files
with
1,365 additions
and
946 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 was deleted.
Oops, something went wrong.
17 changes: 17 additions & 0 deletions
17
src/main/kotlin/net/prismclient/aether/ui/callback/UICoreCallback.kt
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,17 @@ | ||
package net.prismclient.aether.ui.callback | ||
|
||
/** | ||
* [UICoreCallback] is an interface for getting data that | ||
* is not available to aether by default. | ||
* | ||
* @author sen | ||
* @since 5/13/2022 | ||
*/ | ||
interface UICoreCallback { | ||
/** | ||
* Returns the color of the pixel at the given position | ||
* | ||
* @return RGB(A) formatted int | ||
*/ | ||
fun getPixelColor(x: Float, y: Float): Int | ||
} |
Oops, something went wrong.