Skip to content
This repository was archived by the owner on Feb 3, 2025. It is now read-only.

Commit 39292cf

Browse files
committed
prepare v1.2.0
- increase the size of resize cursors. - add new resize cursors for specific directions. - add context-menu. - fix wait symlink. - add symlinks to sb_up_arrow and sb_down_arrow. - add preview tool for testings.
1 parent 48dde20 commit 39292cf

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+75
-16
lines changed

README.md

+9

src/all-scroll.png

14 Bytes

src/context-menu.cfg

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
32 6 9 src/context-menu.png 0

src/context-menu.png

218 Bytes

src/e-resize.cfg

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
32 12 16 src/e-resize.png 0

src/e-resize.png

168 Bytes

src/ew-resize.png

1 Byte

src/n-resize.cfg

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
32 16 20 src/n-resize.png 0

src/n-resize.png

177 Bytes

src/ne-resize.cfg

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
32 13 19 src/ne-resize.png 0

src/ne-resize.png

217 Bytes

src/nesw-resize.png

8 Bytes

src/ns-resize.png

-4 Bytes

src/nw-resize.cfg

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
32 19 19 src/nw-resize.png 0

src/nw-resize.png

221 Bytes

src/nwse-resize.png

17 Bytes

src/s-resize.cfg

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
32 16 12 src/s-resize.png 0

src/s-resize.png

178 Bytes

src/se-resize.cfg

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
32 13 13 src/se-resize.png 0

src/se-resize.png

209 Bytes

src/sw-resize.cfg

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
32 19 13 src/sw-resize.png 0

src/sw-resize.png

210 Bytes

src/symlinks/bottom_left_corner

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
nesw-resize
1+
sw-resize

src/symlinks/bottom_right_corner

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
nwse-resize
1+
se-resize

src/symlinks/context-menu

-1
This file was deleted.

src/symlinks/e-resize

-1
This file was deleted.

src/symlinks/n-resize

-1
This file was deleted.

src/symlinks/ne-resize

-1
This file was deleted.

src/symlinks/nw-resize

-1
This file was deleted.

src/symlinks/s-resize

-1
This file was deleted.

src/symlinks/sb_down_arrow

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
s-resize

src/symlinks/sb_left_arrow

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
ew-resize
1+
w-resize

src/symlinks/sb_right_arrow

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
ew-resize
1+
e-resize

src/symlinks/sb_up_arrow

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
n-resize

src/symlinks/se-resize

-1
This file was deleted.

src/symlinks/sw-resize

-1
This file was deleted.

src/symlinks/top_left_corner

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
nwse-resize
1+
nw-resize

src/symlinks/top_right_corner

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
nesw-resize
1+
ne-resize

src/symlinks/w-resize

-1
This file was deleted.

src/symlinks/wait

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
progress
1+
watch

src/w-resize.cfg

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
32 20 16 src/w-resize.png 0

src/w-resize.png

160 Bytes

tools/preview.html

+48
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
<!DOCTYPE HTML>
2+
<meta charset="utf-8" />
3+
<meta name="viewport" content="width=device-width" />
4+
<title>xcapy - preview</title>
5+
<style>
6+
body {
7+
font-family: sans-serif;
8+
}
9+
10+
.ctn {
11+
width: 900px;
12+
margin-left: auto;
13+
margin-right: auto;
14+
display: flex;
15+
flex-wrap: wrap;
16+
gap: 1rem;
17+
justify-content: center;
18+
align-items: center;
19+
}
20+
21+
.box {
22+
border: 1px solid black;
23+
padding: 1rem;
24+
width: 100px;
25+
height: 100px;
26+
display: flex;
27+
justify-content: center;
28+
align-items: center;
29+
}
30+
</style>
31+
<body>
32+
<section class="ctn"></section>
33+
</body>
34+
<script>
35+
let ctn = document.querySelector(".ctn");
36+
let cursors = ["auto", "default", "none", "context-menu", "help",
37+
"pointer", "progress", "wait", "cell", "crosshair",
38+
"text", "vertical-text", "alias", "copy", "move",
39+
"no-drop", "not-allowed", "grab", "grabbing",
40+
"all-scroll", "col-resize", "row-resize", "n-resize",
41+
"e-resize", "s-resize", "w-resize", "ne-resize",
42+
"nw-resize", "se-resize", "sw-resize", "ew-resize",
43+
"ns-resize", "nesw-resize", "nwse-resize", "zoom-in",
44+
"zoom-out"];
45+
cursors.forEach((c) => {
46+
ctn.innerHTML += `<div class="box" style="cursor: ${c};"><span>${c}</span></div>`;
47+
});
48+
</script>

0 commit comments

Comments
 (0)