Update major applications to support AntOS v2.0.x

This commit is contained in:
DanyLE
2023-01-01 01:54:04 +01:00
parent 695044704b
commit 7171a7eb3b
212 changed files with 2135 additions and 3806 deletions

View File

@ -6,6 +6,7 @@ Clipper use `html2canvas` to capture AntOS desktop or a specific window.
It is able to crop the captured image before saving to a file
## Change logs
* v0.1.4-a minor changes to adapt to new AntOS v2.0.x
* v0.1.3-a change app category
* v0.1.2-a use ALT-S as global shortcut for screen capture
* v0.1.1-a use CTRL-S as global shortcut for screen capture

View File

@ -1,7 +1,7 @@
<afx-app-window apptitle="Clipper" width="500" height="400" data-id="Clipper">
<afx-hbox >
<afx-vbox>
<div data-height="30" data-id="toolbar">
<div data-height="35" data-id="toolbar">
<afx-button data-id="btnCptScreen" text="__(Capture screen)" iconclass="fa fa-camera-retro"></afx-button>
<afx-button data-id="btnCptWindow" text="__(Capture a window)" iconclass="fa fa-window-maximize"></afx-button>
<afx-button data-id="btnCrop" text="__(Crop)" toggle="true" selected="false" iconclass="fa fa-crop"></afx-button>

104
Clipper/build.json Normal file
View File

@ -0,0 +1,104 @@
{
"name": "Clipper",
"targets": {
"init": {
"jobs": [
{
"name": "vfs-mkdir",
"data": [
"build",
"build/debug",
"build/release"
]
}
]
},
"coffee": {
"require": [
"coffee"
],
"jobs": [
{
"name": "coffee-compile",
"data": {
"src": [
"coffees/main.coffee"
],
"dest": "build/debug/coffee-main.js"
}
}
]
},
"cat": {
"jobs": [
{
"name": "vfs-cat",
"data": {
"src": [
"build/debug/coffee-main.js",
"javascripts/html2canvas.js"
],
"dest": "build/debug/main.js"
}
},
{
"name": "vfs-rm",
"data": [
"build/debug/coffee-main.js"
]
}
]
},
"uglify": {
"require": [
"terser"
],
"jobs": [
{
"name": "terser-uglify",
"data": [
"build/debug/main.js"
]
}
]
},
"copy": {
"jobs": [
{
"name": "vfs-cp",
"data": {
"src": [
"assets/scheme.html",
"assets/bg.jpg",
"package.json",
"README.md",
"css/main.css"
],
"dest": "build/debug"
}
}
]
},
"release": {
"require": [
"zip"
],
"depend": [
"init",
"coffee",
"cat",
"uglify",
"copy"
],
"jobs": [
{
"name": "zip-mk",
"data": {
"src": "build/debug",
"dest": "build/release/Clipper.zip"
}
}
]
}
}
}

View File

@ -6,6 +6,7 @@ Clipper use `html2canvas` to capture AntOS desktop or a specific window.
It is able to crop the captured image before saving to a file
## Change logs
* v0.1.4-a minor changes to adapt to new AntOS v2.0.x
* v0.1.3-a change app category
* v0.1.2-a use ALT-S as global shortcut for screen capture
* v0.1.1-a use CTRL-S as global shortcut for screen capture

View File

@ -1,4 +1,3 @@
afx-app-window[data-id = "Clipper"] div[data-id = "wrapper"] {
overflow: auto;
background-image: url("bg.jpg");

File diff suppressed because one or more lines are too long

View File

@ -6,7 +6,7 @@
"author": "Xuan Sang LE",
"email": "xsang.le@gmail.com"
},
"version":"0.1.3-a",
"version":"0.1.4-a",
"category":"Utility",
"iconclass":"fa fa-scissors",
"mimes":["none"],

View File

@ -1,7 +1,7 @@
<afx-app-window apptitle="Clipper" width="500" height="400" data-id="Clipper">
<afx-hbox >
<afx-vbox>
<div data-height="30" data-id="toolbar">
<div data-height="35" data-id="toolbar">
<afx-button data-id="btnCptScreen" text="__(Capture screen)" iconclass="fa fa-camera-retro"></afx-button>
<afx-button data-id="btnCptWindow" text="__(Capture a window)" iconclass="fa fa-window-maximize"></afx-button>
<afx-button data-id="btnCrop" text="__(Crop)" toggle="true" selected="false" iconclass="fa fa-crop"></afx-button>

Binary file not shown.

View File

@ -6,7 +6,7 @@
"author": "Xuan Sang LE",
"email": "xsang.le@gmail.com"
},
"version":"0.1.3-a",
"version":"0.1.4-a",
"category":"Utility",
"iconclass":"fa fa-scissors",
"mimes":["none"],