diff --git a/bbp_ng/PyBMap/bmap.py b/bbp_ng/PyBMap/bmap.py index 4ecce82..5926c8b 100644 --- a/bbp_ng/PyBMap/bmap.py +++ b/bbp_ng/PyBMap/bmap.py @@ -1,4 +1,4 @@ -import ctypes, os, sys +import ctypes, os, sys, typing #region Type Defines @@ -89,15 +89,15 @@ except: def is_bmap_available() -> bool: return _g_BMapModule is not None -def _bmap_error_check(result: bm_bool, func, args): +def _bmap_error_check(result: bool, func, args): if not result: raise BMapException("BMap operation failed.") return result -def _create_bmap_func(fct_name: str, fct_params: list[ctypes._SimpleCData]) -> ctypes._CFuncPtr: +def _create_bmap_func(fct_name: str, fct_params: list[typing.Any]) -> typing.Callable[..., bm_bool]: if _g_BMapModule is None: return None - cache: ctypes._CFuncPtr = getattr(_g_BMapModule, fct_name) + cache: typing.Callable[..., bm_bool] = getattr(_g_BMapModule, fct_name) cache.argtypes = fct_params cache.restype = bm_bool cache.errcheck = _bmap_error_check diff --git a/bbp_ng/raw_icons/bme/RibbonInnerCorner.png b/bbp_ng/raw_icons/bme/RibbonInnerCorner.png new file mode 100644 index 0000000..25dc741 Binary files /dev/null and b/bbp_ng/raw_icons/bme/RibbonInnerCorner.png differ diff --git a/bbp_ng/raw_jsons/borders.json b/bbp_ng/raw_jsons/borders.json index 02feca4..0b36e91 100644 Binary files a/bbp_ng/raw_jsons/borders.json and b/bbp_ng/raw_jsons/borders.json differ diff --git a/bbp_ng/raw_jsons/corners.json b/bbp_ng/raw_jsons/corners.json new file mode 100644 index 0000000..e7d351c Binary files /dev/null and b/bbp_ng/raw_jsons/corners.json differ