KiCad PCB EDA Suite
Loading...
Searching...
No Matches
menubar.cpp File Reference
#include "gerbview_frame.h"
#include <bitmaps.h>
#include "gerbview_id.h"
#include <kiface_base.h>
#include <tool/action_manager.h>
#include <tool/action_menu.h>
#include <tool/actions.h>
#include <tool/tool_manager.h>
#include <tools/gerbview_actions.h>
#include <tools/gerbview_selection_tool.h>
#include <widgets/wx_menubar.h>

Go to the source code of this file.

Macros

#define FileHistoryCond(x)
 

Macro Definition Documentation

◆ FileHistoryCond

#define FileHistoryCond ( x)
Value:
static SELECTION_CONDITION FileHistoryNotEmpty(const FILE_HISTORY &aHistory)
Create a SELECTION_CONDITION that can be used to enable a menu item when the file history has items i...
Functors that can be used to figure out how the action controls should be displayed in the UI and if ...
ACTION_CONDITIONS & Enable(const SELECTION_CONDITION &aCondition)

Referenced by GERBVIEW_FRAME::doReCreateMenuBar().