From 0bc5bbd6766949d651f98e12981d79c86ce0bf99 Mon Sep 17 00:00:00 2001 From: Tomi Valkeinen Date: Mon, 23 May 2016 09:31:08 +0300 Subject: Fix the rest of the py scripts --- py/pykmstest.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'py/pykmstest.cpp') diff --git a/py/pykmstest.cpp b/py/pykmstest.cpp index 781a43a..407330d 100644 --- a/py/pykmstest.cpp +++ b/py/pykmstest.cpp @@ -14,6 +14,10 @@ void init_pykmstest(py::module &m) .def(py::init<>()) .def(py::init()) .def(py::init()) + .def_property_readonly("rgb888", &RGB::rgb888) + .def_property_readonly("argb8888", &RGB::argb8888) + .def_property_readonly("abgr8888", &RGB::abgr8888) + .def_property_readonly("rgb565", &RGB::rgb565) ; // Use lambdas to handle IMappedFramebuffer -- cgit v1.2.3