简体   繁体   English

BIOS喜欢用C ++编写的UI

[英]BIOS like UI with C++

Does anyone know how I can make a program with user interface like BIOS has? 有谁知道如何使用BIOS等用户界面制作程序? Like an API or something. 像API或其他东西。 I've seen some shops having software using an interface like BIOS has at the shop's computer(s) for checking product availability etc. I'm talking about a UI like this: 我已经看到一些商店的软件使用BIOS之类的界面在商店的计算机上检查产品供应情况等等。我说的是这样的用户界面: 在此输入图像描述

it is called NCurses , and is basically a library to create UI interfaces in text virtual terminals 它被称为NCurses ,基本上是一个在文本虚拟终端中创建UI接口的库

Here is a somewhat decent tutorial about how to use it 这是一个关于如何使用它的有点像样的教程

EDIT for windows platforms, you need a port library called PDCurses . 编辑 Windows平台,你需要一个名为PDCurses的端口库。 I Think it relies on mingw but i can't tell for sure since i've haven't used it 我认为它依赖于mingw但我无法确定,因为我还没有使用它

You can refer to the NT32 emulator in the open source UEFI implementation, EDK II. 您可以参考开源UEFI实现EDK II中的NT32仿真器。 It has mature UI components included. 它包含成熟的UI组件。 You can write your form in VFR format. 您可以用VFR格式编写表单。 Check out some screen shot at http://blog.fpmurphy.com/2011/01/edk2-uefi-emulator-on-fedora-14.html . 查看http://blog.fpmurphy.com/2011/01/edk2-uefi-emulator-on-fedora-14.html上的一些屏幕截图。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM