1 #ifndef GGUI_WIDGETS_WX___STICKY_TOOL_HANDLER__HPP
2 #define GGUI_WIDGETS_WX___STICKY_TOOL_HANDLER__HPP
131 #include <wx/timer.h>
136 #if defined(__WXOSX_CARBON__) || defined(__WXMAC_CARBON__)
137 #include <Carbon/Carbon.h>
196 wxFrame* GetUnderlyingFrame();
199 bool IsFloatingWindow();
203 void RaiseOverlappingWindows(wxRect
r);
207 void InitWindowGroup(
int dock_count=0);
214 #if defined(__WXOSX_CARBON__) || defined(__WXMAC_CARBON__)
216 WindowGroupRef GetWindowGroup() {
return m_TipGroupWinRef; }
217 WindowGroupRef m_TipGroupWinRef;
220 CWindowRef() : m_Ref(
NULL), m_DockCount(0) {}
221 CWindowRef(WindowGroupRef
r,
int dc) : m_Ref(
r), m_DockCount(dc) {}
222 WindowGroupRef m_Ref;
226 static std::vector<std::pair<wxWindow*,CWindowRef> > sm_Windows;
251 static void RegisterCommands();
276 virtual void ClearUnpinned();
279 virtual void ParentMove(
const wxPoint& screen_pos);
281 virtual void ParentShow(
bool show);
283 virtual void Resize();
285 virtual void OnTimer(wxTimerEvent& event);
289 virtual void Suspend();
291 virtual void ReCreate(
int dock_count = 0);
293 virtual void OnSetFocus();
296 void CheckForNewTip(wxPoint pos);
300 void OnMotion(wxMouseEvent& event);
301 void OnRightMouseDown(wxMouseEvent& event);
302 void OnMouseWheel(wxMouseEvent& event);
303 void OnLeaveWindow(wxMouseEvent& event);
304 void OnSize(wxSizeEvent& event);
305 void OnWindowMoveCmd(wxCommandEvent& event);
306 void OnSuspendCmd(wxCommandEvent& event);
307 void OnReCreateCmd(wxCommandEvent& event);
308 void OnMainWindowDockCmd(wxCommandEvent& event);
309 void OnActivateCmd(wxCommandEvent& event);
310 void OnWindowShowCmd(wxCommandEvent& event);
311 void OnWindowHideCmd(wxCommandEvent& event);
312 void OnTipRelease(wxCommandEvent& event);
313 void OnTipMove(wxCommandEvent& event);
317 void OnPinTip(wxCommandEvent& event);
333 bool checkChildFocus(wxWindow* fwin, wxWindow* checkwin);
372 DECLARE_EVENT_TABLE()
Interface, used to forward handling of URL click events.
IServiceLocator - an abstract mechanism for locating services.
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
#define NCBI_GUIWIDGETS_WX_EXPORT
Defines to provide correct exporting from DLLs in Windows.
Front end for a platform-specific configuration summary.
The NCBI C++/STL use hints.
double r(size_t dimension_, const Int4 *score_, const double *prob_, double theta_)