Clipboard refactor #16

Merged
IoI_xD merged 8 commits from clipboard into master 2026-04-16 13:53:42 +09:00
Showing only changes of commit e77eb5e08a - Show all commits

add clipboard stuff to milsko.xml

IoI_xD 2026-04-15 11:14:13 -07:00

View file

@ -1,4 +1,4 @@
<?xml version="1.0"?>
<?xml version="1.0" ?>
<!--
Basically, you have to implement 10+n types:
- Integer (int)
@ -67,7 +67,10 @@
<integer name="hasBorder" />
<integer name="inverted" />
<integer name="modernLook" common="yes" />
<integer name="waitMS" common="yes" /> <!-- This is a special property, only applies to toplevel widget -->
<integer
name="waitMS"
common="yes"
/> <!-- This is a special property, only applies to toplevel widget -->
<integer name="hideInput" />
<integer name="singleClickSelectable" />
<integer name="flat" />
@ -146,6 +149,10 @@
<integer name="MwMB_ICONERROR" />
<integer name="MwMB_ICONCLOCK" />
</enumeration>
<enumeration name="MwClipboardType">
<integer name="MwClipboardMain">0</integer>
<integer name="MwClipboardPrimary" />
</enumeration>
</enumerations>
<constants>
<integer name="MwDEFAULT">0x0fffffff</integer>
@ -399,6 +406,19 @@
<struct defname="MwRect" pointer="yes" name="rect" />
</arguments>
</function>
<function name="MwGetClipboard">
<arguments>
<widget name="handle" />
<struct defname="MwClipboardType" pointer="no" name="clipboard_type" />
</arguments>
</function>
<function name="MwSetClipboard">
<arguments>
<widget name="handle" />
<string name="text" />
<enum defname="MwClipboardType" pointer="no" name="clipboard_type" />
</arguments>
</function>
</functions>
</header>
<header name="FileChooser">