LibreOffice Module vcl (master)  1
Classes | Macros | Functions
splitwin.cxx File Reference
#include <string.h>
#include <sal/log.hxx>
#include <vcl/event.hxx>
#include <vcl/wall.hxx>
#include <vcl/help.hxx>
#include <vcl/splitwin.hxx>
#include <vcl/settings.hxx>
#include <vcl/ptrstyle.hxx>
#include <svdata.hxx>
#include <strings.hrc>
Include dependency graph for splitwin.cxx:

Go to the source code of this file.

Classes

class  ImplSplitItem
 
class  ImplSplitSet
 

Macros

#define SPLITWIN_SPLITSIZE   4
 
#define SPLITWIN_SPLITSIZEEX   4
 
#define SPLITWIN_SPLITSIZEEXLN   7
 
#define SPLITWIN_SPLITSIZEAUTOHIDE   72
 
#define SPLITWIN_SPLITSIZEFADE   72
 
#define SPLIT_HORZ   (sal_uInt16(0x0001))
 
#define SPLIT_VERT   (sal_uInt16(0x0002))
 
#define SPLIT_WINDOW   (sal_uInt16(0x0004))
 
#define SPLIT_NOSPLIT   (sal_uInt16(0x8000))
 

Functions

static void ImplCalcBorder (WindowAlign eAlign, long &rLeft, long &rTop, long &rRight, long &rBottom)
 
static ImplSplitSetImplFindSet (ImplSplitSet *pSet, sal_uInt16 nId)
 
static ImplSplitSetImplFindItem (ImplSplitSet *pSet, sal_uInt16 nId, sal_uInt16 &rPos)
 
static sal_uInt16 ImplFindItem (ImplSplitSet *pSet, vcl::Window *pWindow)
 
static sal_uInt16 ImplFindItem (ImplSplitSet *pSet, const Point &rPos, bool bRows, bool bDown=true)
 
static void ImplCalcSet (ImplSplitSet *pSet, long nSetLeft, long nSetTop, long nSetWidth, long nSetHeight, bool bRows, bool bDown=true)
 
static void ImplCalcLogSize (std::vector< ImplSplitItem > &rItems, size_t nItems)
 
static void ImplDrawSplit (vcl::RenderContext &rRenderContext, ImplSplitSet *pSet, bool bRows, bool bDown)
 

Macro Definition Documentation

#define SPLIT_HORZ   (sal_uInt16(0x0001))
#define SPLIT_NOSPLIT   (sal_uInt16(0x8000))
#define SPLIT_VERT   (sal_uInt16(0x0002))
#define SPLIT_WINDOW   (sal_uInt16(0x0004))
#define SPLITWIN_SPLITSIZE   4

Definition at line 35 of file splitwin.cxx.

Referenced by SplitWindow::GetFadeInSize().

#define SPLITWIN_SPLITSIZEAUTOHIDE   72

Definition at line 38 of file splitwin.cxx.

Referenced by SplitWindow::ImplGetButtonRect().

#define SPLITWIN_SPLITSIZEEX   4

Definition at line 36 of file splitwin.cxx.

Referenced by SplitWindow::GetFadeInSize(), and SplitWindow::ImplGetButtonRect().

#define SPLITWIN_SPLITSIZEEXLN   7
#define SPLITWIN_SPLITSIZEFADE   72

Definition at line 39 of file splitwin.cxx.

Referenced by SplitWindow::ImplGetButtonRect().

Function Documentation

static void ImplCalcBorder ( WindowAlign  eAlign,
long &  rLeft,
long &  rTop,
long &  rRight,
long &  rBottom 
)
static

Definition at line 145 of file splitwin.cxx.

Referenced by SplitWindow::ImplInit(), and SplitWindow::ImplNewAlign().

static void ImplCalcLogSize ( std::vector< ImplSplitItem > &  rItems,
size_t  nItems 
)
static

Definition at line 815 of file splitwin.cxx.

References i, PercentSize, and RelativeSize.

Referenced by SplitWindow::SplitItem().

static void ImplCalcSet ( ImplSplitSet pSet,
long  nSetLeft,
long  nSetTop,
long  nSetWidth,
long  nSetHeight,
bool  bRows,
bool  bDown = true 
)
static
static void ImplDrawSplit ( vcl::RenderContext rRenderContext,
ImplSplitSet pSet,
bool  bRows,
bool  bDown 
)
static
static ImplSplitSet* ImplFindItem ( ImplSplitSet pSet,
sal_uInt16  nId,
sal_uInt16 &  rPos 
)
static
static sal_uInt16 ImplFindItem ( ImplSplitSet pSet,
vcl::Window pWindow 
)
static
static sal_uInt16 ImplFindItem ( ImplSplitSet pSet,
const Point rPos,
bool  bRows,
bool  bDown = true 
)
static
static ImplSplitSet* ImplFindSet ( ImplSplitSet pSet,
sal_uInt16  nId 
)
static