mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-10-16 18:18:47 +00:00
system/nxstore: Honor installed launch metadata.
Use nxstore-owned framebuffer and input configuration symbols instead of relying on an unrelated LVGL demo configuration. Load the manifest for the installed version before launching it, validate that it matches the installed database entry, and pass its recorded arguments to posix_spawn(). Check spawn-attribute setup errors as well. Add the shared supervisor-bar height header to the nxstore change itself so the branch builds independently and framebuffer applications can follow the required reserved-strip contract. Assisted-by: Codex:gpt-5 Signed-off-by: aviralgarg05 <gargaviral99@gmail.com>
This commit is contained in:
parent
7fb624df4c
commit
ab5036fcab
2 changed files with 93 additions and 9 deletions
37
include/system/nxstore_chrome.h
Normal file
37
include/system/nxstore_chrome.h
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
/****************************************************************************
|
||||
* apps/include/system/nxstore_chrome.h
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
* contributor license agreements. See the NOTICE file distributed with
|
||||
* this work for additional information regarding copyright ownership. The
|
||||
* ASF licenses this file to you under the Apache License, Version 2.0 (the
|
||||
* "License"); you may not use this file except in compliance with the
|
||||
* License. You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef __APPS_INCLUDE_SYSTEM_NXSTORE_CHROME_H
|
||||
#define __APPS_INCLUDE_SYSTEM_NXSTORE_CHROME_H
|
||||
|
||||
/****************************************************************************
|
||||
* Pre-processor Definitions
|
||||
****************************************************************************/
|
||||
|
||||
/* Full-screen applications launched by nxstore share the framebuffer with
|
||||
* its supervisor bar. They must leave this top strip untouched so the
|
||||
* Close control remains visible and usable.
|
||||
*/
|
||||
|
||||
#define NXSTORE_BAR_HEIGHT 36
|
||||
|
||||
#endif /* __APPS_INCLUDE_SYSTEM_NXSTORE_CHROME_H */
|
||||
Loading…
Add table
Add a link
Reference in a new issue