wip
This commit is contained in:
BIN
selfdrive/assets/oscarpilot_ready.png
Normal file
BIN
selfdrive/assets/oscarpilot_ready.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 13 KiB |
@@ -42,7 +42,7 @@ BodyWindow::BodyWindow(QWidget *parent) : QWidget(parent) {
|
|||||||
void BodyWindow::paintEvent(QPaintEvent *event) {
|
void BodyWindow::paintEvent(QPaintEvent *event) {
|
||||||
QPainter painter(this);
|
QPainter painter(this);
|
||||||
|
|
||||||
QPixmap comma_img = loadPixmap("../assets/img_spinner_comma.png");
|
QPixmap comma_img = loadPixmap("../assets/oscarpilot_ready.png");
|
||||||
|
|
||||||
// Calculate the top-left position to center the image in the window.
|
// Calculate the top-left position to center the image in the window.
|
||||||
int x = (this->width() - comma_img.width()) / 2;
|
int x = (this->width() - comma_img.width()) / 2;
|
||||||
|
|||||||
Reference in New Issue
Block a user