MacLO/src/MacCommon.h
Jon Thysell 2ce4236ea7 Proper event loop, menus, and more
* Added a proper event loop
* Added minimal menu bars
* Added about menu
* GameWindow initializes a GameEngine (even if you can't play it yet)
* Updated variable naming conventions
2021-10-15 17:29:07 -07:00

20 lines
413 B
C

// Copyright (c) Jon Thysell <http://jonthysell.com>
// Licensed under the MIT License.
#ifndef MACCOMMON_H
#define MACCOMMON_H
#define BaseResID 128
#define MoveToFront (WindowPtr)-1L
#define EmptyString "\p"
#define NilFilterProc nil
#define ErrorAlertResID BaseResID
void CenterWindow(WindowPtr window);
Boolean IsCompactDisplay();
void ShowError(Str255 message, Boolean isFatal);
#endif