| 1 |
#ifndef DAPTOOLTIP_HPP |
| 2 |
#define DAPTOOLTIP_HPP |
| 3 |
|
| 4 |
#include "clThemedTreeCtrl.h" |
| 5 |
#include "dap/Client.hpp" |
| 6 |
|
| 7 |
#include <unordered_map> |
| 8 |
#include <wx/popupwin.h> |
| 9 |
|
| 10 |
class DAPVariableListCtrl; |
| 11 |
class DAPTooltip : public wxPopupWindow |
| 12 |
{ |
| 13 |
dap::Client* m_client = nullptr; |
| 14 |
DAPVariableListCtrl* m_list = nullptr; |
| 15 |
|
| 16 |
protected: |
| 17 |
void OnKeyDown(wxKeyEvent& event); |
| 18 |
|
| 19 |
public: |
| 20 |
DAPTooltip(dap::Client* client, const wxString& expression, const wxString& result, const wxString& type, |
| 21 |
int variableReference); |
| 22 |
virtual ~DAPTooltip(); |
| 23 |
void UpdateChildren(int varId, dap::VariablesResponse* response); |
| 24 |
}; |
| 25 |
|
| 26 |
#endif // DAPTOOLTIP_HPP |