Develop and Download Open Source Software

Browse Subversion Repository

Diff of /view.rb

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 4 by bluedwarf, Wed Apr 4 04:03:44 2007 UTC revision 5 by bluedwarf, Wed Apr 4 12:13:36 2007 UTC
# Line 1  Line 1 
1    
2  require "event_manager.rb"  require "event_manager.rb"
3  require "window.rb"  require "window.rb"
 require "modeline.rb"  
4    
5  module Edmaru  module Edmaru
6    
# Line 22  module Edmaru Line 21  module Edmaru
21      def initialize(event_manager)      def initialize(event_manager)
22        @event_manager = event_manager        @event_manager = event_manager
23        @mini_window = Edmaru::window_class.new        @mini_window = Edmaru::window_class.new
       @modeline_window = Edmaru::ModeLine.new  
24        @windows = Array.new        @windows = Array.new
25        @windows.push(Edmaru::window_class.new)        @windows.push(Edmaru::window_class.new)
26        init_ui        init_ui
# Line 31  module Edmaru Line 29  module Edmaru
29      #The system specific initialization for this view.      #The system specific initialization for this view.
30      #      #
31      #=== Warning      #=== Warning
32      #This method *MUST* be overrided in derived classes.      #This method *SHOULD* be overrided in derived classes.
33      def init_ui      def init_ui
34      end      end
35    
# Line 43  module Edmaru Line 41  module Edmaru
41        @mini_window        @mini_window
42      end      end
43    
     #The modeline window displayed on the second line from the bottom.  
     #  
     #=== Warning  
     #This method *MUST* *NOT* be overrided in derived classes.  
     def modeline_window  
       @modeline_window  
     end  
   
44      #The main window.      #The main window.
45      #      #
46      #=== Warning      #=== Warning

Legend:
Removed from v.4  
changed lines
  Added in v.5

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26