about summary refs log tree commit diff stats
path: root/eye_indicator.h
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2023-05-02 23:12:11 -0400
committerStar Rauchenberger <fefferburbia@gmail.com>2023-05-02 23:12:11 -0400
commit1af4d354fbbded3b8086e370b6f4c20d084a5d68 (patch)
tree233954aa0b120eb88ef01dd6407c976f931a5ff1 /eye_indicator.h
parente55c6a4b46708233a6016a253156a8967442f3a8 (diff)
downloadlingo-ap-tracker-1af4d354fbbded3b8086e370b6f4c20d084a5d68.tar.gz
lingo-ap-tracker-1af4d354fbbded3b8086e370b6f4c20d084a5d68.tar.bz2
lingo-ap-tracker-1af4d354fbbded3b8086e370b6f4c20d084a5d68.zip
Typo from copy paste
Diffstat (limited to 'eye_indicator.h')
0 files changed, 0 insertions, 0 deletions
{ color: #bb0066; font-weight: bold } /* Name.Tag */ .highlight .nv { color: #336699 } /* Name.Variable */ .highlight .ow { color: #008800 } /* Operator.Word */ .highlight .w { color: #bbbbbb } /* Text.Whitespace */ .highlight .mb { color: #0000DD; font-weight: bold } /* Literal.Number.Bin */ .highlight .mf { color: #0000DD; font-weight: bold } /* Literal.Number.Float */ .highlight .mh { color: #0000DD; font-weight: bold } /* Literal.Number.Hex */ .highlight .mi { color: #0000DD; font-weight: bold } /* Literal.Number.Integer */ .highlight .mo { color: #0000DD; font-weight: bold } /* Literal.Number.Oct */ .highlight .sa { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Affix */ .highlight .sb { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Backtick */ .highlight .sc { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Char */ .highlight .dl { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Delimiter */ .highlight .sd { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Doc */ .highlight .s2 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Double */ .highlight .se { color: #0044dd; background-color: #fff0f0 } /* Literal.String.Escape */ .highlight .sh { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Heredoc */ .highlight .si { color: #3333bb; background-color: #fff0f0 } /* Literal.String.Interpol */ .highlight .sx { color: #22bb22; background-color: #f0fff0 } /* Literal.String.Other */ .highlight .sr { color: #008800; background-color: #fff0ff } /* Literal.String.Regex */ .highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */ .highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
#ifndef AREA_WINDOW_H_C2653ACF
#define AREA_WINDOW_H_C2653ACF

#include <wx/wxprec.h>

#ifndef WX_PRECOMP
#include <wx/wx.h>
#endif

#include "area_popup.h"

class AreaWindow : public wxWindow {
 public:
  static constexpr int ACTUAL_SIZE = 64;
  static constexpr int BORDER_SIZE = 5;
  static constexpr int EFFECTIVE_SIZE = ACTUAL_SIZE + BORDER_SIZE * 2;

  AreaWindow(wxWindow* parent, int area_id, AreaPopup* popup);

  int GetAreaId() const { return area_id_; }

  AreaPopup* GetPopup() { return popup_; }

 private:
  void OnPaint(wxPaintEvent& event);
  void OnEnterWindow(wxMouseEvent& event);
  void OnLeaveWindow(wxMouseEvent& event);

  void Redraw();

  int area_id_;
  wxBitmap rendered_;
  AreaPopup* popup_;
};

#endif /* end of include guard: AREA_WINDOW_H_C2653ACF */