Prateek Machiraju
fb5c8c39ae
[wpigui] clang-tidy: readability-braces-around-statements
2021-01-25 09:25:39 -08:00
Prateek Machiraju
f7d39193a4
[wpigui] Fix copyright in pfd and wpigui_metal.mm
2021-01-25 09:25:39 -08:00
Peter Johnson
cbe59fa3bf
clang-tidy: google-explicit-constructor
2020-12-29 14:26:19 -08:00
Peter Johnson
32fa97d68d
clang-tidy: modernize-use-nullptr (NFC)
2020-12-29 14:26:19 -08:00
Peter Johnson
2aed432b4b
Add braces to C++ single-line loops and conditionals (NFC) ( #2973 )
...
This makes code easier to read and more consistent between C++ and Java.
Also update clang-format settings to always add a line break (even if no braces are used).
2020-12-28 12:58:06 -08:00
Peter Johnson
8f1f64ffb6
Remove year from file copyright message (NFC) ( #2972 )
...
Also update copyright to include "and other WPILib contributors" and clarify
license referral language to not be restricted to FIRST teams.
2020-12-26 14:12:05 -08:00
Peter Johnson
7ac39b10f7
[wpigui] Add icon support
2020-12-25 22:08:37 -08:00
Prateek Machiraju
2c5668af46
[wpigui] Add platform-specific preferences save
2020-12-05 23:23:35 -08:00
Peter Johnson
5e0808c848
[wpigui] Fix Windows cmake build
2020-11-14 21:03:22 -08:00
Peter Johnson
6d22b5a3c6
[wpigui] Render during resize events ( #2857 )
...
This fixes scaling and black window artifacts on Mac.
2020-11-13 21:18:08 -08:00
Peter Johnson
1ae8da3b3f
[wpigui] Move portable-file-dialogs.h to wpigui and upgrade it ( #2704 )
...
Also split source and implementation to avoid platform headers in header.
2020-09-12 21:15:02 -07:00
Peter Johnson
183b7c85a1
[wpigui] Handle Direct3D framebuffer resize
2020-08-30 06:48:52 -07:00
Peter Johnson
b83709b269
[wpigui] Add GetDistSquared and MaxFit functions
...
These utility functions were moved from halsim_gui.
2020-08-30 06:48:52 -07:00
Peter Johnson
781afaa852
[wpigui] Refactor texture handling
...
The platform-specific code now only has create, update, and delete texture.
Image reading functions have been moved to common code.
Also add pixel data functions and image data functions in addition to image
file loading.
2020-08-30 06:48:52 -07:00
Peter Johnson
b80fde4388
[wpigui] Add wpigui wrappers for GLFW+imgui
...
These hide the platform specifics behind a common C++ API. Platforms:
- Windows: DirectX 11 (with 10 backwards compatibility)
- Linux: OpenGL 3
- Mac: Metal
2020-08-27 21:05:17 -07:00