Commit graph

4120 commits

Author SHA1 Message Date
Paul Gilbert
80e83c1a4b GRAPHICS: Support Graphics::Palette in PaletteManager 2024-06-01 11:38:27 -07:00
Paul Gilbert
2027813d67 GRAPHICS: Added Palette::createEGAPalette method 2024-06-01 11:26:17 -07:00
neuromancer
e49387f0c8 TINYGL: revert previous commit and correct number of elements for polygon offset ADD_OP 2024-06-01 15:33:50 +02:00
neuromancer
d22cffbcba TINYGL: correct number of elements for polygon offset ADD_OP 2024-06-01 15:33:50 +02:00
neuromancer
7ac37265f9 TINYGL: correct initialization of the stipple pattern buffer 2024-06-01 15:33:50 +02:00
neuromancer
00a0346983 TINYGL: make sure stipple pattern is copied into the internal states instead of using pointers 2024-06-01 15:33:50 +02:00
neuromancer
4cd57d59a8 TINYGL: removed the usage of stipple pattern from textured triangles 2024-06-01 15:33:50 +02:00
neuromancer
e232c9d797 TINYGL: make sure the polygon stipple pattern is copied 2024-06-01 15:33:50 +02:00
neuromancer
fdd84fd08a TINYGL: initial implementation of tglPolygonStipple 2024-06-01 15:33:50 +02:00
Le Philousophe
7794de5e5e GRAPHICS: OPENGL: Allow sscanf_s for GLAD
It is properly guarded so it won't bring any portability problem and the
file is autogenerated so this avoids to patch the file.
2024-06-01 13:42:01 +02:00
Le Philousophe
a31ea07f82 Revert "GRAPHICS: OPENGL: Disable usage of sscanf_s"
This reverts commit 5040e1129d.
Instead of modifying an autogenerated file, patch around it.
2024-06-01 13:42:01 +02:00
Eugene Sandulenko
5040e1129d
GRAPHICS: OPENGL: Disable usage of sscanf_s
This follows the earlier commit that added this symbol to forbidden.h
The code in glad.h is not using any features of sscanf_s, e.g.
sizes for the provided strings for safety, so it is not clear
why are they using it. Perhaps because it is declared "safer"
2024-05-30 09:24:59 +02:00
Hubert Maier
39ad7cc41e JANITORIAL: Fix referece typo in zblit_public.h 2024-05-18 13:52:31 +02:00
Hubert Maier
9139412157 JANITORIAL: Fix refering typo in mactext.cpp 2024-05-18 13:52:31 +02:00
Hubert Maier
a545fa7539 JANITORIAL: Fix extention typos in mactext-canvas.cpp 2024-05-18 13:52:31 +02:00
Hubert Maier
395739c0f8 JANITORIAL: Fix adress typo in blit-atari.cpp 2024-05-18 13:52:31 +02:00
Eugene Sandulenko
5bd7b57282
GRAPHICS: MACGUI: Switch TTFMap to saner data structure not requiring global constructor 2024-05-12 15:23:30 +02:00
Cameron Cawley
248ab4ca15 GRAPHICS: MACGUI: Improve image quality in markdown documents 2024-05-09 15:19:17 +02:00
InariInDream
cea8312c35 GUI: load ttf from archive in Unicode branch 2024-05-04 00:14:31 +02:00
InariInDream
bd867b109a GUI: Switch HelpDialog to TTF fonts 2024-05-04 00:14:31 +02:00
InariInDream
e70ea93149 GRAPHICS: MACGUI: Add support for TTF font maps 2024-05-04 00:14:31 +02:00
Eugene Sandulenko
ff24083fd4
GRAPHICS: Make convertTo() work with incomplete palettes
We we always assuming that the provided palette is 256 bytes long,
up to the point that we hardcoded this value and skipped this parameter
almost everywhere.

This changes the default parameter to 256 and allows the lesser values
be passed.
2024-05-01 22:42:03 +02:00
Paul Gilbert
dafc55d8b9 GRAPHICS: Add copy operator to Palette 2024-04-29 22:13:00 -07:00
Cameron Cawley
25db76b2b2 GRAPHICS: Reuse YUV lookup tables for identical RGB component sizes 2024-04-25 00:44:31 +02:00
Cameron Cawley
eb4359c4a4 GRAPHICS: Further reduce the size of the YUV to RGB tables 2024-04-25 00:44:31 +02:00
Cameron Cawley
c18bc24e79 GRAPHICS: Reduce the size of the YUV to RGB tables 2024-04-25 00:44:31 +02:00
polyesterswing
deff7ab160 GRAPHICS: NINEPATCH: Change the way remaining_stretch is distributed
Remaining stretch is given to the last stretchable mark. This commit
changes things so that the first stretchable mark is given it.
2024-04-25 00:37:48 +02:00
polyesterswing
37f8f829ff Revert "GRAPHICS: Round border length to nearest interger"
This reverts commit 920a925265.
2024-04-25 00:37:48 +02:00
Eugene Sandulenko
2c33cfb478
GRAPHICS: MACGUI: Hid too noisy warning 2024-04-21 22:33:40 +02:00
hecmar007
558167eaa2
MACGUI WAGE: Handle \n in end of string case
Add logic to correctly add new line when a \n is present at the end of a string.
2024-04-01 18:21:24 +02:00
Matthew Jimenez
83aa8dc291 GRAPHICS: Remove palette start from surface convertToInPlace.
The palette start value was always zero, and was not properly multiplied by three when used in the function
2024-03-31 23:16:59 +03:00
Matthew Jimenez
ee5ebec7ca IMAGE: Remove palette start from image decoder.
The palette start value was always zero, adding complexity without benefit.
2024-03-31 23:16:59 +03:00
elasota
26c054e0c5 IMAGE: Add support for loading CUR and ANI files 2024-03-31 14:39:28 -04:00
D G Turner
3dcd3e6fa6 GRAPHICS: MACGUI: Fix Signed vs. Unsigned Comparison GCC Compiler Warnings 2024-03-30 16:40:22 +00:00
Krish
34ecd753ad GRAPHICS: MACGUI: Implement submenu scrolling 2024-03-27 15:34:34 +01:00
s-m33r
b2851f8128 GRAPHICS: MACGUI: add _draggable property to BaseMacWindow 2024-03-25 21:22:56 +01:00
D G Turner
0d68f7d39a GRAPHICS: Fix Signed vs. Unsigned Comparison GCC Warnings 2024-03-20 22:16:45 +00:00
Matthew Jimenez
771dc751db GRAPHICS: Switch ManagedSurface to use Palette class 2024-03-18 21:06:04 +02:00
Le Philousophe
635cb6b998 GRAPHICS: OPENGL: Upgrade glad headers
This allows to remove a workaround in context creation
2024-03-17 15:39:32 +01:00
Hubert Maier
794f292b5d
AMIGAOS: Use compiler defines 2024-03-16 01:59:27 +02:00
Eugene Sandulenko
8af225e5f2
GRAPHICS: Improved debug output on incorrect formats in Surface 2024-03-16 00:35:07 +01:00
Nabeel Khan
5b10353a68 GUI: Implement Window border draggability 2024-03-14 18:59:16 +01:00
hecmar007
c6c80b9313
GRAPHICS: MACGUI: Process extra long words (#5703)
GRAPHICS:  MACGUI: Process extra long words

Added functionality to rewrap words that split into different lines.
2024-03-13 17:39:21 +01:00
Matthew Jimenez
5219c99400 GRAPHICS: Move PaletteManager definition to a separate header 2024-03-12 12:24:00 +02:00
Matthew Jimenez
8af5e55712 GRAPHICS: Define Palette class and use in PaletteLookup 2024-03-11 01:02:15 +01:00
Torbjörn Andersson
1bf0dbad75 GRAPHICS: MACGUI: Eliminate timer use
As part of fixing a graphical glitch in Mac Indiana Jones and the Last
Crusade, eliminate the menu timer from the Mac window manager. It's just
too unpredictable and error prone for my taste.
2024-03-10 23:12:25 +01:00
scemino
0cba66b204 TWP: Move ImGui to backends 2024-03-07 20:08:26 +01:00
scemino
b840146b6c TWP: Move imgui into graphics/ 2024-03-07 20:08:26 +01:00
polyesterswing
9626012752 MACGUI: Fill in the upper-left and upper-right corners with black 2024-03-04 19:16:22 +01:00
polyesterswing
a6b0d088c2 Revert "GRAPHICS: MACGUI: Fix green borders in upper right and upper left corners of Mac menu bar"
This reverts commit 49ae002d6b.

The changes in this commit prevents windows in macventure from
displaying
2024-03-04 19:16:22 +01:00