beremiz
Clone
Summary
Browse
Changes
Graph
SVGHMI: more straightforward implementation of dragging position computation in Scrollbar + some little fix about boundaries.
svghmi
2021-02-15, Edouard Tisserant
8388e6d4aa61
SVGHMI: more straightforward implementation of dragging position computation in Scrollbar + some little fix about boundaries.
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# See COPYING.Runtime file for copyrights details.
LogLevels = ["CRITICAL", "WARNING", "INFO", "DEBUG"]
LogLevelsCount = len(LogLevels)
LogLevelsDict = dict(zip(LogLevels, range(LogLevelsCount)))
LogLevelsDefault = LogLevelsDict["DEBUG"]