Andrea Odetti
a7e75078bb
Add support for Open/Closed Apple with Left/Right Ctrl.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-06-18 13:56:14 +01:00
Andrea Odetti
31340919de
Move Qt UI to private member.
...
This way it is clear which variables comes from the ui component.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2019-11-30 15:48:48 +00:00
Andrea Odetti
54057134cb
Remove warnings.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2019-11-30 11:20:59 +00:00
Andrea Odetti
4792c2eeed
Remove custon video processor in favour of AppleWin's.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2019-11-22 20:32:32 +00:00
Andrea Odetti
d18269fb2d
First (succesful) attempt at using NTSC code in Linux.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2019-11-20 21:23:27 +00:00
Andrea Odetti
4d0af5d3ca
Added a custom version of QPainter which seems to perform much better 20%->11% CPU.
...
It only works if all images involved have the same format.
Using some typedefs, one can revert to the old QPixmap behaviour.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2019-11-16 17:00:35 +00:00
Andrea Odetti
269cb6cfd1
Take screenshot.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2017-10-17 21:14:36 +01:00
Andrea Odetti
00360bbe64
Add support for Mouse.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2017-10-14 19:18:44 +01:00
Andrea Odetti
416b461291
Finally some results in the optimisation of CPU usage:
...
1) Do not call Video::paint() with a scale != 1:1
2) For this reason we need to draw elsewhere
3) and finally scale the whole thing just once to the widget
4) QPixmap vs QImage: cant see the difference
5) QOpenGLWidget is 2x faster than QWidget but it has some flickering when resizing
On my i5-4460 CPU @ 3.20GHz with x2 zoom
TEXT: 4-5% CPU usage
HGR: 6-7% CPU usage
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2017-10-14 19:18:44 +01:00
Andrea Odetti
c1b7d96dd1
Add (slow) support for HiRes graphics.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2017-10-14 19:18:44 +01:00
Andrea Odetti
fe0730c4d3
Various improvements.
...
Rudimentary keyboard input.
Resize/Zoom video.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2017-10-14 19:18:44 +01:00
Andrea Odetti
c9fb116464
Various improvements over the QLabel based approach.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2017-10-14 19:18:44 +01:00
Andrea Odetti
facf9aec25
Initial draft of a QT frontend.
...
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2017-10-14 19:18:44 +01:00