Module: WR::ModFormDesigner
- Includes:
- ModAutoloading
- Included in:
- Button, Checkbox, Combobox, ComboboxEx, DateTimePicker, Edit, Groupbox, Hotkeyctrl, Imagelist, Listbox, Listview, Menu, Menubar, Monthcalender, Panel, Progressbar, Radiobutton, Rebar, Splitter, Static, Statusbar, Tabctrl, Timer, Toolbar, Trackbar, Treeview, Updown
- Defined in:
- lib/wrb/applications/frmdesigner/fdmodules.rb
Class Method Summary collapse
Methods included from ModAutoloading
Class Method Details
.extended(mod) ⇒ Object
1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 |
# File 'lib/wrb/applications/frmdesigner/fdmodules.rb', line 1377 def self.extended(mod) bmpdir = "#{File.dirname(__FILE__)}/controls/" bmpname ="#{bmpdir}#{mod.to_s.sub(/^\w+::/, '').downcase}.bmp" mod.module_eval "FDConfig={}" begin mod::FDConfig[:bitmap] = Bitmap.fromfile(bmpname) rescue mod::FDConfig[:bitmap] = Bitmap.fromfile(bmpdir+'default.bmp') end end |