Go to the SVN repository for this file.
1 #ifndef GUI_WIDGETS_SEQ_GRAPHIC___LAYERED_LAYOUT_POLICY__HPP 2 #define GUI_WIDGETS_SEQ_GRAPHIC___LAYERED_LAYOUT_POLICY__HPP 58, m_LimitRowPerGroup(
true)
59, m_FillEmptySpaces(
true)
64 TSeqPosGetMinDist(
void)
const;
65 intGetVertSpace()
const;
66 intGetTopMargin()
const;
70 voidSetVertSpace(
intd);
71 voidSetTopMargin(
intm);
72 voidSetMaxRow(
int max);
74 voidSetSorted(
boolflag);
75 voidSetLimitRowPerGroup(
bool f);
77 voidSetFillEmptySpaces(
bool f=
true);
116 boolm_FillEmptySpaces =
true;
CLayeredLayout is a standard 2D layout policy.
void SetFillEmptySpaces(bool f=true)
void SetMaxHeight(int height)
bool m_Sorted
layout object already in sorted order.
int m_MaxRow
Maximal number of rows allowed.
TSeqPos GetMinDist(void) const
access the minimum distance between two objects.
bool m_FillEmptySpaces
< default: true, if possible insert new features in between otherwise only add them to the end of the...
TSeqPos m_MinDist
The minimum distance we permit two items to be within, horizontally.
void SetMinDist(TSeqPos dist)
void SetLimitRowPerGroup(bool f)
void SetSorted(bool flag)
CLayoutGroup is a container of CSeqGlyphs (layout objects).
class ILayoutPolicy defines the abstract interface required for generating layout based on a set of g...
virtual void x_SetObjectPos(TLayout &layout, SBoundingBox &bound) const
Set the objects' position (Y), and update the bounding box of the group (of all objects).
vector< TLayoutRow > TLayout
virtual void BuildLayout(CLayoutGroup &group, SBoundingBox &bound) const =0
Build layout for a list of layout objects.
unsigned int TSeqPos
Type for sequence locations and lengths.
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
#define NCBI_GUIWIDGETS_SEQGRAPHIC_EXPORT
Defines to provide correct exporting from DLLs in Windows.
Portable reference counted smart and weak pointers using CWeakRef, CRef, CObject and CObjectEx.
T bound(T x_, T xlo_, T xhi_)
static SLJIT_INLINE sljit_ins l(sljit_gpr r, sljit_s32 d, sljit_gpr x, sljit_gpr b)
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4