-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Apply generic structure to display manager
- Loading branch information
1 parent
d5b1475
commit ea9f2a4
Showing
6 changed files
with
90 additions
and
18 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,11 @@ | ||
package br.nullexcept.mux.app.applets; | ||
|
||
import br.nullexcept.mux.app.Applet; | ||
import br.nullexcept.mux.res.DisplayInformation; | ||
|
||
import java.util.List; | ||
|
||
public abstract class DisplayApplet extends Applet { | ||
public abstract DisplayInformation getPrimaryDisplay(); | ||
public abstract List<DisplayInformation> getDisplays(); | ||
} |
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,11 @@ | ||
package br.nullexcept.mux.res; | ||
|
||
import br.nullexcept.mux.graphics.Size; | ||
|
||
public interface DisplayInformation { | ||
Size getPhysicalSize(); | ||
Size getResolution(); | ||
String getMonitorId(); | ||
String getName(); | ||
float getMonitorScale(); | ||
} |
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