Logo Search packages:      
Sourcecode: ion3 version File versions  Download package


 * ion/panews/splitfloat.h
 * Copyright (c) Tuomo Valkonen 1999-2006. 
 * Ion is free software; you can redistribute it and/or modify it under
 * the terms of the GNU Lesser General Public License as published by
 * the Free Software Foundation; either version 2.1 of the License, or
 * (at your option) any later version.


#include <ioncore/common.h>
#include <ioncore/gr.h>
#include "split.h"
#include "ionws.h"


#include "panehandle.h"

    WSplitSplit ssplit;
    WPaneHandle *tlpwin, *brpwin;

extern bool splitfloat_init(WSplitFloat *split, const WRectangle *geom,
                            WIonWS *ws, int dir);

extern WSplitFloat *create_splitfloat(const WRectangle *geom, 
                                      WIonWS *ws, int dir);

extern void splitfloat_deinit(WSplitFloat *split);

extern void splitfloat_update_handles(WSplitFloat *split, 
                                      const WRectangle *tlg,
                                      const WRectangle *brg);
extern void splitfloat_tl_pwin_to_cnt(WSplitFloat *split, WRectangle *g);
extern void splitfloat_br_pwin_to_cnt(WSplitFloat *split, WRectangle *g);
extern void splitfloat_tl_cnt_to_pwin(WSplitFloat *split, WRectangle *g);
extern void splitfloat_br_cnt_to_pwin(WSplitFloat *split, WRectangle *g);

extern void splitfloat_flip(WSplitFloat *split);

extern WSplit *load_splitfloat(WIonWS *ws, const WRectangle *geom, 
                               ExtlTab tab);

extern WSplitRegion *splittree_split_floating(WSplit *node, int dir, 
                                              int primn, int nmins, 
                                              WRegionSimpleCreateFn *fn, 
                                              WIonWS *ws);


Generated by  Doxygen 1.6.0   Back to index