xtd 0.2.0
Loading...
Searching...
No Matches
system_fonts.hpp
Go to the documentation of this file.
1
4#pragma once
5#include "../drawing_export.hpp"
6#include "font.hpp"
7#include <xtd/static>
8
10namespace xtd {
12 namespace drawing {
26 public:
28
33
46
51
55
59
63
67
71
76
78
81 static const std::vector<xtd::drawing::font>& get_fonts();
82
84 static const std::vector<xtd::string>& get_font_names();
86 };
87 }
88}
Defines a particular format for text, including font face, size, and style attributes....
Definition font.hpp:45
Specifies the fonts used to display text in Windows display elements.
Definition system_fonts.hpp:25
static const std::vector< xtd::drawing::font > & get_fonts()
Gets an array of system fonts.
static xtd::drawing::font default_font()
Gets the default font that applications can use for dialog boxes and forms.
static xtd::drawing::font dialog_font()
Gets a xtd::drawing::font that applications can use for dialog boxes and forms.
static xtd::drawing::font message_box_font()
Gets a xtd::drawing::font that is used for message boxes.
static xtd::drawing::font menu_font()
Gets a xtd::drawing::font that is used for menus.
static xtd::drawing::font icon_title_font()
Gets a xtd::drawing::font that is used for icon titles.
static const std::vector< xtd::string > & get_font_names()
Gets an array of system font names.
static xtd::drawing::font small_caption_font()
Gets a xtd::drawing::font that is used to display text in the title bars of small windows,...
static xtd::drawing::font caption_font()
Gets a xtd::drawing::font that is used to display text in the title bars of windows.
static xtd::drawing::font tool_font()
Gets a xtd::drawing::font that is used to display text in the tool bar.
static xtd::drawing::font status_font()
Gets a xtd::drawing::font that is used to display text in the status bar.
#define drawing_export_
Define shared library export.
Definition drawing_export.hpp:13
#define static_
This keyword is use to represent a static object. A static object can't be instantiated (constructors...
Definition static.hpp:37
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.hpp:10
Contains xtd::drawing::font class.