-
Notifications
You must be signed in to change notification settings - Fork 180
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
49 changed files
with
1,590 additions
and
755 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
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
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,22 @@ | ||
package gregtech.api.mui; | ||
|
||
import com.cleanroommc.modularui.api.drawable.IDrawable; | ||
import com.cleanroommc.modularui.widgets.ToggleButton; | ||
|
||
import java.util.function.Consumer; | ||
|
||
public interface StateOverlay { | ||
|
||
StateOverlay overlay(boolean selected, IDrawable... overlay); | ||
|
||
StateOverlay hoverOverlay(boolean selected, IDrawable... overlay); | ||
|
||
static ToggleButton cast(ToggleButton button, Consumer<StateOverlay> function) { | ||
function.accept((StateOverlay) button); | ||
return button; | ||
} | ||
|
||
static ToggleButton create(Consumer<StateOverlay> function) { | ||
return cast(new ToggleButton(), function); | ||
} | ||
} |
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,8 @@ | ||
package gregtech.api.mui; | ||
|
||
public interface UnboxFix { | ||
|
||
void gregTech$useDefaultTextColor(boolean b); | ||
|
||
void gregTech$useDefaultShadow(boolean b); | ||
} |
150 changes: 0 additions & 150 deletions
150
src/main/java/gregtech/api/mui/sync/FixedFluidSlotSH.java
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.