mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-16 18:35:35 +08:00
refs #335, adjusted main info area
* improved include file * removed unused method * getter for cockpit
This commit is contained in:
committed by
Roland Winklmeier
parent
858e8895d8
commit
3c223b2416
@@ -13,14 +13,7 @@
|
||||
#define BLACKGUI_MAININFOAREACOMPONENT_H
|
||||
|
||||
#include "../infoarea.h"
|
||||
#include "atcstationcomponent.h"
|
||||
#include "aircraftcomponent.h"
|
||||
#include "usercomponent.h"
|
||||
#include "textmessagecomponent.h"
|
||||
#include "simulatorcomponent.h"
|
||||
#include "flightplancomponent.h"
|
||||
#include "settingscomponent.h"
|
||||
#include "logcomponent.h"
|
||||
#include "allmaininfoareacomponents.h"
|
||||
#include <QTabBar>
|
||||
#include <QPixmap>
|
||||
#include <QScopedPointer>
|
||||
@@ -30,7 +23,6 @@ namespace BlackGui
|
||||
{
|
||||
namespace Components
|
||||
{
|
||||
|
||||
//! Main info area
|
||||
class CMainInfoAreaComponent : public BlackGui::CInfoArea
|
||||
{
|
||||
@@ -61,6 +53,9 @@ namespace BlackGui
|
||||
InfoAreaNone = -1
|
||||
};
|
||||
|
||||
//! Cockpit
|
||||
CCockpitComponent *getCockpitComponent();
|
||||
|
||||
//! ATC stations
|
||||
CAtcStationComponent *getAtcStationComponent();
|
||||
|
||||
@@ -85,9 +80,6 @@ namespace BlackGui
|
||||
//! Text messages
|
||||
CTextMessageComponent *getTextMessageComponent();
|
||||
|
||||
//! Selected area of non floating areas
|
||||
// InfoArea getSelectedInfoArea() const { return static_cast<InfoArea>(getSelectedTabBarIndex()); }
|
||||
|
||||
public slots:
|
||||
//! Toggle floating of given area
|
||||
void toggleFloating(InfoArea infoArea) { CInfoArea::toggleFloating(static_cast<int>(infoArea)); }
|
||||
|
||||
Reference in New Issue
Block a user