-
Notifications
You must be signed in to change notification settings - Fork 2
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
Tim De Mey
committed
Dec 30, 2020
1 parent
be44301
commit fcd7ffb
Showing
9 changed files
with
84 additions
and
80 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
2 changes: 0 additions & 2 deletions
2
...work/src/main/java/src/gent/timdemey/cards/model/entities/commands/DialogCommandBase.java
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
23 changes: 23 additions & 0 deletions
23
...mework/src/main/java/src/gent/timdemey/cards/services/contract/descriptors/PanelType.java
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,23 @@ | ||
package gent.timdemey.cards.services.contract.descriptors; | ||
|
||
public enum PanelType | ||
{ | ||
/** | ||
* Root panel, there is always exactly 1 showing in the frame. Cannot | ||
* be closed or hidden except when showing a different root panel. | ||
*/ | ||
Root, | ||
|
||
/** | ||
* Dialog panel, can be stacked on top of each other. When closing one, | ||
* we return to the topmost open dialog or the root panel. A dialog must | ||
* be explicitly closed, and blocks input to any panels below it. | ||
*/ | ||
Dialog, | ||
|
||
/** | ||
* Standalone panel that can always be shown e.g. a breadcrumb or a HUD. | ||
* Doesn't block input to other panels. Can be shown permanently. | ||
*/ | ||
Overlay | ||
} |
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 |
---|---|---|
|
@@ -6,7 +6,6 @@ | |
|
||
import javax.swing.JPanel; | ||
|
||
|
||
public class RootPanel extends JPanel | ||
{ | ||
private final BufferedImage tile; | ||
|
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