Browse Source
refactoring & fixed excessive DESKTOP_REFRESH requests & begin adding webcam stuff
main
refactoring & fixed excessive DESKTOP_REFRESH requests & begin adding webcam stuff
main
mainSpi
3 years ago
24 changed files with 152 additions and 40 deletions
-
2src/main/java/greek/horse/client/ClientSocketManager.java
-
16src/main/java/greek/horse/models/FunctionTicket.java
-
3src/main/java/greek/horse/models/MonitorDesktopWrapper.java
-
6src/main/java/greek/horse/models/RequestFunctionType.java
-
42src/main/java/greek/horse/server/troyStructure/TroyPlebe.java
-
4src/main/java/greek/horse/server/troyStructure/request/RecurrentTroyRequest.java
-
4src/main/java/greek/horse/server/troyStructure/request/UniqueTroyRequest.java
-
1src/main/java/greek/horse/server/ui/controllers/HorseController.java
-
4src/main/java/greek/horse/server/ui/controllers/WebcamController.java
-
12src/main/java/greek/horse/server/ui/controllers/tasks/MonitorDesktopTask.java
-
49src/main/resources/scenes/webcam.fxml
-
BINtarget/classes/greek/horse/client/ClientSocketManager$1.class
-
BINtarget/classes/greek/horse/client/ClientSocketManager.class
-
BINtarget/classes/greek/horse/models/FunctionTicket.class
-
BINtarget/classes/greek/horse/models/MonitorDesktopWrapper.class
-
BINtarget/classes/greek/horse/models/RequestFunction.class
-
BINtarget/classes/greek/horse/models/RequestFunctionType.class
-
BINtarget/classes/greek/horse/server/troyStructure/TroyPlebe.class
-
BINtarget/classes/greek/horse/server/troyStructure/request/RecurrentTroyRequest.class
-
BINtarget/classes/greek/horse/server/troyStructure/request/UniqueTroyRequest.class
-
BINtarget/classes/greek/horse/server/ui/controllers/HorseController.class
-
BINtarget/classes/greek/horse/server/ui/controllers/tasks/MonitorDesktopTask$1.class
-
BINtarget/classes/greek/horse/server/ui/controllers/tasks/MonitorDesktopTask.class
-
49target/classes/scenes/webcam.fxml
@ -0,0 +1,4 @@ |
|||
package greek.horse.server.ui.controllers; |
|||
|
|||
public class WebcamController { |
|||
} |
@ -0,0 +1,49 @@ |
|||
<?xml version="1.0" encoding="UTF-8"?> |
|||
|
|||
<?import javafx.geometry.Insets?> |
|||
<?import javafx.geometry.Rectangle2D?> |
|||
<?import javafx.scene.control.ChoiceBox?> |
|||
<?import javafx.scene.image.ImageView?> |
|||
<?import javafx.scene.layout.BorderPane?> |
|||
<?import javafx.scene.layout.HBox?> |
|||
<?import javafx.scene.text.Font?> |
|||
<?import javafx.scene.text.Text?> |
|||
|
|||
<BorderPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="421.0" minWidth="664.0" prefHeight="421.0" prefWidth="664.0" xmlns="http://javafx.com/javafx/11.0.1" xmlns:fx="http://javafx.com/fxml/1"> |
|||
<center> |
|||
<ImageView fx:id="imageView" fitHeight="150.0" fitWidth="200.0" onMousePressed="#mousePressed" onMouseReleased="#MouseReleased" pickOnBounds="true" smooth="false" BorderPane.alignment="CENTER"> |
|||
<viewport> |
|||
<Rectangle2D /> |
|||
</viewport> |
|||
</ImageView> |
|||
</center> |
|||
<bottom> |
|||
<HBox alignment="CENTER" prefHeight="35.0" prefWidth="600.0" BorderPane.alignment="CENTER"> |
|||
<children> |
|||
<ChoiceBox fx:id="choiceBox" prefHeight="25.0" prefWidth="93.0"> |
|||
<HBox.margin> |
|||
<Insets right="20.0" /> |
|||
</HBox.margin> |
|||
</ChoiceBox> |
|||
<Text fx:id="statusCircleText" boundsType="VISUAL" strokeType="OUTSIDE" strokeWidth="0.0" text="●" textOrigin="CENTER" wrappingWidth="24.76416015625"> |
|||
<font> |
|||
<Font size="30.0" /> |
|||
</font> |
|||
<HBox.margin> |
|||
<Insets right="5.0" /> |
|||
</HBox.margin> |
|||
</Text> |
|||
<Text fx:id="fpsText" strokeType="OUTSIDE" strokeWidth="0.0" text="0"> |
|||
<font> |
|||
<Font size="14.0" /> |
|||
</font> |
|||
</Text> |
|||
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="FPS" textAlignment="RIGHT" wrappingWidth="27.984375"> |
|||
<font> |
|||
<Font size="14.0" /> |
|||
</font> |
|||
</Text> |
|||
</children> |
|||
</HBox> |
|||
</bottom> |
|||
</BorderPane> |
@ -0,0 +1,49 @@ |
|||
<?xml version="1.0" encoding="UTF-8"?> |
|||
|
|||
<?import javafx.geometry.Insets?> |
|||
<?import javafx.geometry.Rectangle2D?> |
|||
<?import javafx.scene.control.ChoiceBox?> |
|||
<?import javafx.scene.image.ImageView?> |
|||
<?import javafx.scene.layout.BorderPane?> |
|||
<?import javafx.scene.layout.HBox?> |
|||
<?import javafx.scene.text.Font?> |
|||
<?import javafx.scene.text.Text?> |
|||
|
|||
<BorderPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="421.0" minWidth="664.0" prefHeight="421.0" prefWidth="664.0" xmlns="http://javafx.com/javafx/11.0.1" xmlns:fx="http://javafx.com/fxml/1"> |
|||
<center> |
|||
<ImageView fx:id="imageView" fitHeight="150.0" fitWidth="200.0" onMousePressed="#mousePressed" onMouseReleased="#MouseReleased" pickOnBounds="true" smooth="false" BorderPane.alignment="CENTER"> |
|||
<viewport> |
|||
<Rectangle2D /> |
|||
</viewport> |
|||
</ImageView> |
|||
</center> |
|||
<bottom> |
|||
<HBox alignment="CENTER" prefHeight="35.0" prefWidth="600.0" BorderPane.alignment="CENTER"> |
|||
<children> |
|||
<ChoiceBox fx:id="choiceBox" prefHeight="25.0" prefWidth="93.0"> |
|||
<HBox.margin> |
|||
<Insets right="20.0" /> |
|||
</HBox.margin> |
|||
</ChoiceBox> |
|||
<Text fx:id="statusCircleText" boundsType="VISUAL" strokeType="OUTSIDE" strokeWidth="0.0" text="●" textOrigin="CENTER" wrappingWidth="24.76416015625"> |
|||
<font> |
|||
<Font size="30.0" /> |
|||
</font> |
|||
<HBox.margin> |
|||
<Insets right="5.0" /> |
|||
</HBox.margin> |
|||
</Text> |
|||
<Text fx:id="fpsText" strokeType="OUTSIDE" strokeWidth="0.0" text="0"> |
|||
<font> |
|||
<Font size="14.0" /> |
|||
</font> |
|||
</Text> |
|||
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="FPS" textAlignment="RIGHT" wrappingWidth="27.984375"> |
|||
<font> |
|||
<Font size="14.0" /> |
|||
</font> |
|||
</Text> |
|||
</children> |
|||
</HBox> |
|||
</bottom> |
|||
</BorderPane> |
Write
Preview
Loading…
Cancel
Save
Reference in new issue