GFXprim
2D bitmap graphics library with emphasis on speed and correctness
Loading...
Searching...
No Matches
Data Fields
gp_app_info Struct Reference

An application information. More...

#include <gp_app_info.h>

Collaboration diagram for gp_app_info:
Collaboration graph
[legend]

Data Fields

const char * name
 Application name.
 
const char * desc
 Short application description.
 
const char * version
 Application version.
 
const char * license
 Application license.
 
const char * url
 URL to application website.
 
gp_app_info_authorauthors
 An {} terminated array of authors.
 

Detailed Description

An application information.

Fill in this structure to get the about dialog in the application.

Attention
The structure has to be called app_info so that it's picked up by the linker automatically.
struct gp_app_info app_info = {
.name = "app_name",
.desc = "This is a short app description",
.version = "3.14",
.license = "GPL-2.0-or-later",
.url = "http://foo.url",
.authors = (gp_app_info_author []) {
{.name = "Jonh Hacker", .email = "jonh.hacker@foo.url", .years = "2023"},
{}
}
};
Description of the app author.
Definition gp_app_info.h:31
An application information.
Definition gp_app_info.h:64
const char * name
Application name.
Definition gp_app_info.h:66

Definition at line 64 of file gp_app_info.h.


The documentation for this struct was generated from the following file: