Widgets: Images
- Read about ImTextureID here: https://github.com/ocornut/imgui/wiki/Image-Loading-and-Displaying-Examples
- 'uv0' and 'uv1' are texture coordinates. Read about them from the same link above.
- Image() pads adds style.ImageBorderSize on each side, ImageButton() adds style.FramePadding on each side.
- ImageButton() draws a background based on regular Button() color + optionally an inner background if specified.
Widgets: Images - Read about ImTextureID here: https://github.com/ocornut/imgui/wiki/Image-Loading-and-Displaying-Examples - 'uv0' and 'uv1' are texture coordinates. Read about them from the same link above. - Image() pads adds style.ImageBorderSize on each side, ImageButton() adds style.FramePadding on each side. - ImageButton() draws a background based on regular Button() color + optionally an inner background if specified.