Commit graph

20 commits

Author SHA1 Message Date
JetSetIlly
17e6d70f2f added colour reflection on the bevel
the inside of the bevel nearest the screen reflects the colour from the
screen. it's not perfect but it's a nice effect and can form the basis
for something better

screen centering inside solid state bevel moved very slightly to the
right
2025-01-13 19:42:20 +00:00
JetSetIlly
4918e8eb19 shaders array turned into map
for conveinece and to prevent ordering accidents. it's a small point but
creating shaders when appending to the array has to be done in the
correct order. it's clearer and safer to use a map

renamed name of textureType type to shaderType

enabling and disabling of TV colour in the GUI now uses texture IDs for
a specially allocated texture, removing any possibility of accidentally
misuing a real texture ID
2024-12-15 18:33:36 +00:00
JetSetIlly
77684ea771 PAL/NTSC colour generation
SECAM is still palette lookup due to their being no need to ever change
the colours (as far as I can tell)

simplified how GUI handles the TV colours
2024-12-15 18:33:36 +00:00
JetSetIlly
8f9e78cad5 fixed all unkeyed struct field errors
makefile vet target removed and put 'go vet' into lint target. awk
filter for unkeyed struct errors removed
2024-11-23 14:56:36 +00:00
JetSetIlly
5b4d509748 CDF streams window casts font size preference value to int 2024-03-13 20:31:17 +00:00
JetSetIlly
24d4f2531e DPI aware font scaling
font sizing for non-freetype font rendering
2024-01-22 08:10:16 +00:00
JetSetIlly
604a0a522b windows scale better with font size
CPU, control and TIA windows changed

loosened window constraints to accomodate larger font sizes

size of streams in CDF window scale nicely with the selected font size
2024-01-13 17:59:38 +00:00
JetSetIlly
d1adcca9f8 fixed imgui related crashes caused by parent window being too small
the crashes are caused by BeginTable() failing and then EndTable() being
called. Or BeginChild() failing and EndChild not being called.
2023-11-27 08:22:43 +00:00
JetSetIlly
5a4b01fd13 added rendering support for OpenGL2.1
all references to opengl are now made through the renderer interface.
which renderer is to be used is controlled by buildtags

now requires minimum go version of 1.21

CRT preferences and CRT preview in debugger TV window are disabled for
OpenGL2.1
2023-11-20 16:58:32 +00:00
JetSetIlly
12b9f19d1f removed lazy update components. made savekey rewind safe 2023-08-26 09:14:40 +01:00
JetSetIlly
5546a24b93 global setting for debugger tooltips
tooltip indicator in menu bar. clicking will toggle. same preference can
be toggled in the debugger tab of the preferences window

global setting can be overridden by holding down the shift key

setting will be automatically saved on exit

tooltip settings for individual windows removed (disasm, performance,
source windows)

added slight transparency to tooltip background
2023-06-14 21:33:38 +01:00
JetSetIlly
8b18be888e window searching by title
pressing CTRL+SHIFT allows the user to bring a window to the front by
typing in the window title. as soon as the entered string is unique the
window is selected

a search preview is shown in the menu bar while the CTRL+SHIFT
combination is held down
2023-06-10 12:51:42 +01:00
JetSetIlly
b67222394d bumped gl version back to v3.2-core
undoes much of the changes in 203891dde9

macos shader compiler is much stricter than others and won't compile a
glsl version 1.5 script gl version 2.1 and dropping the glsl version to
1.2 degrades the features of glsl too much

in any case, dropping to v2.1 was only an experiment to see if there was
any meaningful performance difference. there is not
2023-04-07 14:09:24 +01:00
JetSetIlly
203891dde9 removed calls to sdl.GLSetAttribute(). using SDL defaults
using open gl v2.1, rather than v3.2-core

change CLAMP_TO_EDGE to CLAMP_TO_BORDER
2023-03-31 07:34:21 +01:00
JetSetIlly
4448c7cae6 arrange windows by size, smallest at the front
debugger menu entry and CTRL+A hotkey
2022-05-01 12:16:08 +01:00
JetSetIlly
f247722f86 window position now aware of emulation mode
the same window can have a different position depending on
emulation mode
2022-04-29 13:50:33 +01:00
JetSetIlly
b0fb68178f CDF streams window is resizeable 2022-04-17 20:59:25 +01:00
JetSetIlly
37a409081b CDF stream window, drag and drop colour source
datastream tooltip shows detail of datastream underneath the cursor
2022-04-15 20:57:40 +01:00
JetSetIlly
44e383923c reworking of CartStaticBus interface and related types
easier to look at and should be more flexible when going forward with
DWARF variable handling
2022-04-12 20:20:04 +01:00
JetSetIlly
154442e4cb added CDF streaming window
clarified CDF implementation, particularly how registers are handled

increased the number of nominal datastream registers to the correct 32

update of DPC and DPC+ windows to mirror cosmetic changes in CDF
registers window

cosmetic changes to disabled widgets
2022-04-10 22:15:08 +01:00