MCPcopy Create free account
hub / github.com/RGAA-Software/GoDesk / OnWidgetResize

Method OnWidgetResize

src/client/front_render/ct_video_widget.cpp:40–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38 VideoWidget::~VideoWidget() = default;
39
40 void VideoWidget::OnWidgetResize(int w, int h) {
41 this->widget_width_ = w;
42 this->widget_height_ = h;
43 }
44
45 void VideoWidget::OnMouseMoveEvent(QMouseEvent* event, int widget_width, int widget_height) {
46 auto curr_pos = event->pos();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected