Develop and Download Open Source Software

Browse Subversion Repository

Contents of /mini_window.rb

Parent Directory Parent Directory | Revision Log Revision Log


Revision 15 - (show annotations) (download)
Sat Apr 7 14:27:59 2007 UTC (16 years, 11 months ago) by bluedwarf
File size: 1425 byte(s)
Changes around the windows' initialization.

1 # mini_window.rb: the module definition of Edmaru::MiniWindow
2 #
3 # Copyright (C) 2007 Takashi Nakamoto
4 #
5 # This program is free software; you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License version 2 as
7 # published by the Free Software Foundation.
8 #
9 # This program is distributed in the hope that it will be useful, but
10 # WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 # General Public License for more details.
13 #
14 # You should have received a copy of the GNU General Public License
15 # along with this program; if not, write to the Free Software
16 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
17 # 02110-1301 USA.
18 #
19
20 require "window.rb"
21
22 module Edmaru
23
24 #A special window that doesn't have modeline bar.
25 module MiniWindow
26
27 #Construct a window instance.
28 #
29 #=== Warning
30 #This method *MUST* *NOT* be overrided in derived classes.
31 #
32 #=== Return
33 #An initialized instance of Window.
34 def initialize(view)
35 @view = view
36
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
46
47 #Terminate this view instance.
48 #
49 #=== Warning
50 #This method *SHOULD* be overrided in derived classes.
51 def terminate
52 end
53 end
54 end

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