nuttx-apps/examples/microwindows/Kconfig
Acfboy ce49ac9053 examples/microwindows: add mwdemo demo application
This ports mwdemo.c from Microwindows as a standalone NuttX example
application.  mwdemo is the primary Win32 API demo in the Microwindows
project, featuring 3D graphics, window controls, timer-driven
animation, and bitmap image rendering.

The demo runs on both qemu-intel64:mw and sim:mw configurations.

Signed-off-by: Acfboy <AcfboyU@outlook.com>

examples/microwindows: address review, clean up mwdemo.

- Replace minimal copyright notice with full Apache 2.0 license header
- Use angle brackets for system and microwindows includes
- Remove OS-specific dead code (DOS_TURBOC, RTEMS, EMSCRIPTEN/MULTIAPP)
- Drop unused demo-mode macros and their corresponding dead code paths
  (IMAGE, CLIENT3D, CLIPDEMO, ARCDEMO).  Keep a fixed GRAPH3D+CONTROLS
  configuration as the single NuttX demo.
- Add g_ prefix to global variable (image -> g_image)
- Move demoWndData typedef from mid-file to Private Types section
- Merge WinMain body into main() and remove the WinMain indirection
- Removed unused images.

Signed-off-by: Acfboy <AcfboyU@outlook.com>
2026-07-28 09:53:05 +02:00

26 lines
588 B
Text

config EXAMPLES_MICROWINDOWS
tristate "Microwindows example"
default n
depends on GRAPHICS_MICROWINDOWS
depends on MICROWINDOWS_MWIN
---help---
Enable the Microwindows example application
if EXAMPLES_MICROWINDOWS
config EXAMPLES_MICROWINDOWS_PROGNAME
string "Program name"
default "mwexample"
---help---
This is the name of the program that will be used when the NSH ELF
program is installed.
config EXAMPLES_MICROWINDOWS_PRIORITY
int "Microwindows task priority"
default 100
config EXAMPLES_MICROWINDOWS_STACKSIZE
int "Microwindows stack size"
default 32768
endif