📦 Source .png files
This commit is contained in:
+3
-16
@@ -4,8 +4,8 @@
|
|||||||
import argparse
|
import argparse
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
|
|
||||||
from bxbuild.configure import get_config
|
from bxbuild.configure import get_config # type: ignore
|
||||||
from bxbuild.generator import Info, build, wbuild, xbuild
|
from bxbuild.generator import Info, build, wbuild, xbuild # type: ignore
|
||||||
|
|
||||||
parser = argparse.ArgumentParser(
|
parser = argparse.ArgumentParser(
|
||||||
prog="breezex_builder",
|
prog="breezex_builder",
|
||||||
@@ -51,20 +51,7 @@ parser.add_argument(
|
|||||||
dest="xsizes",
|
dest="xsizes",
|
||||||
metavar="INT",
|
metavar="INT",
|
||||||
nargs="+",
|
nargs="+",
|
||||||
default=[
|
default=[22, 24, 28, 32, 40, 48, 56, 64, 72, 80, 88, 96],
|
||||||
22,
|
|
||||||
24,
|
|
||||||
28,
|
|
||||||
32,
|
|
||||||
40,
|
|
||||||
48,
|
|
||||||
56,
|
|
||||||
64,
|
|
||||||
72,
|
|
||||||
80,
|
|
||||||
88,
|
|
||||||
96,
|
|
||||||
],
|
|
||||||
type=int,
|
type=int,
|
||||||
help="Set pixel-size for xcursor. (default: %(default)s)",
|
help="Set pixel-size for xcursor. (default: %(default)s)",
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -18,52 +18,54 @@ X_CURSORS_CFG: Dict[str, Dict[str, int]] = {
|
|||||||
##########
|
##########
|
||||||
# Static #
|
# Static #
|
||||||
##########
|
##########
|
||||||
"all-scroll.png": {"xhot": 100, "yhot": 100},
|
"bd_double_arrow.png": {"xhot": 100, "yhot": 100},
|
||||||
"bottom_left_corner.png": {"xhot": 98, "yhot": 96},
|
"bottom_left_corner.png": {"xhot": 100, "yhot": 100},
|
||||||
"bottom_right_corner.png": {"xhot": 99, "yhot": 96},
|
"bottom_right_corner.png": {"xhot": 100, "yhot": 100},
|
||||||
#
|
"bottom_side.png": {"xhot": 100, "yhot": 100},
|
||||||
"bottom_tee.png": {"xhot": 100, "yhot": 100},
|
"center_ptr.png": {"xhot": 100, "yhot": 100},
|
||||||
"context-menu.png": {"xhot": 100, "yhot": 100},
|
"context-menu.png": {"xhot": 100, "yhot": 100},
|
||||||
"copy.png": {"xhot": 100, "yhot": 100},
|
"copy.png": {"xhot": 100, "yhot": 100},
|
||||||
"cross.png": {"xhot": 100, "yhot": 100},
|
"cross.png": {"xhot": 100, "yhot": 100},
|
||||||
|
"crossed_circle.png": {"xhot": 100, "yhot": 100},
|
||||||
"dnd_no_drop.png": {"xhot": 100, "yhot": 100},
|
"dnd_no_drop.png": {"xhot": 100, "yhot": 100},
|
||||||
"dotbox.png": {"xhot": 100, "yhot": 100},
|
"dotbox.png": {"xhot": 100, "yhot": 100},
|
||||||
|
"fd_double_arrow.png": {"xhot": 100, "yhot": 100},
|
||||||
"hand1.png": {"xhot": 100, "yhot": 100},
|
"hand1.png": {"xhot": 100, "yhot": 100},
|
||||||
"hand2.png": {"xhot": 100, "yhot": 100},
|
"hand2.png": {"xhot": 100, "yhot": 100},
|
||||||
"left_ptr.png": {"xhot": 100, "yhot": 100},
|
"left_ptr.png": {"xhot": 100, "yhot": 100},
|
||||||
"left_tee.png": {"xhot": 100, "yhot": 100},
|
"left_side.png": {"xhot": 100, "yhot": 100},
|
||||||
"link.png": {"xhot": 100, "yhot": 100},
|
"link.png": {"xhot": 100, "yhot": 100},
|
||||||
"ll_angle.png": {"xhot": 100, "yhot": 100},
|
|
||||||
"lr_angle.png": {"xhot": 100, "yhot": 100},
|
|
||||||
"move.png": {"xhot": 100, "yhot": 100},
|
"move.png": {"xhot": 100, "yhot": 100},
|
||||||
"pencil.png": {"xhot": 100, "yhot": 100},
|
"pencil.png": {"xhot": 100, "yhot": 100},
|
||||||
|
"pirate.png": {"xhot": 100, "yhot": 100},
|
||||||
"plus.png": {"xhot": 100, "yhot": 100},
|
"plus.png": {"xhot": 100, "yhot": 100},
|
||||||
"question_arrow.png": {"xhot": 100, "yhot": 100},
|
"question_arrow.png": {"xhot": 100, "yhot": 100},
|
||||||
"right_ptr.png": {"xhot": 100, "yhot": 100},
|
"right_ptr.png": {"xhot": 100, "yhot": 100},
|
||||||
"right_tee.png": {"xhot": 100, "yhot": 100},
|
"right_side.png": {"xhot": 100, "yhot": 100},
|
||||||
"sb_down_arrow.png": {"xhot": 100, "yhot": 100},
|
"sb_down_arrow.png": {"xhot": 100, "yhot": 100},
|
||||||
"sb_h_double_arrow.png": {"xhot": 100, "yhot": 100},
|
"sb_h_double_arrow.png": {"xhot": 100, "yhot": 100},
|
||||||
"sb_left_arrow.png": {"xhot": 100, "yhot": 100},
|
"sb_left_arrow.png": {"xhot": 100, "yhot": 100},
|
||||||
"sb_right_arrow.png": {"xhot": 100, "yhot": 100},
|
"sb_right_arrow.png": {"xhot": 100, "yhot": 100},
|
||||||
"sb_up_arrow.png": {"xhot": 100, "yhot": 100},
|
"sb_up_arrow.png": {"xhot": 100, "yhot": 100},
|
||||||
"sb_v_double_arrow.png": {"xhot": 100, "yhot": 100},
|
"sb_v_double_arrow.png": {"xhot": 100, "yhot": 100},
|
||||||
"top_tee.png": {"xhot": 100, "yhot": 100},
|
"top_left_corner.png": {"xhot": 100, "yhot": 100},
|
||||||
"ul_angle.png": {"xhot": 100, "yhot": 100},
|
"top_right_corner.png": {"xhot": 100, "yhot": 100},
|
||||||
"ur_angle.png": {"xhot": 100, "yhot": 100},
|
"top_side.png": {"xhot": 100, "yhot": 100},
|
||||||
"vertical-text.png": {"xhot": 100, "yhot": 100},
|
"vertical-text.png": {"xhot": 100, "yhot": 100},
|
||||||
"wayland-cursor.png": {"xhot": 100, "yhot": 100},
|
"wayland-cursor.png": {"xhot": 100, "yhot": 100},
|
||||||
"X_cursor.png": {"xhot": 100, "yhot": 100},
|
"X_cursor.png": {"xhot": 100, "yhot": 100},
|
||||||
"xterm.png": {"xhot": 100, "yhot": 89},
|
"xterm.png": {"xhot": 100, "yhot": 100},
|
||||||
"zoom-in.png": {"xhot": 100, "yhot": 100},
|
"zoom-in.png": {"xhot": 100, "yhot": 100},
|
||||||
"zoom-out.png": {"xhot": 100, "yhot": 100},
|
"zoom-out.png": {"xhot": 100, "yhot": 100},
|
||||||
############
|
############
|
||||||
# Animated #
|
# Animated #
|
||||||
############
|
############
|
||||||
# Note: Animated cursors don't need an extension and frame numbers.
|
# NOTE: Animated cursors don't need an extension and frame numbers.
|
||||||
"left_ptr_watch": {"xhot": 100, "yhot": 100},
|
"left_ptr_watch": {"xhot": 100, "yhot": 100},
|
||||||
"wait": {"xhot": 100, "yhot": 100},
|
"wait": {"xhot": 100, "yhot": 100},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# TODO setting windows cursors
|
||||||
WIN_CURSORS_CFG: Dict[str, Dict[str, str]] = {
|
WIN_CURSORS_CFG: Dict[str, Dict[str, str]] = {
|
||||||
##########
|
##########
|
||||||
# Static #
|
# Static #
|
||||||
@@ -84,7 +86,7 @@ WIN_CURSORS_CFG: Dict[str, Dict[str, str]] = {
|
|||||||
############
|
############
|
||||||
# Animated #
|
# Animated #
|
||||||
############
|
############
|
||||||
# Note: Animated cursors don't need frame numbers.
|
# NOTE: Animated cursors don't need frame numbers.
|
||||||
"left_ptr_watch": {"to": "Work", "position": "top_left"},
|
"left_ptr_watch": {"to": "Work", "position": "top_left"},
|
||||||
"wait": {"to": "Busy"},
|
"wait": {"to": "Busy"},
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user