Opened 15 years ago

Closed 15 years ago

Last modified 14 years ago

#40 closed bug (fixed)

Easier way to put PNGs into rdef files

Reported by: mahlzeit@… Owned by: marcusoverhagen
Priority: low Milestone: R1
Component: Applications Version:
Keywords: Cc:
Blocked By: Blocking:
Platform: All


This "bug" is for the AboutHaiku app. The rdef contains the following nasty declaration:

resource(1, "haikulogo.png") #'PNG ' array {

...lots of lines...

There is an easier way to create such resources: 1) Make sure the file "haikulogo.png" is in the source code folder; 2) Change the line to:

resource(1, "haikulogo.png") #'PNG ' import "haikulogo.png";

This has the same effect but is much cleaner, and you don't have to change the rdef file when the png image file changes.

Just a little tip. :-)

Change History (4)

comment:1 by korli, 15 years ago

Resolution: fixed

comment:2 by korli, 15 years ago

Applied in change 13832 and 13833. Thanks!

comment:3 by korli, 15 years ago

Status: newclosed

comment:4 by korli, 14 years ago

bug_group: developers
Note: See TracTickets for help on using tickets.