git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@714 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
NishiOwO
2025-11-14 16:47:59 +00:00
parent cf761bf19a
commit 6d38f88f0a
2 changed files with 1 additions and 1 deletions

11
doc/NEWWIDGET.md Normal file
View File

@@ -0,0 +1,11 @@
# Writing a new widget
@warning This is mainly for developers
1. Create new file in src/widget with lower case
2. Create new header in include/Mw/Widget with pascal case
3. Add the header include to include/Mw/Milsko.h, if new widget does not require some extension (like OpenGL and Vulkan)
4. See another widget for example
## LowLevel.h function tips
1. `MwLLSetSizeHints`, `MwLLMakeBorderless`, `MwLLMakeToolWindow`, `MwLLMakePopup` have to be called between `MwLLBeginStateChange` and `MwLLEndStateChange`