Skip to content
Snippets Groups Projects

SDL:Update XPM icon

Merged SteelT requested to merge SteelT/SRB2:sdl-new-windowicon into master

Updates XPM icon so it's high quality.

Steps for making a icon - Requires GIMP:

  1. Make sure the image you want to use is a 8-bit RGB 96x96 png.
  2. Go to Image > Mode > Indexed and make sure everything is exactly as it follows. image
  3. Go to File > Export as(or Shift+Ctrl+E) and make sure it's a XPM file with these settings image
  4. After exporting the XPM file, you will want to edit in a text editor so the second line is like this. const char * SDL_icon_xpm[] = {

After that, just clean and compile, also included the png used for reference.

Edited by SteelT

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading