NCBI C++ ToolKit
Classes | Functions | Variables
track_container_track.cpp File Reference
#include <ncbi_pch.hpp>
#include <gui/widgets/seq_graphic/track_container_track.hpp>
#include <gui/widgets/seq_graphic/graph_overlay.hpp>
#include <gui/widgets/seq_graphic/layout_track_proxy.hpp>
#include <gui/widgets/seq_graphic/rendering_ctx.hpp>
#include <gui/widgets/wx/wx_utils.hpp>
#include <gui/objutils/reg_settings.hpp>
#include <gui/objutils/utils.hpp>
#include <wx/event.h>
#include <wx/menu.h>
+ Include dependency graph for track_container_track.cpp:

Go to the source code of this file.

Go to the SVN repository for this file.

Classes

class  CTrackContainerEvtHandler
 

Functions

static bool s_TrackByOrder (const CRef< CSeqGlyph > &t1, const CRef< CSeqGlyph > &t2)
 help functor for sorting CSeqGlyphs (known as CLayoutTrack) by order. More...
 
static string s_GetBestTrackTitle (const CTempTrackProxy *proxy, const CLayoutTrack *track)
 
static void s_UpdateTitle (CTempTrackProxy *proxy, CLayoutTrack *track)
 
static bool s_GetMenuTracks (CTempTrackProxy::TTrackProxies &dst_proxies, const CTempTrackProxy::TTrackProxies &src_proxies)
 

Variables

static const size_t kMaxMenuTracks = 25
 
static const int kBaseID = 10000
 
static const int kBaseID_Settings = kBaseID + kMaxMenuTracks
 
static const size_t kMaxNameLen = 50
 

Function Documentation

◆ s_GetBestTrackTitle()

static string s_GetBestTrackTitle ( const CTempTrackProxy proxy,
const CLayoutTrack track 
)
static

◆ s_GetMenuTracks()

static bool s_GetMenuTracks ( CTempTrackProxy::TTrackProxies dst_proxies,
const CTempTrackProxy::TTrackProxies src_proxies 
)
static

◆ s_TrackByOrder()

static bool s_TrackByOrder ( const CRef< CSeqGlyph > &  t1,
const CRef< CSeqGlyph > &  t2 
)
static

help functor for sorting CSeqGlyphs (known as CLayoutTrack) by order.

Definition at line 292 of file track_container_track.cpp.

References CLayoutTrack::GetOrder().

Referenced by CTrackContainer::SortChildTracksByOrder().

◆ s_UpdateTitle()

static void s_UpdateTitle ( CTempTrackProxy proxy,
CLayoutTrack track 
)
static

Variable Documentation

◆ kBaseID

const int kBaseID = 10000
static

◆ kBaseID_Settings

const int kBaseID_Settings = kBaseID + kMaxMenuTracks
static

◆ kMaxMenuTracks

const size_t kMaxMenuTracks = 25
static

Definition at line 45 of file track_container_track.cpp.

Referenced by s_GetMenuTracks().

◆ kMaxNameLen

const size_t kMaxNameLen = 50
static

Definition at line 49 of file track_container_track.cpp.

Referenced by CTrackContainer::x_CreateTracksMenu().

Modified on Wed Apr 17 13:08:20 2024 by modify_doxy.py rev. 669887