;; -*- emacs-lisp -*-
;;; middle --- Window configuration style spec for `middle'.
;; Copyright (C) 1998 Daiki Ueno <daiki@kake.info.waseda.ac.jp>
;; See file liece-copyright.el for original change log and copyright info.

;; Author: Daiki Ueno <daiki@kake.info.waseda.ac.jp>
;; Created: 1999-01-08
;; Revised: 1999-01-08
;; Keywords: IRC, liece

;; This file is part of Liece.

;; This program is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation; either version 2, or (at your option)
;; any later version.

;; This program is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.	 See the
;; GNU General Public License for more details.

;; You should have received a copy of the GNU General Public License
;; along with GNU Emacs; see the file COPYING.  If not, write to the
;; Free Software Foundation, Inc., 59 Temple Place - Suite 330,
;; Boston, MA 02111-1307, USA.

;;; Code:

(liece-window-add-style
 (command-buffer-mode . any)
 (channel-buffer-mode . t) 
 (nick-buffer-mode . t)
 (channel-list-buffer-mode . t)
 (configuration 
  (horizontal
   1.0
   (vertical
    1.0
    (channel liece-channel-window-height-percent)
    (command 3 point)
    (others 1.0))
   (vertical
    liece-nick-window-width-percent
    (nick 0.5)
    (channel-list 1.0)))))

(liece-window-add-style
 (command-buffer-mode . any)
 (channel-buffer-mode . t) 
 (nick-buffer-mode . nil)
 (channel-list-buffer-mode . t)
 (configuration 
  (vertical
   1.0
   (horizontal 
    1.0
    (others 1.0)
    (channel-list 
     liece-channel-list-window-width-percent))
   (horizontal
    liece-channel-window-height-percent
    (channel 1.0))
   (command 3 point))))

(liece-window-add-style
 (command-buffer-mode . any)
 (channel-buffer-mode . t) 
 (nick-buffer-mode . nil)
 (channel-list-buffer-mode . nil)
 (configuration 
  (vertical
   1.0
   (others 1.0)
   (channel liece-channel-window-height-percent)
   (command 3 point))))

(liece-window-add-style
 (command-buffer-mode . any)
 (channel-buffer-mode . nil) 
 (nick-buffer-mode . any)
 (channel-list-buffer-mode . any)
 (configuration 
  (vertical
   1.0
   (dialogue 1.0)
   (command 3 point))))
