src/eric7/UI/PixmapCache.py

Sun, 26 Feb 2023 12:44:03 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sun, 26 Feb 2023 12:44:03 +0100
branch
mpy_network
changeset 9803
2ab3de60b51c
parent 9653
e67609152c5e
permissions
-rw-r--r--

MicroPython
- fixed an issue checking, if the device data is available

# -*- coding: utf-8 -*-

# Copyright (c) 2022 - 2023 Detlev Offenbach <detlev@die-offenbachs.de>
#

"""
Module implementing a compatibility interface of the EricPixmapCache functionality to
satisfy old plug-ins.
"""

from eric7.EricGui import EricPixmapCache

getPixmap = EricPixmapCache.getPixmap
getIcon = EricPixmapCache.getIcon
getSymlinkIcon = EricPixmapCache.getSymlinkIcon
getCombinedIcon = EricPixmapCache.getCombinedIcon
addSearchPath = EricPixmapCache.addSearchPath
removeSearchPath = EricPixmapCache.removeSearchPath

# TODO: remove this module with release 23.4

eric ide

mercurial