Project

General

Profile

Error with Bootstrap theme/internal paths » NavBar.h

Cory Rich, 12/04/2024 05:05 PM

 
#pragma once
#include <Wt/WApplication.h>
#include <Wt/WContainerwidget.h>
#include <Wt/WEnvironment.h>
#include <Wt/WLineEdit.h>
#include <Wt/WMenu.h>
#include <Wt/WMenuItem.h>
#include <Wt/WMessageBox.h>
#include <Wt/WNavigationBar.h>
#include <Wt/WPopupMenu.h>
#include <Wt/WPopupMenuItem.h>
#include <Wt/WStackedWidget.h>
#include <Wt/WTabWidget.h>
#include <Wt/WText.h>
#include <Wt/WPushButton.h>

#include <Wt/WFitLayout.h>
#include <Wt/WBootstrapTheme.h>
#include <Wt/WBootstrap2Theme.h>
#include <Wt/WBootstrap3Theme.h>
#include <Wt/WBootstrap5Theme.h>
#include <Wt/WLayout.h>

#ifndef _HEADER_NAVBAR
#define _HEADER_NAVBAR

using namespace Wt;

class CNavBar : public WContainerWidget
{
public:
CNavBar();
~CNavBar();

private:
std::unique_ptr<Wt::WContainerWidget> MenuContainer_;
std::unique_ptr<Wt::WStackedWidget> MenuContents_;
};
#endif
(3-3/3)