Displaying 1 result from an estimated 1 matches for "hframe".
Did you mean:
frame
2006 Apr 10
1
Display an arrow, or transparent image colors
...y the Arrow using a .png image containing 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_ALPHACOL...