mirror of
https://github.com/Facepunch/sbox-public.git
synced 2026-05-24 23:07:02 -04:00
This commit imports the C# engine code and game files, excluding C++ source code. [Source-Commit: ceb3d758046e50faa6258bc3b658a30c97743268]
27 lines
733 B
Modula-2
27 lines
733 B
Modula-2
|
|
#include "qhammermainwnd.h"
|
|
|
|
native enum DockArea as Editor.DockArea;
|
|
|
|
native class CQHammerMainWnd as Native.CQHammerMainWnd : CFramelessMainWindow
|
|
{
|
|
// static CManagedMainWindow Create( QWidget parent, Window managedobj ); [new]
|
|
|
|
void CreateEverything();
|
|
void CreateMenus();
|
|
void SetupDefaultLayout();
|
|
}
|
|
|
|
managed class Editor.MapEditor.HammerMainWindow
|
|
{
|
|
void WindowInit();
|
|
void AddNativeDock( string name, string icon, QWidget sibling, QWidget window, Editor.DockArea dockArea, Editor.DockManager.DockProperty properties, float split );
|
|
|
|
void CreateDynamicViewMenu( QMenu menu );
|
|
|
|
void ToggleAssetBrowser();
|
|
void ToggleFullscreenLayout( bool fullscreen );
|
|
|
|
static uint InitHammerMainWindow( CQHammerMainWnd window );
|
|
}
|