[checkmk-commits] Moved painter specific function from lib to painter file