FlightGear next
FGWindowsMenuBar.cxx File Reference
#include "FGWindowsMenuBar.hxx"
#include <cstring>
#include <windows.h>
#include <osgViewer/GraphicsWindow>
#include <osgViewer/Viewer>
#include <osgViewer/api/Win32/GraphicsWindowWin32>
#include <simgear/debug/logstream.hxx>
#include <simgear/misc/strutils.hxx>
#include <simgear/props/props.hxx>
#include <simgear/props/props_io.hxx>
#include <simgear/structure/SGBinding.hxx>
#include <Main/fg_props.hxx>
#include <Main/globals.hxx>
#include <Viewer/renderer.hxx>
#include "new_gui.hxx"
#include <iostream>

Go to the source code of this file.

Classes

class  FGWindowsMenuBar::WindowsMenuBarPrivate
 

Functions

static HWND getMainViewerHWND ()
 
static bool nameIsSeparator (const std::string &n)
 
static LRESULT CALLBACK menubarWindowProc (HWND hWnd, UINT Msg, WPARAM wParam, LPARAM lParam)
 

Variables

LONG_PTR g_prevWindowProc
 

Function Documentation

◆ getMainViewerHWND()

static HWND getMainViewerHWND ( )
static

Definition at line 32 of file FGWindowsMenuBar.cxx.

◆ menubarWindowProc()

static LRESULT CALLBACK menubarWindowProc ( HWND hWnd,
UINT Msg,
WPARAM wParam,
LPARAM lParam )
static

Definition at line 58 of file FGWindowsMenuBar.cxx.

◆ nameIsSeparator()

static bool nameIsSeparator ( const std::string & n)
static

Definition at line 53 of file FGWindowsMenuBar.cxx.

Variable Documentation

◆ g_prevWindowProc

LONG_PTR g_prevWindowProc

Definition at line 30 of file FGWindowsMenuBar.cxx.