Files
milsko/doc/NEWWIDGET.md
NishiOwO 6d38f88f0a j
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@714 b9cfdab3-6d41-4d17-bbe4-086880011989
2025-11-14 16:47:59 +00:00

513 B

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