3aac3cdf26
Increase text size
Run UnitTests / build-and-run-tests (push) Successful in 27s
2024-02-29 17:32:41 +09:00
25dafb26b5
Impl. storing color changes in history
Run UnitTests / build-and-run-tests (push) Successful in 28s
2024-02-29 17:10:57 +09:00
b5efecd43d
Quality-of-Life fixes
...
Run UnitTests / build-and-run-tests (push) Successful in 23s
Change RayGui color settings.
Change how notification panel fades.
Prevent accidentally closing edit-tri-color window immediately after
selecting a tri.
2024-02-29 16:27:24 +09:00
7480c11d95
Fix edit-tri mode
2024-02-29 15:55:34 +09:00
b8d4521223
Refactor State::restore_points_on_tri_del(...)
Run UnitTests / build-and-run-tests (push) Successful in 31s
2024-01-25 11:21:28 +09:00
852a099930
Impl "Action" object for undo/redo history
...
Run UnitTests / build-and-run-tests (push) Successful in 50s
TODO: Store undo/redo history for color editing, allow deleting
individual triangles and undo/redo of them.
2024-01-24 17:24:56 +09:00
1da2ddb125
Add some unit tests for helper functions
Run UnitTests / build-and-run-tests (push) Successful in 48s
2024-01-24 15:45:46 +09:00
a49b7cb14c
Add Github action for UnitTests
Run UnitTests / build-and-run-tests (push) Successful in 49s
2024-01-24 15:07:25 +09:00
7b9dd21ddd
Use raylib 5.0 in CMakeLists.txt requirement
Run UnitTests / build-and-run-tests (push) Successful in 57s
2024-01-24 14:35:34 +09:00
79508e5527
Add forgejo action/workflow to run UnitTests
Run UnitTests / build-and-run-tests (push) Successful in 24s
2024-01-24 12:23:31 +09:00
747e4bb370
Fix image being saved upside-down
2024-01-23 17:06:51 +09:00
50015a34ae
Change debug optimization flag
2024-01-23 16:34:43 +09:00
20859dbcd8
Enable picking color alpha for triangles
2024-01-23 15:04:09 +09:00
c6dd68ae14
Refactor usage of colors and color picking
...
Member variables of state changed from an array of floats to a Color
struct.
2024-01-23 14:53:47 +09:00
2e3a2385f2
Update submodule glm
2024-01-23 14:35:57 +09:00
18bb4e5f59
Update raygui submodule to 4.0
...
TODO: Refactor color picking in src/helpers.hpp
2024-01-23 14:31:39 +09:00
9fb86c4cf8
Update LICENSE year
2024-01-23 13:48:46 +09:00
f0ea268ab2
Fix color picking
2024-01-23 13:48:31 +09:00
3036a8c97d
Fix usage of "pragma GCC diagnostic ..."
2023-07-24 11:18:43 +09:00
d3927723cf
Fix CMakeLists.txt, fix warnings
2023-07-23 18:42:38 +09:00
46461d7ebc
Update glm submodule to latest "master" branch
2023-03-06 20:27:30 +09:00
d79760aaa8
Specify Raylib dep version in CMakeLists.txt
2023-03-06 20:26:26 +09:00
ca2b545450
Update LICENSE year
2023-03-06 20:14:55 +09:00
b523a6c93e
Update to latest versions of libraries
...
Update to use Raylib 4.2.0.
Update to use Raygui 3.2.
Update to use Catch 3.3.2.
2023-03-06 20:12:09 +09:00
ca97d8b257
Fix warnings for included third party
...
Minor addition to .gitignore
2021-07-07 16:08:21 +09:00
bf0baa6515
Update README.md
2021-04-05 11:59:18 +09:00
0403d0d646
WIP Some tweaks
...
Add define macro for DEFAULT_WIDTH and DEFAULT_HEIGHT.
Disable drawing outline for Tris.
2021-03-31 22:16:09 +09:00
61e336786f
WIP attempt to fix resizing not working
2021-03-30 16:38:25 +09:00
1bc5e62502
Fixes with change window size
...
WIP window size still doesn't change properly
2021-03-30 12:51:46 +09:00
0e6a9f6de4
Fix helpers.hpp
2021-03-30 11:10:13 +09:00
df4e2bf029
WIP fix rendering of drawCache's texture
2021-03-29 17:19:39 +09:00
2919be2aff
WIP Replace SFML with Raylib
...
Need to fix Raygui usage in helpers.hpp.
Need to fix triangles being drawn flipped over the x-axis.
2021-03-29 17:05:27 +09:00
ef19ff326a
Update LICENSE for 2021
2021-03-29 17:05:16 +09:00
e79b95c482
Get argc/argv when using WinMain
2020-08-11 12:08:49 +09:00
4219b79ed8
Fix header usage in MSVS build
2020-08-09 17:00:27 +09:00
bfe92f50f9
Add SFML info to README.md
2020-08-09 16:23:12 +09:00
9c7c423247
Fix build with MS Visual Studio
2020-08-09 16:14:33 +09:00
674ffce5d4
Update README.md
2020-08-09 15:32:21 +09:00
2ea40ebe8d
Add README.md, LICENSE
2020-08-09 15:26:49 +09:00
d30a792aca
Impl edit tri color, and more
...
Added way to select and edit colors of placed Tris.
Added third_party catch unit test framework that builds the UnitTest in
Debug builds.
Refactor internal use of notification_text.
Rename src/imgui_helper.hpp to src/helpers.hpp
Added some helper functions, including "is_within_shape" (used for
selecting a Tri).
Fixed use of flags in helpers not using enum values.
2020-08-04 21:13:17 +09:00
72e1675f5f
Fix memory corruption bug
...
Increased buffer for notificationText. Previous implementation wrote to
notificationText but was possible for buffer overflows when writing to
it with strcpy. Also fixed by using strncpy instead of strcpy.
2020-08-03 16:01:38 +09:00
298073d850
Use enum for flag values
2020-08-02 19:59:18 +09:00
508ed0d7d4
Impl changing window size
2020-07-30 20:11:57 +09:00
c386dcd8d9
Impl pick color from what was drawn
...
Some refactoring around "notification" window.
2020-07-29 17:53:39 +09:00
ada25dc852
Rename "include" to less ambiguous "build_include"
2020-07-24 17:57:43 +09:00
ffc3848d96
Add close button to windows without one
2020-07-24 17:55:39 +09:00
c278bddc27
Decouple drawing selected points from drawing tris
2020-07-22 21:17:49 +09:00
fea2379d58
Fix render bug by setting cache dirty on start
2020-07-22 20:43:42 +09:00
bcf94cd105
Fix draw cache not redrawing after color picking
...
Also fix being able to draw when help window is open.
2020-07-22 19:09:05 +09:00
a6517b8982
Render to cache that only updates on click
...
This is to prevent slowdown when drawing per frame. Previously, the
program would draw each individual triangle each frame. Now the draws
are cached to a texture that is drawn each frame, and the cache is
recreated on click or undo/redo events.
2020-07-22 19:03:33 +09:00