Commit graph

12 commits

Author SHA1 Message Date
OPNA2608
3d00e1d784 Fix WIN32 define timing in IGFD
When the compiler hits IGFD, WIN32 is only set if standard extensions are enabled. (Why?)
IGFD identifies Windows via WIN32 instead of _WIN32. (Why?)

- WIN32 is needed for #ifdef-gated Windows-specific methods in the header & code files.
  - There's fallback code in the code file to set WIN32 if _WIN32 or __WIN32__ is set.
    - Which is hit *after* the header gets included, so the header doesn't expose required methods.
      -> Boom, error!

Workaround by moving the fallback into the header.
2022-05-08 00:34:20 +02:00
tildearrow
e8c9b645c5 GUI: implement instrument preview in file dialog
SADLY it's just for the built-in file dialog
but i'll think of a solution for the external one
2022-04-25 18:58:17 -05:00
tildearrow
6bca347254 maybe BUG 2022-03-13 17:29:43 -05:00
tildearrow
ef0e19413c ok so fix the file dialog 2022-02-22 22:41:37 -05:00
tildearrow
4122238a4a aaaaaaaaaaaaa 2022-02-22 21:54:25 -05:00
tildearrow
fa5a732b68 GUI: extensions no longer case-sensitive
fixes #154
2022-02-08 23:13:54 -05:00
tildearrow
ba08d3515f GUI: fix several file dialog bugs
damn it
2022-02-01 02:52:36 -05:00
tildearrow
82d8728ca1 force minimum size on file picker 2022-01-31 15:03:10 -05:00
tildearrow
797ffd62da GUI: center file picker and limit to win size 2022-01-20 00:31:36 -05:00
tildearrow
f32f079ef8 fix more crashes on the file dialog
oh yes, the wonders of dealing with this useless broken file dialog.
honestly I didn't think it was broken to this point...

and no, I don't want to use the **other** file dialog as it requires
C++17 which is too ahead of time
2022-01-19 15:03:33 -05:00
tildearrow
2ea2faf9c0 make the file dialog undockable 2021-12-17 00:26:33 -05:00
tildearrow
e8ac2947ab prepare for the GUI! 2021-12-11 02:10:09 -05:00