Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

miscellaneous fixes #143

Merged
merged 9 commits into from
Aug 10, 2018
Merged

miscellaneous fixes #143

merged 9 commits into from
Aug 10, 2018

Conversation

kajott
Copy link
Contributor

@kajott kajott commented Aug 9, 2018

common fixes:

  • can now load music again after a previous attempt to load music failed
  • much less verbose console output (relevant for usability on Linux)

Windows specific fixes:

Linux specific fixes:

  • PageUp/Down and Backspace keys work properly
  • added color picker (HTML hexcode input on console)

build fixes/features:

  • CMake also builds the example program
  • CMake links the correct WinSock version on Win32

kajott and others added 9 commits August 9, 2018 16:49
linked against older version of the WinSock library
(wsock32 instead of ws2_32); this was actually fine
for the editor itself, but not sufficient for the
example application
This made it impossible to load a new music file
if decoding failed once.

Also fixed some typos.
The code was missing all the necessary
wide-char <-> multibyte conversions.
So it only saved the first character of the
file name, and loading only didn't crash
because of sheer luck.
especially on Linux, where the console is an important
channel of interaction with the program, the many
lines of log were really too much clutter
@emoon emoon merged commit 81331ad into emoon:master Aug 10, 2018
@emoon
Copy link
Owner

emoon commented Aug 10, 2018

Awesome! Thanks a bunch for these changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants