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)
65 int GetVertSpace()
const;
66 int GetTopMargin()
const;
70 void SetVertSpace(
int d);
71 void SetTopMargin(
int m);
72 void SetMaxRow(
int max);
74 void SetSorted(
bool flag);
75 void SetLimitRowPerGroup(
bool f);
77 void SetFillEmptySpaces(
bool f =
true);
116 bool m_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)