• Home
  • Raw
  • Download

Lines Matching refs:Videomode

77 		.def("get_mode", (Videomode(Connector::*)(const string& mode) const) & Connector::get_mode)  in init_pykmsbase()
78 ….def("get_mode", (Videomode(Connector::*)(unsigned xres, unsigned yres, float refresh, bool ilace)… in init_pykmsbase()
84 .def("set_mode", (int (Crtc::*)(Connector*, const Videomode&)) & Crtc::set_mode) in init_pykmsbase()
85 .def("set_mode", (int (Crtc::*)(Connector*, Framebuffer&, const Videomode&)) & Crtc::set_mode) in init_pykmsbase()
232 py::class_<Videomode>(m, "Videomode") in init_pykmsbase()
235 .def_readwrite("name", &Videomode::name) in init_pykmsbase()
237 .def_readwrite("clock", &Videomode::clock) in init_pykmsbase()
239 .def_readwrite("hdisplay", &Videomode::hdisplay) in init_pykmsbase()
240 .def_readwrite("hsync_start", &Videomode::hsync_start) in init_pykmsbase()
241 .def_readwrite("hsync_end", &Videomode::hsync_end) in init_pykmsbase()
242 .def_readwrite("htotal", &Videomode::htotal) in init_pykmsbase()
244 .def_readwrite("vdisplay", &Videomode::vdisplay) in init_pykmsbase()
245 .def_readwrite("vsync_start", &Videomode::vsync_start) in init_pykmsbase()
246 .def_readwrite("vsync_end", &Videomode::vsync_end) in init_pykmsbase()
247 .def_readwrite("vtotal", &Videomode::vtotal) in init_pykmsbase()
249 .def_readwrite("vrefresh", &Videomode::vrefresh) in init_pykmsbase()
251 .def_readwrite("flags", &Videomode::flags) in init_pykmsbase()
252 .def_readwrite("type", &Videomode::type) in init_pykmsbase()
254 ….def("__repr__", [](const Videomode& vm) { return "<pykms.Videomode " + to_string(vm.hdisplay) + "… in init_pykmsbase()
256 .def("to_blob", &Videomode::to_blob) in init_pykmsbase()
258 .def_property("hsync", &Videomode::hsync, &Videomode::set_hsync) in init_pykmsbase()
259 .def_property("vsync", &Videomode::vsync, &Videomode::set_vsync) in init_pykmsbase()
261 .def("to_string_short", &Videomode::to_string_short) in init_pykmsbase()
262 .def("to_string_long", &Videomode::to_string_long); in init_pykmsbase()