Opened 14 years ago

Closed 14 years ago

Last modified 13 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:
Has a Patch: no 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 Changed 14 years ago by korli

Resolution: fixed

comment:2 Changed 14 years ago by korli

Applied in change 13832 and 13833. Thanks!

comment:3 Changed 14 years ago by korli

Status: newclosed

comment:4 Changed 13 years ago by korli

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