If you have created a custom tool or window for display within the editor, you probably need some way to let the user make it appear. The easiest way to do this is to create a toolbar customization that adds a new toolbar button, and have it display your window when clicked. Create a new engine module by following the previous recipe, as we'll need it to initialize our toolbar customization.
Creating new toolbar buttons
How to do it...
- Inside of the Chapter_10Editor folder, create a new header file, CookbookCommands.h, and insert the following class declaration:
#pragma once
#include "Commands.h"
#include "EditorStyleSet.h"
class FCookbookCommands : public TCommands<FCookbookCommands>
{
public:
...