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

Implement resizable GUI #64

Open
wants to merge 34 commits into
base: master
Choose a base branch
from

Commits on Jul 28, 2023

  1. Try to handle resize event.

    Resizing on the title screen works fine except for some flickering.
    Quipyowert2 committed Jul 28, 2023
    Configuration menu
    Copy the full SHA
    b8094ab View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b94f466 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    aff7fe6 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    0e786bd View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    1730c9e View commit details
    Browse the repository at this point in the history
  6. Change EventListener booleans to be atomic.

    This fixes a bug where one of the booleans was 238.
    Quipyowert2 committed Jul 28, 2023
    Configuration menu
    Copy the full SHA
    9d4e8fe View commit details
    Browse the repository at this point in the history
  7. Fix graphics glitches in OpenGL mode.

    On the title screen, the background was white instead of the green texture background and the buttons had white rectangles where the text should be.
    Quipyowert2 committed Jul 28, 2023
    Configuration menu
    Copy the full SHA
    7ceb58e View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    6c4c7ad View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    5dacb46 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    6837dcf View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    0ca173d View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    4cb6f6c View commit details
    Browse the repository at this point in the history
  13. Fix deadlock when exiting the game.

    Also fix game when running without a window (nox mode).
    Quipyowert2 committed Jul 28, 2023
    Configuration menu
    Copy the full SHA
    dbba9bc View commit details
    Browse the repository at this point in the history
  14. Add copyright header.

    Quipyowert2 committed Jul 28, 2023
    Configuration menu
    Copy the full SHA
    bcb6fd3 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    abd01a0 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    c0e4a4d View commit details
    Browse the repository at this point in the history
  17. Fix black window upon resizing.

    I don't know why, but removing the glOrtho call makes the window stop
    going black when resizing.
    Quipyowert2 committed Jul 28, 2023
    Configuration menu
    Copy the full SHA
    69c7619 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    05be3cf View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    34885f0 View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    8d8d3ac View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    3c95f3b View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    c8073e7 View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    5b530e5 View commit details
    Browse the repository at this point in the history
  24. WIP: Fix crash when resizing.

    EventListener::paint can indirectly recurse by way of WindowProc.
    Quipyowert2 committed Jul 28, 2023
    Configuration menu
    Copy the full SHA
    8c15bc2 View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    63b9bf0 View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    38f3ea1 View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    2cfc719 View commit details
    Browse the repository at this point in the history
  28. Document EventListener.

    Quipyowert2 committed Jul 28, 2023
    Configuration menu
    Copy the full SHA
    dbeefd5 View commit details
    Browse the repository at this point in the history
  29. Configuration menu
    Copy the full SHA
    df0dbd3 View commit details
    Browse the repository at this point in the history
  30. Fix flickering during window resize.

    Textures still turn white when letting go of the mouse button, though.
    Quipyowert2 committed Jul 28, 2023
    Configuration menu
    Copy the full SHA
    f2f17d4 View commit details
    Browse the repository at this point in the history
  31. Configuration menu
    Copy the full SHA
    06e3983 View commit details
    Browse the repository at this point in the history
  32. Configuration menu
    Copy the full SHA
    8e21b7c View commit details
    Browse the repository at this point in the history

Commits on Nov 7, 2023

  1. Configuration menu
    Copy the full SHA
    60a544b View commit details
    Browse the repository at this point in the history

Commits on Nov 12, 2023

  1. Configuration menu
    Copy the full SHA
    7f2ff28 View commit details
    Browse the repository at this point in the history