-
-
Notifications
You must be signed in to change notification settings - Fork 3
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
25 changed files
with
238 additions
and
115 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
1 change: 0 additions & 1 deletion
1
...in/java/com/spinyowl/spinygui/backend/core/event/handler/SystemCursorPosEventHandler.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
18 changes: 18 additions & 0 deletions
18
...java/com/spinyowl/spinygui/backend/core/event/processor/SystemEventProcessorProvider.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,18 @@ | ||
package com.spinyowl.spinygui.backend.core.event.processor; | ||
|
||
public final class SystemEventProcessorProvider { | ||
private SystemEventProcessorProvider() { | ||
} | ||
|
||
public static SystemEventProcessor getSystemEventProcessor() { | ||
return SEPPH.systemEventProcessor; | ||
} | ||
|
||
public static void setSystemEventProcessor(SystemEventProcessor systemEventProcessor) { | ||
SystemEventProcessorProvider.SEPPH.systemEventProcessor = systemEventProcessor; | ||
} | ||
|
||
private static final class SEPPH { | ||
private static SystemEventProcessor systemEventProcessor = new DefaultSystemEventProcessor(); | ||
} | ||
} |
2 changes: 1 addition & 1 deletion
2
backend.core/src/main/java/com/spinyowl/spinygui/backend/core/renderer/Renderer.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
18 changes: 18 additions & 0 deletions
18
backend.core/src/main/java/com/spinyowl/spinygui/backend/core/renderer/RendererProvider.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,18 @@ | ||
package com.spinyowl.spinygui.backend.core.renderer; | ||
|
||
public final class RendererProvider { | ||
private static Renderer renderer; | ||
|
||
private RendererProvider() { | ||
} | ||
|
||
public static Renderer getRenderer() { | ||
return renderer; | ||
} | ||
|
||
public static void setRenderer(Renderer renderer) { | ||
if (renderer != null) { | ||
RendererProvider.renderer = renderer; | ||
} | ||
} | ||
} |
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
1 change: 0 additions & 1 deletion
1
...end.opengl32/src/main/java/com/spinyowl/spinygui/backend/opengl32/api/WindowOpenGL32.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
22 changes: 22 additions & 0 deletions
22
...d.opengl32/src/main/java/com/spinyowl/spinygui/backend/opengl32/renderer/NvgRenderer.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,22 @@ | ||
package com.spinyowl.spinygui.backend.opengl32.renderer; | ||
|
||
import com.spinyowl.spinygui.backend.core.context.Context; | ||
import com.spinyowl.spinygui.backend.core.renderer.Renderer; | ||
import com.spinyowl.spinygui.core.api.Frame; | ||
|
||
public class NvgRenderer implements Renderer { | ||
@Override | ||
public void initialize() { | ||
|
||
} | ||
|
||
@Override | ||
public void render(Frame f, Context c) { | ||
|
||
} | ||
|
||
@Override | ||
public void destroy() { | ||
|
||
} | ||
} |
Oops, something went wrong.