#40 closed bug (fixed)
Easier way to put PNGs into rdef files
Reported by: | Owned by: | marcusoverhagen | |
---|---|---|---|
Priority: | low | Milestone: | R1 |
Component: | Applications | Version: | |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | All |
Description
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 , 19 years ago
Resolution: | → fixed |
---|
comment:2 by , 19 years ago
comment:3 by , 19 years ago
Status: | new → closed |
---|
comment:4 by , 19 years ago
bug_group: | → developers |
---|
Note:
See TracTickets
for help on using tickets.
Applied in change 13832 and 13833. Thanks!