Develop and Download Open Source Software

Browse Subversion Repository

Diff of /mini_window.rb

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

revision 12 by bluedwarf, Fri Apr 6 11:20:39 2007 UTC revision 15 by bluedwarf, Sat Apr 7 14:27:59 2007 UTC
# Line 23  module Edmaru Line 23  module Edmaru
23    
24    #A special window that doesn't have modeline bar.    #A special window that doesn't have modeline bar.
25    module MiniWindow    module MiniWindow
     include Window  
26    
27      #Construct a window instance.      #Construct a window instance.
28      #      #
     #=== Arguments  
     #_view_ :: The parent view.  
     #_x_ :: The left edge position in the parent view.  
     #_y_ :: The top edge position in the parent view.  
     #_col_ :: The max column size allocated for this window.  
     #  
29      #=== Warning      #=== Warning
30      #This method *MUST* *NOT* be overrided in derived classes.      #This method *MUST* *NOT* be overrided in derived classes.
31      #      #
32      #=== Return      #=== Return
33      #An initialized instance of Window.      #An initialized instance of Window.
34      def initialize(view, x, y, col)      def initialize(view)
35        @view = view        @view = view
36        init_ui(x, y, col, 1)  
37          init_ui
38        end
39    
40        #The system specific initialization for this window.
41        #
42        #=== Warning
43        #This method *SHOULD* be overrided in derived classes.
44        def init_ui
45      end      end
46    
47      #Terminate this view instance.      #Terminate this view instance.

Legend:
Removed from v.12  
changed lines
  Added in v.15

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