beginnings of drag and drop #33
7 changed files with 881 additions and 413 deletions
commit
4b3ce4132f
46
Doxyfile
46
Doxyfile
|
|
@ -1,22 +1,26 @@
|
|||
PROJECT_LOGO = resource / logo / logo64.png PROJECT_NAME = Milsko
|
||||
PROJECT_BRIEF = "Lightweight and fast GUI toolkit" OUTPUT_DIRECTORY = doxygen
|
||||
TAB_SIZE = 8 OPTIMIZE_OUTPUT_FOR_C = YES
|
||||
MARKDOWN_SUPPORT = YES
|
||||
FILE_PATTERNS = *.h*.md
|
||||
INPUT = include / Mw
|
||||
INPUT += doc
|
||||
RECURSIVE = YES
|
||||
SOURCE_BROWSER = YES
|
||||
HTML_DYNAMIC_MENUS = YES
|
||||
GENERATE_TREEVIEW = YES
|
||||
FULL_SIDEBAR = NO
|
||||
DISABLE_INDEX = NO
|
||||
HAVE_DOT = YES
|
||||
FULL_PATH_NAMES = YES
|
||||
STRIP_FROM_PATH = include / doc /
|
||||
ENABLED_SECTIONS = YES
|
||||
OUTPUT_LANGUAGE = English
|
||||
GENERATE_LATEX = NO
|
||||
EXTRACT_ALL = YES
|
||||
PROJECT_LOGO = resource/logo/logo64.png
|
||||
PROJECT_NAME = Milsko
|
||||
PROJECT_BRIEF = "Lightweight and fast GUI toolkit"
|
||||
OUTPUT_DIRECTORY = doxygen
|
||||
TAB_SIZE = 8
|
||||
OPTIMIZE_OUTPUT_FOR_C = YES
|
||||
MARKDOWN_SUPPORT = YES
|
||||
FILE_PATTERNS = *.h *.md
|
||||
INPUT = include/Mw
|
||||
INPUT += doc
|
||||
RECURSIVE = YES
|
||||
SOURCE_BROWSER = YES
|
||||
HTML_DYNAMIC_MENUS = YES
|
||||
GENERATE_TREEVIEW = YES
|
||||
FULL_SIDEBAR = NO
|
||||
DISABLE_INDEX = NO
|
||||
HAVE_DOT = YES
|
||||
FULL_PATH_NAMES = YES
|
||||
STRIP_FROM_PATH = include/ doc/
|
||||
ENABLED_SECTIONS = YES
|
||||
OUTPUT_LANGUAGE = English
|
||||
GENERATE_LATEX = NO
|
||||
EXTRACT_ALL = YES
|
||||
|
||||
HTML_EXTRA_STYLESHEET = resource / doxygen - theme / doxygen - awesome.css HTML_COLORSTYLE = LIGHT
|
||||
HTML_EXTRA_STYLESHEET = resource/doxygen-theme/doxygen-awesome.css
|
||||
HTML_COLORSTYLE = LIGHT
|
||||
|
|
|
|||
110
Jenkinsfile
vendored
110
Jenkinsfile
vendored
|
|
@ -1,14 +1,22 @@
|
|||
pipeline {
|
||||
agent{
|
||||
label "built-in"} stages {
|
||||
agent {
|
||||
label "built-in"
|
||||
}
|
||||
stages {
|
||||
stage("Build document") {
|
||||
when{
|
||||
branch "master"} agent{
|
||||
label "built-in"} steps{
|
||||
sh("rm -rf include/Mw/LowLevel/Wayland")
|
||||
when {
|
||||
branch "master"
|
||||
}
|
||||
agent {
|
||||
label "built-in"
|
||||
}
|
||||
steps {
|
||||
sh("rm -rf include/Mw/LowLevel/Wayland")
|
||||
sh("doxygen")
|
||||
sh("rm -rf /var/www/milsko-doxygen")
|
||||
sh("mv doxygen/html /var/www/milsko-doxygen")} post {
|
||||
sh("rm -rf /var/www/milsko-doxygen")
|
||||
sh("mv doxygen/html /var/www/milsko-doxygen")
|
||||
}
|
||||
post {
|
||||
always {
|
||||
notifyDiscord()
|
||||
}
|
||||
|
|
@ -17,59 +25,73 @@ pipeline {
|
|||
stage("Build") {
|
||||
parallel {
|
||||
stage("Build for Linux 64-bit") {
|
||||
agent{
|
||||
label "built-in"} steps {
|
||||
agent {
|
||||
label "built-in"
|
||||
}
|
||||
steps {
|
||||
sh("git clean -dfx")
|
||||
sh("./configure --enable-opengl --enable-vulkan --without-vulkan-string-helper")
|
||||
sh("make -j4")
|
||||
sh("mv src/libMw.so libMw64.so")
|
||||
archiveArtifacts("libMw64.so")
|
||||
sh("./configure --enable-opengl --enable-vulkan --without-vulkan-string-helper")
|
||||
sh("make -j4")
|
||||
sh("mv src/libMw.so libMw64.so")
|
||||
archiveArtifacts("libMw64.so")
|
||||
}
|
||||
}
|
||||
stage("Build for Windows 32-bit") {
|
||||
agent{
|
||||
label "built-in"} steps {
|
||||
agent {
|
||||
label "built-in"
|
||||
}
|
||||
steps {
|
||||
sh("git clean -dfx")
|
||||
sh("./configure --enable-opengl --enable-stb-truetype --disable-freetype2 --cross --target=Windows --host=i686-w64-mingw32")
|
||||
sh("make -j4")
|
||||
sh("mv src/Mw.dll Mw32.dll")
|
||||
sh("mv src/libMw.dll.a libMw32.dll.a")
|
||||
archiveArtifacts("Mw32.dll,libMw32.dll.a")
|
||||
sh("./configure --enable-opengl --enable-stb-truetype --disable-freetype2 --cross --target=Windows --host=i686-w64-mingw32")
|
||||
sh("make -j4")
|
||||
sh("mv src/Mw.dll Mw32.dll")
|
||||
sh("mv src/libMw.dll.a libMw32.dll.a")
|
||||
archiveArtifacts("Mw32.dll,libMw32.dll.a")
|
||||
}
|
||||
}
|
||||
stage("Build for Windows 64-bit") {
|
||||
agent{
|
||||
label "built-in"} steps {
|
||||
agent {
|
||||
label "built-in"
|
||||
}
|
||||
steps {
|
||||
sh("git clean -dfx")
|
||||
sh("./configure --enable-opengl --enable-stb-truetype --disable-freetype2 --cross --target=Windows --host=x86_64-w64-mingw32")
|
||||
sh("make -j4")
|
||||
sh("mv src/Mw.dll Mw64.dll")
|
||||
sh("mv src/libMw.dll.a libMw64.dll.a")
|
||||
archiveArtifacts("Mw64.dll,libMw64.dll.a")
|
||||
sh("./configure --enable-opengl --enable-stb-truetype --disable-freetype2 --cross --target=Windows --host=x86_64-w64-mingw32")
|
||||
sh("make -j4")
|
||||
sh("mv src/Mw.dll Mw64.dll")
|
||||
sh("mv src/libMw.dll.a libMw64.dll.a")
|
||||
archiveArtifacts("Mw64.dll,libMw64.dll.a")
|
||||
}
|
||||
}
|
||||
stage("Build for Windows 32-bit (MSVC)") {
|
||||
agent{
|
||||
label "2012r2"} steps {
|
||||
agent {
|
||||
label "2012r2"
|
||||
}
|
||||
steps {
|
||||
bat("git clean -dfx")
|
||||
bat("nmake -f NTMakefile")
|
||||
bat("move /y src\\Mw.dll MwMSVC32.dll")
|
||||
bat("move /y src\\Mw.lib MwMSVC32.lib")
|
||||
archiveArtifacts("MwMSVC32.dll,MwMSVC32.lib")
|
||||
bat("nmake -f NTMakefile")
|
||||
bat("move /y src\\Mw.dll MwMSVC32.dll")
|
||||
bat("move /y src\\Mw.lib MwMSVC32.lib")
|
||||
archiveArtifacts("MwMSVC32.dll,MwMSVC32.lib")
|
||||
}
|
||||
}
|
||||
stage("Build for Windows 32-bit (Watcom)") {
|
||||
agent{
|
||||
label "built-in"} environment{
|
||||
WATCOM = "/usr/watcom" INCLUDE = "/usr/watcom/h:/usr/watcom/h/nt" PATH = "/usr/watcom/binl64:${env.PATH}"} steps {
|
||||
agent {
|
||||
label "built-in"
|
||||
}
|
||||
environment {
|
||||
WATCOM = "/usr/watcom"
|
||||
INCLUDE = "/usr/watcom/h:/usr/watcom/h/nt"
|
||||
PATH = "/usr/watcom/binl64:${env.PATH}"
|
||||
}
|
||||
steps {
|
||||
sh("git clean -dfx")
|
||||
sh("wmake -f WatMakefile")
|
||||
sh("mv src/Mw.dll MwWat32.dll")
|
||||
sh("mv src/Mw.lib MwWat32.lib")
|
||||
archiveArtifacts("MwWat32.dll,MwWat32.lib")
|
||||
sh("./tools/watcom-pack.sh")
|
||||
sh("mv milsko-examples.zip milsko-examples-win32.zip")
|
||||
archiveArtifacts("milsko-examples-win32.zip")
|
||||
sh("wmake -f WatMakefile")
|
||||
sh("mv src/Mw.dll MwWat32.dll")
|
||||
sh("mv src/Mw.lib MwWat32.lib")
|
||||
archiveArtifacts("MwWat32.dll,MwWat32.lib")
|
||||
sh("./tools/watcom-pack.sh")
|
||||
sh("mv milsko-examples.zip milsko-examples-win32.zip")
|
||||
archiveArtifacts("milsko-examples-win32.zip")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
48
LICENSE
48
LICENSE
|
|
@ -1,28 +1,24 @@
|
|||
Copyright(c) 2025 - 2026, Pyrite development team All rights reserved.
|
||||
Copyright (c) 2025-2026, Pyrite development team
|
||||
All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms,
|
||||
with or without
|
||||
modification,
|
||||
are permitted provided that the following conditions are met : *Redistributions of source code must retain the above copyright notice,
|
||||
this list of conditions and the following disclaimer.* Redistributions in binary form must reproduce the above copyright notice,
|
||||
this list of conditions and the following disclaimer in the documentation and / or other materials provided with the distribution.* Neither the name of the<organization> nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted provided that the following conditions are met:
|
||||
* Redistributions of source code must retain the above copyright notice,
|
||||
this list of conditions and the following disclaimer.
|
||||
* Redistributions in binary form must reproduce the above copyright notice,
|
||||
this list of conditions and the following disclaimer in the documentation
|
||||
and/or other materials provided with the distribution.
|
||||
* Neither the name of the <organization> nor the names of its contributors
|
||||
may be used to endorse or promote products derived from this software
|
||||
without specific prior written permission.
|
||||
|
||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
|
||||
INCLUDING,
|
||||
BUT NOT LIMITED TO,
|
||||
THE IMPLIED
|
||||
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
DISCLAIMED.IN NO EVENT SHALL<COPYRIGHT HOLDER> BE LIABLE FOR ANY
|
||||
DIRECT,
|
||||
INDIRECT,
|
||||
INCIDENTAL,
|
||||
SPECIAL,
|
||||
EXEMPLARY,
|
||||
OR CONSEQUENTIAL DAMAGES(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
||||
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
|
||||
ON ANY THEORY OF LIABILITY,
|
||||
WHETHER IN CONTRACT,
|
||||
STRICT LIABILITY,
|
||||
OR TORT(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
SOFTWARE,
|
||||
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
||||
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
||||
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY
|
||||
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
||||
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
||||
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
|
||||
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
|
|
|||
394
NTMakefile
generated
394
NTMakefile
generated
File diff suppressed because one or more lines are too long
596
WatMakefile
generated
596
WatMakefile
generated
File diff suppressed because one or more lines are too long
|
|
@ -94,7 +94,6 @@
|
|||
<integer name="forceInverted" common="yes" boolean="yes" />
|
||||
<integer name="isRounded" common="yes" boolean="yes" />
|
||||
<integer name="darkTheme" common="yes" boolean="yes" />
|
||||
<integer name="acceptsDnD" common="yes" boolean="yes" />
|
||||
<integer name="useMonospace" common="yes" boolean="yes" />
|
||||
<integer name="fillArea" />
|
||||
<integer name="darkThemeAutomatic" common="yes" boolean="yes" />
|
||||
|
|
@ -192,9 +191,6 @@
|
|||
<handler name="darkTheme" common="yes">
|
||||
<integer pointer="yes" />
|
||||
</handler>
|
||||
<handler name="acceptsDnD" common="yes">
|
||||
<integer pointer="yes" />
|
||||
</handler>
|
||||
</handlers>
|
||||
<enumerations>
|
||||
<enumeration name="MwDIRECTION">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue