Go to the SVN repository for this file.
34 #include <wx/dcclient.h> 53 constwxBitmap& bitmap,
54 constwxBitmap& hoverBitmap,
56: m_Bitmap(bitmap), m_HoverBitmap(hoverBitmap), m_MouseOver(
false)
58Create(parent,
id, pos, wxSize(m_Bitmap.GetWidth(), m_Bitmap.GetHeight()), wxBORDER_NONE);
70 if(GetClientRect().
Contains(event.GetPosition())) {
102 if(GetClientRect().
Contains(event.GetPosition())) {
103wxCommandEvent btnEvent(wxEVT_BUTTON,
GetId());
104btnEvent.SetEventObject(
this);
105GetParent()->GetEventHandler()->AddPendingEvent(btnEvent);
void OnPaint(wxPaintEvent &event)
void OnMouseLeave(wxMouseEvent &event)
void OnMouseUp(wxMouseEvent &event)
void OnCaptureLost(wxMouseCaptureLostEvent &event)
void OnMouseDown(wxMouseEvent &event)
void OnMotion(wxMouseEvent &event)
const CSeq_id & GetId(const CSeq_loc &loc, CScope *scope)
If all CSeq_ids embedded in CSeq_loc refer to the same CBioseq, returns the first CSeq_id found,...
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
static bool Contains(const CSeq_loc &a, const CSeq_loc &b, CScope *scope)
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