git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@706 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
NishiOwO
2025-11-14 12:13:31 +00:00
parent 51df555b5a
commit b7fee743dc
12 changed files with 48 additions and 12 deletions

11
doc/LOWLEVEL.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`