Stephen Anthony
e01321fbea
Refactor Dialog class containing fonts:
...
- the previous code has a _font pointer in derived classes, and a _font reference in the base class; this causes name collisions
- the Dialog class now takes a font reference, which is used throughout the hierarchy
- this simplifies certain code (setTitle vs. initTitle) and also eliminates clang warnings
2018-02-06 19:26:49 -03:30
Stephen Anthony
2874a7c504
Fixed some compiler warnings from clang.
...
Refactored Stack::replace() to use Stack::applyAll() lambda instead.
2018-02-06 15:11:16 -03:30
thrust26
d24934d010
spelling
2018-02-06 13:14:40 +01:00
thrust26
ad1d37304e
aligned button heights and widths
2018-02-06 13:12:21 +01:00
thrust26
564e014620
removed FLAT_UI code from TimeLineWidget
...
added toggle mode button to TimeMachineDialog
2018-02-06 12:46:27 +01:00
thrust26
1fa00f2372
initial wind when entering TM dialog causes message now
...
(TODO: try to propagate key into dialog instead)
2018-02-05 19:57:41 +01:00
Christian Speckner
f7c445fb7c
Merge branch 'release/5.1'
2018-02-04 23:48:45 +01:00
Stephen Anthony
6d16790ce8
Fixed minor warning from Xcode.
2018-02-04 16:14:39 -03:30
Stephen Anthony
997751b64f
When TimeLineWidget is empty, it now displays as such.
2018-02-04 12:14:23 -03:30
Stephen Anthony
f29dcfece1
Refactored TimeLineWidget to use uInt32 throughout:
...
- this fixes issues with signed vs. unsigned in some areas
- it also self-documents, in that the slider should never use negative values
2018-02-04 11:15:42 -03:30
thrust26
99e31ac158
fixed time bar issue with no states
2018-02-04 10:14:58 +01:00
Stephen Anthony
de56f9cff5
Merge branch 'release/5.1' of github.com:stella-emu/stella into release/5.1
2018-02-03 20:54:05 -03:30
Stephen Anthony
77f2c478a0
Fixed warnings from Xcode (some pretty big issues were caught here)
2018-02-03 20:44:46 -03:30
Stephen Anthony
974c686366
Fixed compiles warnings in VS 2017.
2018-02-03 19:52:14 -03:30
Stephen Anthony
26096fcc47
Fixed some warnings, and updates for 5.1 release.
2018-02-03 19:29:27 -03:30
Stephen Anthony
6c5bddcdf8
Time Machine dialog now resizes correctly:
...
- in 2x mode, it takes up the maximum amount of space
- in larger modes, it takes up the same relative amount of space: ~80% width
2018-02-03 17:27:52 -03:30
thrust26
f4db8e4816
fixed zoom settings via hotkey (made persistent again)
2018-02-02 22:51:22 +01:00
thrust26
9d72ae2c4e
reordered OptionsDialog to match next release
...
updated docs accordingly
2018-02-02 15:55:27 +01:00
thrust26
cbeeda6f55
added tickmarks to TimeLineWidget (5 intervals)
...
replaced 3d box with rect for TimeLineWidget
2018-02-02 13:05:41 +01:00
Stephen Anthony
883a9249b1
Fixed inverted subtraction in the previous commit.
2018-02-01 19:52:32 -03:30
Stephen Anthony
c18bcbc39b
TimeLineWidget mouse handling is now complete.
2018-02-01 19:03:17 -03:30
thrust26
97a0638845
Added (fixed) tickmark intervals to SliderWidget
2018-02-01 18:21:57 +01:00
thrust26
6d1c5b1301
removed +/-10 buttons for TimeMachineDialog
...
updated documentation
2018-02-01 11:18:05 +01:00
thrust26
1c4345eff3
made sure dialogs fit into 2x zoom and 0.8 aspect ration (=512 pixel)
2018-01-31 15:24:20 +01:00
Stephen Anthony
86941ad6af
Fixed time machine dialog glitches when the state list is empty.
2018-01-30 19:50:29 -03:30
sa666666
1ce528ff99
Fix crash in TimeLineWidget when setStepValues() is passed an empty list.
2018-01-30 08:18:20 -03:30
thrust26
eb96e1ca49
reduced TimeMachineDialog transparency
...
frame stats now always displays the real frameRate
2018-01-30 09:06:03 +01:00
Christian Speckner
87c59db4e0
Merge branch 'release/5.1'
2018-01-29 21:17:00 +01:00
thrust26
c9bc3601e3
replaced some PopUpWidgets with SliderWidgets
2018-01-29 19:59:46 +01:00
thrust26
7f23ac00a2
small extra drag area for SliderWidget added
2018-01-29 09:15:54 +01:00
Stephen Anthony
b11643881a
Intervals on timeline are now graphically proportional to time:
...
- intervals are only valid when using key shortcuts
- using the mouse to select/scroll does not show proper proportions yet
2018-01-28 20:11:21 -03:30
thrust26
63acb76911
changed text color (else invisible in Classic mode)
2018-01-28 20:22:04 +01:00
Stephen Anthony
de7fd7401b
Synchronized shortcuts in TimeMachine to match those from EventHandler.
2018-01-28 12:21:22 -03:30
thrust26
966ba155ed
more response to SliderWidget added
...
units to SliderWidget added
enhanced various dialogs with slider units
2018-01-28 14:37:31 +01:00
thrust26
d2177ea610
added extra save state when starting time machine navigation
...
(some TODOs left, see EventHandler and TimeMachineDialog)
2018-01-28 10:15:39 +01:00
thrust26
a0052e071f
minor refactoring of AudioDialog
2018-01-28 00:16:31 +01:00
Stephen Anthony
2c90aaa7c7
Timeline and buttons in TimeMachineDialog are now syncronized.
2018-01-27 19:34:26 -03:30
thrust26
28b31bd3bf
updated some dialogs, replaced binary option popups with check boxes and radio buttons
...
renamed "FAST SC/AR BIOS"
2018-01-27 20:31:03 +01:00
thrust26
8c346a469a
reworked VideoDialog: check boxes for binary options, some widget reordering/renaming
...
TODO: SliderWidget for zoom
2018-01-27 13:00:55 +01:00
thrust26
79cce110f9
minimal refinements to JoystickDialog
2018-01-27 11:51:41 +01:00
thrust26
9c9abc125d
refactored VideoDialog using enhanced SliderWidget
2018-01-27 11:47:56 +01:00
thrust26
868df2cb22
enhanced SliderWidget (optionally includes value label now too)
2018-01-27 11:06:34 +01:00
thrust26
2eaa62c87c
minor changes to UIDialog and VideoDialog
2018-01-26 22:05:01 +01:00
thrust26
a7308b4c0d
fixed toned down dialogs
2018-01-26 20:13:22 +01:00
thrust26
8c0b212207
Overlapped dialogs are (partially) toned down
2018-01-26 12:55:05 +01:00
thrust26
35275b0104
shortened/renamed and slightly reordered OptionsDialog entries
2018-01-26 12:29:25 +01:00
thrust26
67df7caa3b
fine tuning for StringListWidget and RomListWidget
2018-01-26 12:01:24 +01:00
thrust26
f58e914729
focus highlighting added to more widgets
...
added some missing tab keys to debugger
fixed frame colors for CheckboxWidget and RadioButtonWidget
brightened inverted highlight color for "Light"
2018-01-26 11:33:46 +01:00
thrust26
a20f21f741
fixed ContextMenu height
2018-01-25 17:07:04 +01:00
thrust26
4c39fa3c68
some more focus highlighting added
...
made most sliders wider by default
2018-01-25 17:00:41 +01:00