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

Window features #26

Merged
merged 12 commits into from
Nov 12, 2023
Merged

Window features #26

merged 12 commits into from
Nov 12, 2023

Conversation

LeeVangraefschepe
Copy link
Owner

  • Resize toggle
  • Icon support (removed from engine added in window)
  • Mouse toggle
  • Added title set
  • Added minimize toggle
  • Added hide toggle
  • Added require attention flash
  • Added window set position
  • Added locked aspect ratio
  • Added min and max size for window
  • Added set size for window
  • Removed console from default builds
  • -Console Configurations still have the console

- Removed icon constructor
- Moved logo.png for default icon
- Added SetIcon function in the window class
- Added DirectX image data
- Require attention flash
- SetPosition
- Set AspectRatio
- Set min size
- Set min & max size
- Set size
else glfwRestoreWindow(m_pWindow);
}

void leap::Window::SetHiden(bool value) const
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typo: should be SetHidden


int WINAPI WinMain(HINSTANCE, HINSTANCE, LPSTR, int)
{
main();
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

return the value that main returns

void SetAspectRatio(const glm::ivec2& size) const;

// Warning this function overrides everything the SetLimitSize does.
void SetMinimumSize(const glm::ivec2& size) const;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add overloads that take two integers (same for other functions that take glm arguments)

@AtlantiaKing AtlantiaKing merged commit 31819c3 into main Nov 12, 2023
2 checks passed
@AtlantiaKing AtlantiaKing deleted the Window-features branch November 12, 2023 14:25
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