/[freeride]/freeride/plugins/rubyide_fox_gui/dockbar.rb
ViewVC logotype

Diff of /freeride/plugins/rubyide_fox_gui/dockbar.rb

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

revision 1.1.1.1 by richkilmer, Fri Dec 20 17:27:31 2002 UTC revision 1.2 by richkilmer, Fri Dec 20 22:07:01 2002 UTC
# Line 121  module FreeRIDE Line 121  module FreeRIDE
121          end          end
122                    
123          def hide          def hide
124            unless @tb.getChildAt(7, 7) # Is there an open tab?            (@tb.numChildren-1).downto(0) do |i|
125              case @where              tab = @tb.childAtIndex(i)
126              when 'west'              return if (tab.kind_of? Fox::FXTabItem) && tab.shown
127                @resizeWidth = @parentFrame.width            end
128                @parentFrame.width = 0            case @where
129              when 'south'            when 'west'
130                @resizeHeight = @parentFrame.height              @resizeWidth = @parentFrame.width
131                @parentFrame.height = 0              @parentFrame.width = 0
132              end            when 'south'
133                @resizeHeight = @parentFrame.height
134                @parentFrame.height = 0
135            end            end
136          end          end
137                    

Legend:
Removed from v.1.1.1.1  
changed lines
  Added in v.1.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26