src/eric7/UI/PixmapCache.py

Sat, 31 Dec 2022 16:23:21 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sat, 31 Dec 2022 16:23:21 +0100
branch
eric7
changeset 9653
e67609152c5e
parent 9413
80c06d472826
permissions
-rw-r--r--

Updated copyright for 2023.

# -*- 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