lecui 1.0.0-alpha.20
lecui C++ user interface library
Public Attributes | List of all members
liblec::lecui::file_type Struct Reference

File type. More...

#include <lecui.h>

Public Attributes

std::string extension = "png"
 The file extension, excluding the dot, e.g. "png".
 
std::string description = "PNG Image"
 The description of the file type, e.g. "PNG Image". More...
 

Detailed Description

File type.

Member Data Documentation

◆ description

std::string liblec::lecui::file_type::description = "PNG Image"

The description of the file type, e.g. "PNG Image".

Various extensions can be grouped under one description, e.g. JPG Image can refer to BOTH .jpg and .jpeg. To do this just add two file types under the same description.


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