now runs much better with lower power systems as we refactored code to firstly rule out double invokelaters, and we optimized the capture loop iteslf!
and we introduced a ShowError class which will be refactored and used quite thoroughly!
Signed-off-by: rattatwinko <seppmutterman@gmail.com>
changed:
/ SwingIFrame ; Some new methodes for setting bg color, and fullscreen, keybinds are "F11" and "B"
/ WebcamCaptureLoop.java ; Safety is key!
---
rattatwinko
add:
+ CameraPanel ; To make life easier for coders
+ SwingIFrame ; Which is now our main UI component
+ VideoRecorder ; A helper Class for SwingIFrame to record cameras!
changed:
/ SwingCCTVManager ; changes for the new UI Component
deprecation:
/-/ AutoGainProcessor ; cause it isnt needed anymore, back then this was needed cause we opened the webcams manually (color wise)
---
rattatwinko
modified:
/ SwingCCTVManager ; Error Pane, refactoring
/ WebcamCaptureLoop ; cleanup method for closing cameras reliably, and some MessageDialogs for error handling (just fails lol)
/ SwingCameraWindow ; refactor some legacy code into a "modern" lambda function , Message Dialog for error handling , and some g2d stuff (paintComponent)
removed:
- CameraRenderer.java ; Deprecated Component, was used for SWT GL Surfaces. We dont do that now!
---
rattatwinko
- CameraWindow.java
- CCTVManager.java
changed :
/ Main.java (refactoring for classes)
/ pom.xml (went SWT Free)
/ readme.md ; some changes to dep. and future plans section
Now this project does not rely on SWT (Eclipse) it now uses Swing, which is plenty and is protable
+ SwingCameraWindow
+ SwingCCTVManager
---
fixes in WebcamCaptureLoop.java : Include thread safety, and some more stuff which is needed for Swing components.
Planning on deprecating SWT in general