Thanks for contributing to IconButton.
- Report bugs with: clear title, repro steps, minimal sample, AutoHotkey version (v2.0+), and Windows/DPI details when relevant.
- Suggest features by checking existing issues first, then opening a new issue with the use case and expected behavior.
- For code changes:
- Fork and clone the repository.
- Create a branch (
feature/...orfix/...). - Implement and test your changes.
- Commit with clear messages.
- Open a pull request to
main.
- AutoHotkey v2 only.
- Keep Win32/GDI resource handling safe (no handle leaks).
- Ensure DPI-aware rendering and layout behavior.
- Add comments only where logic is non-obvious.
Before opening a PR, verify:
- Works on 100% and high DPI (for example, 150%).
- Enable/disable state still updates grayscale behavior correctly.
- Runtime updates (for example
Text,IconSize) do not break layout. - No obvious memory/handle leaks.
Use Examples.ahk as a quick baseline.
By contributing, you agree your changes are released under the project's MIT license.