search for: thm_name

Displaying 1 result from an estimated 1 matches for "thm_name".

Did you mean: the_name
2004 Jan 08
3
pictorG
...ew(THM_WIDTH,THM_HEIGHT),IMAGE_LIST_NORMAL) # evt_list_begin_drag(self.get_id) {|e| log_status "Oh, dragging"; dragsrc = DropSource.new(self); true } evt_list_item_activated(self.get_id) {|e| fn=e.get_item.get_text MyImageFrame.new(self,fn,fn).show() } end def thm_name filename dir,fn=File.split filename [dir+"/.thumb#{THM_WIDTH}x#{THM_HEIGHT}/",fn+''.jpg''] end def gen_thm filename img = Image.new(filename) w,h=img.get_width.to_f,img.get_height.to_f return nil if w*h==0 xscale,yscale=w/THM_WIDTH,h/THM_HEIGHT...