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

Gfx save #13430

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

Gfx save #13430

wants to merge 10 commits into from

Conversation

Deedolith
Copy link

Implemented the possibility to save the currently displayed gfx set using the snapshot hotkey (default F12).
The file (PNG) will be saved under the gfxsave directory wich will be created if needed).

Moved gfx_viewer out of anonymous namespace.
Renamed gfxWriter class to gfx_writer.
Made gfx_writer class friend of gfx_viewer class.
Changed bitmap_rgb32 to bitmap_argb32 for transparency support.
Sorted out #include.
…o a PNG file.

The file is saved under the gfxsave directory, it will be created if needed.
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.

1 participant