OpenCPN Partial API docs
PluginIconPanel Class Reference

A plugin icon, scaled to about 2/3 of available space. More...

Inheritance diagram for PluginIconPanel:

Public Member Functions

 PluginIconPanel (wxWindow *parent, std::string plugin_name)
 
void OnPaint (wxPaintEvent &event)
 

Protected Member Functions

void LoadIcon (const char *plugin_name, wxBitmap &bitmap, int size=32)
 

Protected Attributes

wxBitmap m_bitmap
 
const std::string m_plugin_name
 

Detailed Description

A plugin icon, scaled to about 2/3 of available space.

Load icons from .../uidata/plugins, on the form plugin.svg or plugin.png. If neither exists, display a default icon.

Definition at line 137 of file update_mgr.cpp.


The documentation for this class was generated from the following file: