Displaying 1 result from an estimated 1 matches for "file_display".
Did you mean:
fail_display
2006 Apr 10
1
Display an arrow, or transparent image colors
...g a red
arrow on transparent background, loading that image using FXPNGIcon, and
display it in FXImageFrame. Example code:
require "fox14"
include Fox
app = FXApp.new
window = FXMainWindow.new(app, "Demo")
window.place(PLACEMENT_SCREEN)
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...