OpenCPN Partial API docs
Loading...
Searching...
No Matches
toolbar.h File Reference

OpenCPN Toolbar. More...

#include <vector>
#include <wx/bitmap.h>
#include <wx/dynarray.h>
#include <wx/string.h>
#include <wx/tbarbase.h>
#include <wx/menuitem.h>
#include "ocpndc.h"
#include "tooltip.h"
#include "styles.h"

Go to the source code of this file.

Classes

class  ToolbarItemContainer
 Container for toolbar item properties. More...
 
class  ocpnToolBarSimple
 Generic toolbar implementation in pure wxWidgets adapted from wxToolBarSimple (deprecated). More...
 
class  ocpnFloatingToolbarDialog
 Floating toolbar dialog for OpenCPN. More...
 
class  ToolbarMOBDialog
 
class  ToolbarChoicesDialog
 

Macros

#define TOOLTIPON_TIMER   10000
 
#define TOOLTIPOFF_TIMER   10001
 
#define FADE_TIMER   2
 
#define DESTROY_TIMER   3
 
#define SYMBOL_ToolbarChoices_STYLE    wxCAPTION | wxRESIZE_BORDER | wxSYSTEM_MENU | wxCLOSE_BOX
 

Typedefs

typedef std::vector< ToolbarItemContainer * > ArrayOfToolbarItemContainer
 

Enumerations

enum  { TOOLBAR_HIDE_TO_GRABBER = 0 , TOOLBAR_HIDE_TO_FIRST_TOOL }
 

Variables

ocpnFloatingToolbarDialogg_MainToolbar
 Global instance.
 

Detailed Description

OpenCPN Toolbar.

Definition in file toolbar.h.

Macro Definition Documentation

◆ DESTROY_TIMER

#define DESTROY_TIMER   3

Definition at line 385 of file toolbar.h.

◆ FADE_TIMER

#define FADE_TIMER   2

Definition at line 384 of file toolbar.h.

◆ SYMBOL_ToolbarChoices_STYLE

#define SYMBOL_ToolbarChoices_STYLE    wxCAPTION | wxRESIZE_BORDER | wxSYSTEM_MENU | wxCLOSE_BOX

Definition at line 560 of file toolbar.h.

◆ TOOLTIPOFF_TIMER

#define TOOLTIPOFF_TIMER   10001

Definition at line 94 of file toolbar.h.

◆ TOOLTIPON_TIMER

#define TOOLTIPON_TIMER   10000

Definition at line 93 of file toolbar.h.

Typedef Documentation

◆ ArrayOfToolbarItemContainer

typedef std::vector<ToolbarItemContainer *> ArrayOfToolbarItemContainer

Definition at line 91 of file toolbar.h.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum

Definition at line 96 of file toolbar.h.

Variable Documentation

◆ g_MainToolbar

ocpnFloatingToolbarDialog* g_MainToolbar
extern

Global instance.

Definition at line 65 of file toolbar.cpp.