mirror of
https://gitea.nishi.boats/pyrite-dev/milsko
synced 2026-01-11 11:53:29 +00:00
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@706 b9cfdab3-6d41-4d17-bbe4-086880011989
12 lines
513 B
Markdown
12 lines
513 B
Markdown
# 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`
|
|
|