about summary refs log tree commit diff stats
path: root/data/maps/the_symbolic/connections.txtpb
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2025-11-14 19:15:59 -0500
committerStar Rauchenberger <fefferburbia@gmail.com>2025-11-14 19:15:59 -0500
commita1e3be8e5b7911f7e3ad13173bd9ee14862bb496 (patch)
tree102fb9f91ff6f08a98dda48342346ce3c4ab50c7 /data/maps/the_symbolic/connections.txtpb
parentd9b6fe13be557db60b2793a30b55b0d64ae13b7a (diff)
downloadlingo2-archipelago-a1e3be8e5b7911f7e3ad13173bd9ee14862bb496.tar.gz
lingo2-archipelago-a1e3be8e5b7911f7e3ad13173bd9ee14862bb496.tar.bz2
lingo2-archipelago-a1e3be8e5b7911f7e3ad13173bd9ee14862bb496.zip
Prevent creating anti number traps
Diffstat (limited to 'data/maps/the_symbolic/connections.txtpb')
0 files changed, 0 insertions, 0 deletions
.nl { color: #336699; font-style: italic } /* Name.Label */ .highlight .nn { color: #bb0066; font-weight: bold } /* Name.Namespace */ .highlight .py { color: #336699; font-weight: bold } /* Name.Property */ .highlight .nt { 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_POPUP_H_03FAC988
#define AREA_POPUP_H_03FAC988

#include <wx/wxprec.h>

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

#include <vector>

class AreaPopup : public wxScrolledCanvas {
 public:
  AreaPopup(wxWindow* parent, int area_id);

  void ResetIndicators();
  void UpdateIndicators();

  int GetFullWidth() const { return full_width_; }
  int GetFullHeight() const { return full_height_; }

 private:
  enum IndicatorType {
    kLOCATION,
    kPAINTING,
  };

  struct IndicatorInfo {
    // For locations, the id is an index into the map area's locations list.
    // For paintings, it is a real painting id.
    int id;
    IndicatorType type;
    int y;

    IndicatorInfo(int id, IndicatorType type, int y)
        : id(id), type(type), y(y) {}
  };

  void OnPaint(wxPaintEvent& event);
  void OnDPIChanged(wxDPIChangedEvent& event);

  void LoadIcons();

  int area_id_;

  const wxBitmap* unchecked_eye_;
  const wxBitmap* checked_eye_;
  const wxBitmap* unchecked_owl_;
  const wxBitmap* checked_owl_;

  int full_width_ = 0;
  int full_height_ = 0;
  wxSize header_extent_;

  std::vector<IndicatorInfo> indicators_;

  wxBitmap rendered_;
};

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