Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

57 lines (46 sloc) 1.48 kb
/*******************************************************************************
*
* Copyright (C) 2009, Alexander Stigsen, e-texteditor.com
*
* This software is licensed under the Open Company License as described
* in the file license.txt, which you should have received as part of this
* distribution. The terms are also available at http://opencompany.org/license.
*
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
* KIND, either express or implied.
*
******************************************************************************/
#ifndef __REVTOOLTIP_H__
#define __REVTOOLTIP_H__
#include "wx/wxprec.h"
#ifndef WX_PRECOMP
#include <wx/wx.h>
#endif
#include "wx/popupwin.h"
class CatalystWrapper;
class doc_id;
class RevTooltip : public wxPopupWindow {
public:
RevTooltip(const CatalystWrapper& catalyst);
RevTooltip(wxWindow *parent, const CatalystWrapper& catalyst);
void Create(wxWindow *parent);
void SetDocument(const doc_id& di, wxPoint pos);
private:
class ColorBox : public wxWindow {
public:
ColorBox(wxWindow* parent, wxWindowID id);
};
const CatalystWrapper& m_catalyst;
wxPanel* m_mainPanel;
wxBoxSizer* m_mainSizer;
wxBoxSizer* m_mirrorSizer;
wxStaticBitmap* m_userPic;
wxStaticText* m_userName;
ColorBox* m_userColor;
wxStaticText* m_dateCtrl;
wxStaticText* m_descCtrl;
wxStaticText* m_labelCtrl;
wxStaticText* m_mirrorstatCtrl;
wxStaticText* m_mirrorlistCtrl;
};
#endif // __REVTOOLTIP_H_
Jump to Line
Something went wrong with that request. Please try again.