I did my best to exempt some of the bigger aligned blocks from the reformatting using the /* clang-format off */ and /* clang-format on */ tags. Probably some that shouldn't have been formatted were anyway; if you encounter them, please fix. The clang-format tags were left in on the basis that it's much easier to prune those out later than to put them back in, and it means that, modulo my custom version of clang-format, I should be able to run clang-format on the source tree again without changing anything, now that Pat has fixed the VA_DECL issues.
26 lines
747 B
C
26 lines
747 B
C
/* NetHack may be freely redistributed. See license for details. */
|
|
|
|
#ifndef MSWINCMDWindow_h
|
|
#define MSWINCMDWindow_h
|
|
|
|
#include "winMS.h"
|
|
#include "config.h"
|
|
#include "global.h"
|
|
|
|
HWND mswin_init_command_window();
|
|
|
|
/* if either sz->cx or sz->cy are already set this function will
|
|
no modify it. It will adjust them to the minimum size
|
|
required by the command window */
|
|
void mswin_command_window_size(HWND hwnd, LPSIZE sz);
|
|
|
|
#if defined(WIN_CE_SMARTPHONE)
|
|
/* special keypad input handling for SmartPhone */
|
|
BOOL NHSPhoneTranslateKbdMessage(WPARAM wParam, LPARAM lParam, BOOL keyDown);
|
|
void NHSPhoneSetKeypadFromString(const char *str);
|
|
void NHSPhoneSetKeypadDirection();
|
|
void NHSPhoneSetKeypadDefault();
|
|
#endif
|
|
|
|
#endif /* MSWINCMDWindow_h */
|