Displaying 4 results from an estimated 4 matches for "fxpngicon".
2006 Nov 21
0
FXPNGIcon.new not working
...re ''fox16'' lines in the programs in
gem lib directory. I did this and ran hello.rb without warnings. I then
tried running iconlist.rb.
The program ran but the folder icons did not display. Instead of the
icons there was a box with PNG inside. I added the following code.
if FXPNGIcon.supported?
puts "SUPPORTED"
else
puts "NOT SUPPORTED"
end
The code yielded NOT SUPPORTED
I also tried adding icon.create() before returning icon from the
loadIcon method.
What am I doing wrong? and How do I fix it?
Thanks,
Ernie
2006 Nov 21
0
FXPNGIcon.new is now working
Hi:
After strugling trying to get an email to this formum, I discovered
that I had to add png support before compiling fox-1.6.20. Once I
downloaded the library compiled and installed it, everything worked fine.
By the way the url on the link at the fox tool-kit site for the png
library is incorrect. The right url is:
http://www.fox-toolkit.org/ftp/libpng-1.2.8.tar.bz2
Thanks,
Ernie
2006 Apr 10
1
Display an arrow, or transparent image colors
..., please tell me.
Example Problem: I want a FXHorizontalFrame to contain, from left to
right, (1) a FXTextField, (2) the arrow, pointing from to the right, (3)
a FXDial.
I figured I can display 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_di...
2007 Aug 06
3
base64 image
Hi all,
is there any way to load a base64 converted image using classes such as
Image or Bitmap?
Thank you,
fabio.
_______________________________________________
wxruby-users mailing list
wxruby-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/wxruby-users