Compare commits
14 Commits
11bb72a464
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
| 7315f4aba7 | |||
| fdfac9d951 | |||
| 7ba37df367 | |||
| 4176c39620 | |||
| 91ffaca437 | |||
| 146f1e0855 | |||
| e72ca60381 | |||
| d9c98b5cdc | |||
| ebfc8a6946 | |||
| c12162201c | |||
| 56acaf4923 | |||
| b9b76ca327 | |||
| d722a4561d | |||
| 2318d04b94 |
BIN
assets/d.png
Normal file
|
After Width: | Height: | Size: 714 B |
BIN
assets/d_edited.png
Normal file
|
After Width: | Height: | Size: 4.5 KiB |
BIN
assets/dashboard128.png
Normal file
|
After Width: | Height: | Size: 17 KiB |
BIN
assets/dashboard16.png
Normal file
|
After Width: | Height: | Size: 608 B |
BIN
assets/dashboard24.png
Normal file
|
After Width: | Height: | Size: 1001 B |
BIN
assets/dashboard256.png
Normal file
|
After Width: | Height: | Size: 42 KiB |
BIN
assets/dashboard32.png
Normal file
|
After Width: | Height: | Size: 1.4 KiB |
BIN
assets/dashboard48.png
Normal file
|
After Width: | Height: | Size: 2.4 KiB |
BIN
assets/dashboard64.png
Normal file
|
After Width: | Height: | Size: 4.4 KiB |
65
assets/dashboard_nopixel.svg
Normal file
@@ -0,0 +1,65 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||||
|
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||||
|
|
||||||
|
<svg
|
||||||
|
width="48"
|
||||||
|
height="48"
|
||||||
|
viewBox="0 0 12.7 12.7"
|
||||||
|
version="1.1"
|
||||||
|
id="svg1"
|
||||||
|
inkscape:version="1.3.2 (091e20ef0f, 2023-11-25)"
|
||||||
|
sodipodi:docname="dashboard_nopixel.svg"
|
||||||
|
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||||
|
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||||
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
|
xmlns:svg="http://www.w3.org/2000/svg">
|
||||||
|
<sodipodi:namedview
|
||||||
|
id="namedview1"
|
||||||
|
pagecolor="#1e1a13"
|
||||||
|
bordercolor="#000000"
|
||||||
|
borderopacity="0.25"
|
||||||
|
inkscape:showpageshadow="2"
|
||||||
|
inkscape:pageopacity="0.0"
|
||||||
|
inkscape:pagecheckerboard="0"
|
||||||
|
inkscape:deskcolor="#d1d1d1"
|
||||||
|
inkscape:document-units="px"
|
||||||
|
inkscape:zoom="13.200165"
|
||||||
|
inkscape:cx="23.181528"
|
||||||
|
inkscape:cy="23.484554"
|
||||||
|
inkscape:window-width="1920"
|
||||||
|
inkscape:window-height="1004"
|
||||||
|
inkscape:window-x="0"
|
||||||
|
inkscape:window-y="0"
|
||||||
|
inkscape:window-maximized="1"
|
||||||
|
inkscape:current-layer="layer1" />
|
||||||
|
<defs
|
||||||
|
id="defs1">
|
||||||
|
<filter
|
||||||
|
style="color-interpolation-filters:sRGB;"
|
||||||
|
inkscape:label="Blur"
|
||||||
|
id="filter2"
|
||||||
|
x="-0.29068129"
|
||||||
|
y="-0.36534363"
|
||||||
|
width="1.5813626"
|
||||||
|
height="1.7306873">
|
||||||
|
<feGaussianBlur
|
||||||
|
stdDeviation="1.1 1.4"
|
||||||
|
result="blur"
|
||||||
|
id="feGaussianBlur2" />
|
||||||
|
</filter>
|
||||||
|
</defs>
|
||||||
|
<g
|
||||||
|
inkscape:label="Layer 1"
|
||||||
|
inkscape:groupmode="layer"
|
||||||
|
id="layer1">
|
||||||
|
<path
|
||||||
|
id="text2"
|
||||||
|
style="font-weight:800;font-size:11.2889px;font-family:'Noto Serif';-inkscape-font-specification:'Noto Serif Ultra-Bold';fill:#ef7900;stroke-width:0.269851;fill-opacity:0.36436403;filter:url(#filter2)"
|
||||||
|
d="M 1.8417969,2.3203125 C 1.9251288,2.8040379 1.5407776,3.7554464 2.3710938,3.4921875 3.1946617,3.2237357 2.807579,4.1847474 2.890625,4.6464844 2.8815002,6.1657741 2.9088677,7.6920826 2.8769531,9.2070312 2.3256098,9.2105056 1.5785958,9.0183093 1.8417969,9.8363281 1.8535219,10.392311 1.6339027,11.179639 2.4710937,10.910156 4.1753784,10.836086 5.9095642,11.075627 7.59375,10.753906 9.5449237,10.353915 10.827855,8.4197386 10.849609,6.4941406 11.001007,4.8326087 10.286568,2.985215 8.6736023,2.2954557 6.9024888,1.4673351 4.8918239,1.9013426 3.0089844,1.7910156 2.5168749,1.9111886 1.5727468,1.4337072 1.8417969,2.3203125 Z M 6.1738281,3.5957031 C 7.4238002,3.6835944 7.648338,5.156334 7.6210938,6.1582031 7.5931793,7.2021276 7.4747596,8.649263 6.3320312,9.0585938 5.632416,9.2407607 6.1332777,8.0432563 5.9824219,7.6015625 c 0,-1.3385417 0,-2.6770833 0,-4.015625 l 0.09987,0.0051 z" />
|
||||||
|
<path
|
||||||
|
style="font-weight:800;font-size:11.2889px;font-family:'Noto Serif';-inkscape-font-specification:'Noto Serif Ultra-Bold';fill:#d76d00;stroke-width:0.269851"
|
||||||
|
d="M 2.3706627,10.380137 V 9.7366701 h 0.5418672 q 0.225778,0 0.3612448,-0.1580446 Q 3.4205304,9.4205809 3.4205304,9.070625 V 3.6180861 q 0,-0.3838226 -0.1580446,-0.5192894 Q 3.1044412,2.9633299 2.8673743,2.9633299 H 2.3706627 V 2.3198626 h 3.8382261 q 1.9191131,0 3.0141364,0.9595565 1.1063118,0.9482676 1.1063118,2.8673807 0,1.241779 -0.4741334,2.2013356 Q 9.3923587,9.296403 8.4779578,9.8382702 7.5635568,10.380137 6.2088888,10.380137 Z M 5.9379552,9.63507 q 1.0950233,0 1.6481794,-0.9482676 0.5644451,-0.9482676 0.5644451,-2.5400026 0,-1.591735 -0.5644451,-2.3368024 Q 7.0329785,3.0536411 5.9492441,3.0536411 H 5.4525325 V 9.63507 Z"
|
||||||
|
id="text1"
|
||||||
|
aria-label="D" />
|
||||||
|
</g>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 3.5 KiB |
93
assets/dashboard_pixel.svg
Normal file
|
After Width: | Height: | Size: 14 KiB |
13
cmake/linux-arm.cmake
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
# QUIK Toolchain file for Linux-arm systems.
|
||||||
|
# Copyright (C) 2023
|
||||||
|
|
||||||
|
set(CMAKE_SYSTEM_NAME Linux)
|
||||||
|
|
||||||
|
set(CMAKE_C_COMPILER arm-linux-gnueabihf-gcc)
|
||||||
|
set(CMAKE_CXX_COMPILER arm-linux-gnueabihf-g++)
|
||||||
|
|
||||||
|
set(CMAKE_FIND_ROOT_PATH "/usr/arm-linux-gnueabihf")
|
||||||
|
|
||||||
|
set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
|
||||||
|
set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
|
||||||
|
set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
|
||||||
13
cmake/linux-arm64.cmake
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
# QUIK Toolchain file for Linux-arm64 (aarch64) systems.
|
||||||
|
# Copyright (C) 2023
|
||||||
|
|
||||||
|
set(CMAKE_SYSTEM_NAME Linux)
|
||||||
|
|
||||||
|
set(CMAKE_C_COMPILER aarch64-linux-gnu-gcc)
|
||||||
|
set(CMAKE_CXX_COMPILER aarch64-linux-gnu-g++)
|
||||||
|
|
||||||
|
set(CMAKE_FIND_ROOT_PATH "/usr/aarch64-linux-gnu")
|
||||||
|
|
||||||
|
set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
|
||||||
|
set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
|
||||||
|
set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
|
||||||
9
cmake/linux-x64.cmake
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
# QUIK Toolchain file for Linux-x64 (amd64) systems.
|
||||||
|
# Copyright (C) 2023
|
||||||
|
|
||||||
|
set(CMAKE_SYSTEM_NAME Linux)
|
||||||
|
|
||||||
|
set(CMAKE_C_COMPILER gcc)
|
||||||
|
set(CMAKE_CXX_COMPILER g++)
|
||||||
|
|
||||||
|
add_compile_options(-m64)
|
||||||
14
cmake/linux-x86.cmake
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
# QUIK Toolchain file for Linux-x86 (i386) systems.
|
||||||
|
# Copyright (C) 2023
|
||||||
|
|
||||||
|
set(CMAKE_SYSTEM_NAME Linux)
|
||||||
|
|
||||||
|
set(CMAKE_C_COMPILER i686-linux-gnu-gcc)
|
||||||
|
set(CMAKE_CXX_COMPILER i686-linux-gnu-g++)
|
||||||
|
|
||||||
|
add_compile_options(-m32 -march=i686)
|
||||||
|
|
||||||
|
set(CMAKE_FIND_ROOT_PATH "/usr/i686-linux-gnu")
|
||||||
|
set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
|
||||||
|
set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
|
||||||
|
set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
|
||||||
14
cmake/osx-arm64.cmake
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
# QUIK Toolchain file for OSX-ARM64 systems.
|
||||||
|
# Copyright (C) 2024
|
||||||
|
|
||||||
|
set(CMAKE_SYSTEM_NAME Darwin)
|
||||||
|
|
||||||
|
set(CMAKE_C_COMPILER aarch64-apple-darwin23-clang)
|
||||||
|
set(CMAKE_CXX_COMPILER aarch64-apple-darwin23-clang++)
|
||||||
|
|
||||||
|
set(CMAKE_FIND_ROOT_PATH "/usr/local/SDK/MacOSX14.0.sdk/usr"
|
||||||
|
"/usr/local/SDK/MacOSX14.0.sdk/System")
|
||||||
|
|
||||||
|
set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
|
||||||
|
set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
|
||||||
|
set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
|
||||||
14
cmake/osx-x64.cmake
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
# QUIK Toolchain file for OSX-ARM64 systems.
|
||||||
|
# Copyright (C) 2024
|
||||||
|
|
||||||
|
set(CMAKE_SYSTEM_NAME Darwin)
|
||||||
|
|
||||||
|
set(CMAKE_C_COMPILER x86_64-apple-darwin23-clang)
|
||||||
|
set(CMAKE_CXX_COMPILER x86_64-apple-darwin23-clang++)
|
||||||
|
|
||||||
|
set(CMAKE_FIND_ROOT_PATH "/usr/local/SDK/MacOSX14.0.sdk/usr"
|
||||||
|
"/usr/local/SDK/MacOSX14.0.sdk/System")
|
||||||
|
|
||||||
|
set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
|
||||||
|
set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
|
||||||
|
set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
|
||||||
14
cmake/win-x64.cmake
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
# QUIK Toolchain file for Windows-x64 systems.
|
||||||
|
# Copyright (C) 2023
|
||||||
|
|
||||||
|
set(CMAKE_SYSTEM_NAME Windows)
|
||||||
|
|
||||||
|
set(CMAKE_C_COMPILER x86_64-w64-mingw32-gcc)
|
||||||
|
set(CMAKE_CXX_COMPILER x86_64-w64-mingw32-g++)
|
||||||
|
|
||||||
|
set(CMAKE_FIND_ROOT_PATH "/usr/x86_64-w64-mingw32")
|
||||||
|
add_compile_options(-m64)
|
||||||
|
|
||||||
|
set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
|
||||||
|
set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
|
||||||
|
set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
|
||||||
14
cmake/win-x86.cmake
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
# QUIK Toolchain file for Windows-x86 systems.
|
||||||
|
# Copyright (C) 2023
|
||||||
|
|
||||||
|
set(CMAKE_SYSTEM_NAME Windows)
|
||||||
|
|
||||||
|
set(CMAKE_C_COMPILER i686-w64-mingw32-gcc)
|
||||||
|
set(CMAKE_CXX_COMPILER i686-w64-mingw32-g++)
|
||||||
|
|
||||||
|
set(CMAKE_FIND_ROOT_PATH "/usr/i686-w64-mingw32")
|
||||||
|
add_compile_options(-m32)
|
||||||
|
|
||||||
|
set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
|
||||||
|
set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
|
||||||
|
set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
|
||||||
@@ -3,13 +3,18 @@
|
|||||||
|
|
||||||
#include "stdlib.h"
|
#include "stdlib.h"
|
||||||
|
|
||||||
#if __GNUC__ || __MSC_VER
|
#if __GNUC__ || _MSC_VER
|
||||||
#define __QUIK_FUNCTION__ __FUNCTION__
|
#define __QUIK_FUNCTION__ __FUNCTION__
|
||||||
#define QEXTERN extern
|
|
||||||
#else
|
#else
|
||||||
#define __QUIK_FUNCTION__ NULL
|
#define __QUIK_FUNCTION__ NULL
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if WIN32 || _MSC_VER > 0 || __MINGW__
|
||||||
|
#define QEXTERN __declspec(dllexport)
|
||||||
|
#else
|
||||||
|
#define QEXTERN
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Callback for failed assert function for QUIK redist libraries.
|
* @brief Callback for failed assert function for QUIK redist libraries.
|
||||||
* @param[in] expr The expression that failed.
|
* @param[in] expr The expression that failed.
|
||||||
|
|||||||
1
sh/.gitattributes
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
*.sh text eof=lf
|
||||||
18
sh/publish.sh
Executable file
@@ -0,0 +1,18 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
if [-z "$1"]
|
||||||
|
then
|
||||||
|
$1 = $(dirname "$0")
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ -z "$QUIK_API_KEY" ]
|
||||||
|
then
|
||||||
|
echo "Please define QUIK_API_KEY"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
cd $1
|
||||||
|
dotnet nuget add source \
|
||||||
|
-n QUIK -u themixedupstuff -p "$QUIK_API_KEY" \
|
||||||
|
--store-password-in-clear-text \
|
||||||
|
https://git.mixedup.dev/api/packages/QUIK/nuget/index.json
|
||||||
|
dotnet nuget push -s QUIK bin/*/*.nupkg
|
||||||
57
sh/quik_build_native.sh
Executable file
@@ -0,0 +1,57 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# $1 Source path of the project.
|
||||||
|
# $2 Target architecture list.
|
||||||
|
# DST is the destination directory.
|
||||||
|
# NOINSTALL = 1 to skip installing.
|
||||||
|
|
||||||
|
SRC=$1
|
||||||
|
ARCHS=$2
|
||||||
|
|
||||||
|
if [ -z "$SRC" ]
|
||||||
|
then
|
||||||
|
echo You need to provide a source path.
|
||||||
|
return
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ -z "$ARCHS" ]
|
||||||
|
then
|
||||||
|
ARCHS="linux-arm linux-arm64 linux-x64 win-x64 win-x86 osx-arm64 osx-x64"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ -z "$DST" ]
|
||||||
|
then
|
||||||
|
DST=$PWD
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ -z "$CMAKE_DIR"]
|
||||||
|
then
|
||||||
|
CMAKE_DIR="$SRC/Quik.Common/cmake"
|
||||||
|
fi
|
||||||
|
|
||||||
|
for ARCH in $ARCHS; do
|
||||||
|
# Output directory.
|
||||||
|
PREFIX=$DST/runtimes/$ARCH/native
|
||||||
|
# Build directory.
|
||||||
|
BUILD=$DST/out/$ARCH
|
||||||
|
# Cmake toolchain file.
|
||||||
|
TOOLCHAIN=$CMAKE_DIR/$ARCH.cmake
|
||||||
|
|
||||||
|
# Create directories.
|
||||||
|
mkdir -p $PREFIX $BUILD
|
||||||
|
# Configure CMAKE.
|
||||||
|
cmake -B $BUILD -S $SRC \
|
||||||
|
-G Ninja \
|
||||||
|
-DCMAKE_BUILD_TYPE=Release \
|
||||||
|
-DCMAKE_INSTALL_PREFIX=$PREFIX \
|
||||||
|
-DCMAKE_TOOLCHAIN_FILE=$TOOLCHAIN \
|
||||||
|
$QUIK_ADDITIONAL_CMAKE
|
||||||
|
|
||||||
|
# Build and install.
|
||||||
|
ninja -C $BUILD all
|
||||||
|
|
||||||
|
if [ ! $NOINSTALL ]
|
||||||
|
then
|
||||||
|
ninja -C $BUILD install
|
||||||
|
fi
|
||||||
|
done
|
||||||