Show
Ignore:
Timestamp:
01/23/09 15:23:46 (4 years ago)
Author:
isaisstillalive
Message:
  • EditField系のテストを微調整。
  • Richエディットの背景色を設定できるようにした。
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lang/ruby/ruwin/lib/ruwin/edit_field/rich.rb

    r28850 r28900  
    99      end 
    1010       
     11      def background_color= color 
     12        if color 
     13          sendMessage EM_SETBKGNDCOLOR, 0, color 
     14        else 
     15          sendMessage EM_SETBKGNDCOLOR, 1, 0 
     16        end 
     17      end 
     18       
    1119      class Multiline < Rich 
    1220        STYLE = superclass::STYLE|ES_MULTILINE|Const::Window::WS_VSCROLL|Const::Window::WS_HSCROLL