| Message ID | 20251014111301.1059317-16-sjg@chromium.org |
|---|---|
| State | New |
| Headers |
Return-Path: <concept-bounces+u-boot-concept=u-boot.org@u-boot.org>
X-Original-To: u-boot-concept@u-boot.org
Delivered-To: u-boot-concept@u-boot.org
Authentication-Results: mail.u-boot.org;
dkim=fail reason="signature verification failed" (1024-bit key;
unprotected) header.d=chromium.org header.i=@chromium.org header.a=rsa-sha256
header.s=google header.b=UYm3EVwN;
dkim-atps=neutral
Received: from localhost (localhost [127.0.0.1])
by mail.u-boot.org (Postfix) with ESMTP id A3869680C5
for <u-boot-concept@u-boot.org>; Tue, 14 Oct 2025 05:14:02 -0600 (MDT)
X-Virus-Scanned: Debian amavis at
Received: from mail.u-boot.org ([127.0.0.1])
by localhost (mail.u-boot.org [127.0.0.1]) (amavis, port 10024) with ESMTP
id LMSLWlcHC0IT for <u-boot-concept@u-boot.org>;
Tue, 14 Oct 2025 05:14:02 -0600 (MDT)
Received: from mail.u-boot.org (localhost [127.0.0.1])
by mail.u-boot.org (Postfix) with ESMTP id 5FA9A68112
for <u-boot-concept@u-boot.org>; Tue, 14 Oct 2025 05:14:02 -0600 (MDT)
Received: from localhost (localhost [127.0.0.1])
by mail.u-boot.org (Postfix) with ESMTP id 4A40C6814C
for <concept@u-boot.org>; Tue, 14 Oct 2025 05:14:00 -0600 (MDT)
X-Virus-Scanned: Debian amavis at
Received: from mail.u-boot.org ([127.0.0.1])
by localhost (mail.u-boot.org [127.0.0.1]) (amavis, port 10024) with ESMTP
id IDkj-PHqrGsI for <concept@u-boot.org>;
Tue, 14 Oct 2025 05:14:00 -0600 (MDT)
Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.166.47;
helo=mail-io1-f47.google.com; envelope-from=sjg@chromium.org;
receiver=u-boot.org
Received: from mail-io1-f47.google.com (mail-io1-f47.google.com
[209.85.166.47])
by mail.u-boot.org (Postfix) with ESMTPS id 4611D68153
for <concept@u-boot.org>; Tue, 14 Oct 2025 05:13:56 -0600 (MDT)
Received: by mail-io1-f47.google.com with SMTP id
ca18e2360f4ac-911520e43edso226637639f.0
for <concept@u-boot.org>; Tue, 14 Oct 2025 04:13:56 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=chromium.org; s=google; t=1760440435; x=1761045235; darn=u-boot.org;
h=content-transfer-encoding:mime-version:references:in-reply-to
:message-id:date:subject:cc:to:from:from:to:cc:subject:date
:message-id:reply-to;
bh=53URjMUJjo4REOpHPJ/VWmqPiBeIEwqHacz9brS8/7E=;
b=UYm3EVwNpm6lOdmDsG398O298TxWTFCyAuRp2n7juTOxTU+ixdbEDHUwRB8qOOJfPR
hv+aLJY6uiwUWkBlLAkDqKiUx2VNEmvhukpfyrD8Z9ShXNC7fPEyEdYI58I0+p0lAyP9
jZ0xt4PHBUaSpS6F6OSB4kxQxRgxz5PVMgAzk=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20230601; t=1760440435; x=1761045235;
h=content-transfer-encoding:mime-version:references:in-reply-to
:message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc
:subject:date:message-id:reply-to;
bh=53URjMUJjo4REOpHPJ/VWmqPiBeIEwqHacz9brS8/7E=;
b=PDNwoNeq/ESJLGj4Zi35qxwkUxdjWizqqLcb1QWR3YPkqe8MK8yCA40nfpbxrBnzt2
XS/MW5ObBlFtUKcH/XkMge3Ao/QfhV4eCPSE2PsyUgIHhVJvyyiex3r/v9axZkUzMX6W
Ww9kjm8/KkCs39U5V/JiINoSRgnBsDwcoku3mqHfutosBmMlo1M7Vud88D6kHzNTye5P
rXUwdtzkVX5Syka9RhjFsRU7gOK0yZiqKG+L7+iabzYw8OZ+h0Leec/GgZIh9xfxpSgZ
psLZtWkmcA0LdoumC8WfP33L5rWD5tmf4EGQjnL8FGfdm50xKAOtrQJJY24qIN/TyLz3
OAAw==
X-Gm-Message-State: AOJu0Yy3CGTWveRRcdUeAww4FBYmVmAJsFaEzMD8p712ukF8wkMIgasG
i9Gp2figoqW8ZvVRetbZA5sFA2S3Aq5PSV1J9wTaBG93LMq7xiOIZ7ccfdsDsr3xqaF+MWF+7Db
4gqWt+sNTZHY=
X-Gm-Gg: ASbGncsOJKpMQkVlesn8dl8+7jHWCqhbdbnuVPyfnJrOVN2Ck1Su8AFXEjCQQUcMUmU
k7S9g3uXI3BVDx9/sJDTGtzLU5mPAG+rrFwS/yQ3xaLnbZodXRcWXPtLbu5JwCEjMDOVnMi3hNK
js0yGErDFFnXlqpo0QvIYMPDoSTJNg2x/Ygp4HxANP0N61anOwDlEFmSI30v5SlsnzWvntaFDq9
4a0/DYFcBdkhKZm8h9Ar1/y8L2o2etYgRKfeDJx54U14ukMf/on3bm0uAxLMc2ByntjfopLIOIT
6Kqv0ZtBKAbKS2sHhoXtI1VVAHUfW7CZ6I6QHAqKjFmysVfmqW4D2xIvbkenbbYMBYdEcQr/ZH0
Z9KsfsL9J5TVSLif4YK/inu/G4dEpXLOiEBD20Rb3nhiuSA==
X-Google-Smtp-Source:
AGHT+IEH4yNrQUHb326dhn0p0lx0PVX/e77iMAAm0FYPAdF+VWiuDKD+0kspfm7ixDEvpnCs5KYoNw==
X-Received: by 2002:a05:6e02:178b:b0:425:744b:52d3 with SMTP id
e9e14a558f8ab-42f87380d9dmr250198245ab.11.1760440435096;
Tue, 14 Oct 2025 04:13:55 -0700 (PDT)
Received: from chromium.org ([73.34.74.121])
by smtp.gmail.com with ESMTPSA id
e9e14a558f8ab-430a3869174sm4608785ab.15.2025.10.14.04.13.52
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Tue, 14 Oct 2025 04:13:53 -0700 (PDT)
From: Simon Glass <sjg@chromium.org>
To: U-Boot Concept <concept@u-boot.org>
Date: Tue, 14 Oct 2025 05:12:52 -0600
Message-ID: <20251014111301.1059317-16-sjg@chromium.org>
X-Mailer: git-send-email 2.43.0
In-Reply-To: <20251014111301.1059317-1-sjg@chromium.org>
References: <20251014111301.1059317-1-sjg@chromium.org>
MIME-Version: 1.0
Message-ID-Hash: VDYQHJU6OGPBQSF57GLGS7K5T4WBCE5O
X-Message-ID-Hash: VDYQHJU6OGPBQSF57GLGS7K5T4WBCE5O
X-MailFrom: sjg@chromium.org
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop;
banned-address; emergency; member-moderation; nonmember-moderation;
administrivia; implicit-dest; max-recipients; max-size; news-moderation;
no-subject; digests; suspicious-header
CC: Simon Glass <sjg@chromium.org>
X-Mailman-Version: 3.3.10
Precedence: list
Subject: [Concept] [PATCH 15/16] boot: Explicitly set up the theme with the
boot menu
List-Id: Discussion and patches related to U-Boot Concept <concept.u-boot.org>
Archived-At:
<https://lists.u-boot.org/archives/list/concept@u-boot.org/message/VDYQHJU6OGPBQSF57GLGS7K5T4WBCE5O/>
List-Archive: <https://lists.u-boot.org/archives/list/concept@u-boot.org/>
List-Help: <mailto:concept-request@u-boot.org?subject=help>
List-Owner: <mailto:concept-owner@u-boot.org>
List-Post: <mailto:concept@u-boot.org>
List-Subscribe: <mailto:concept-join@u-boot.org>
List-Unsubscribe: <mailto:concept-leave@u-boot.org>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
|
| Series |
boot: Separate out the boot-menu style
|
|
Commit Message
Simon Glass
Oct. 14, 2025, 11:12 a.m. UTC
Set up the theme colour and apply it in bootflow_menu_set_props() so
that the simple menu always looks the same when selected.
Signed-off-by: Simon Glass <sjg@chromium.org>
---
boot/bootflow_menu.c | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/boot/bootflow_menu.c b/boot/bootflow_menu.c index 2f60ccd59ce..d731a8a8c8c 100644 --- a/boot/bootflow_menu.c +++ b/boot/bootflow_menu.c @@ -62,6 +62,7 @@ static int bootflow_menu_set_item_props(struct scene *scn, int bootflow_menu_set_props(struct expo *exp, struct scene *scn, bool has_logo, const char *title) { + struct expo_theme *theme = &exp->theme; struct abuf *buf; int ret = 0; bool use_font; @@ -133,6 +134,13 @@ int bootflow_menu_set_props(struct expo *exp, struct scene *scn, bool has_logo, /* tell the menu to lay out its objects */ scene_obj_set_manual(scn, OBJ_MENU, false); + scene_obj_set_hide(scn, OBJ_POINTER, false); + + theme->white_on_black = true; + ret = expo_apply_theme(exp, true); + if (ret) + return log_msg_ret("mat", ret); + expo_set_mouse_enable(exp, false); exp->show_highlight = true;