Displaying 1 result from an estimated 1 matches for "image_alphacolor".
2006 Apr 10
1
Display an arrow, or transparent image colors
...CREEN)
hframe = FXHorizontalFrame.new(window)
file_display = FXTextField.new(hframe, 40, nil, 0, LAYOUT_CENTER_Y)
file_display.text = "SoundFile.wav"
arrow_image = File.open("ArrowShortRightRedT.png", "rb") {|f|
FXPNGIcon.new(app, f.read)
}
# arrow_image.options = IMAGE_ALPHACOLOR | IMAGE_ALPHAGUESS
arrow = FXImageFrame.new(hframe, arrow_image, FRAME_NONE)
dial = FXDial.new(hframe, nil, 0,
DIAL_VERTICAL | DIAL_HAS_NOTCH | LAYOUT_FILL_Y)
app.create
window.show
app.mainloop
Using this program, my red arrow will display on black background. I had
expected...