eric6/Snapshot/SnapshotModes.py

Sun, 14 Apr 2019 15:09:21 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sun, 14 Apr 2019 15:09:21 +0200
changeset 6942
2602857055c5
parent 6914
Snapshot/SnapshotModes.py@5ae038f273c4
child 7229
53054eb5b15a
permissions
-rw-r--r--

Major restructuring of the source tree to get prepared for a setup.py based installation.

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

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

"""
Module implementing the snapshot mode enumeration.
"""

from __future__ import unicode_literals

try:
    from enum import Enum
except ImportError:
    from ThirdParty.enum import Enum


class SnapshotModes(Enum):
    """
    Class implementing the snapshot modes.
    """
    Fullscreen = 0
    SelectedScreen = 1
    Rectangle = 2
    Freehand = 3
    Ellipse = 4
    SelectedWindow = 5

eric ide

mercurial