cxWidgets 1.0
cxBorderStyles.h
Go to the documentation of this file.
1// Copyright (c) 2026 E. Oulashin
2#ifndef __CXBORDERSTYLES_H__
3#define __CXBORDERSTYLES_H__
4
16 #include <string>
17
18namespace cx {
19
26{
28 eBS_SINGLE_LINE, // Use a single line for the border
29 eBS_DOUBLE_LINE, // Use a double line for the border (few terminals support this)
30 eBS_DOUBLE_TOP_SINGLE_SIDES, // Use a double line for the top and single lines for the sides and bottom (few terminals support this)
31 eBS_SINGLE_TOP_DOUBLE_SIDES, // Use a single line for the top and double lines for the sides and bottom (few terminals support this)
32 eBS_SPACE // Use spaces for the border
33};
34
42std::string eBorderStyleToStr(eBorderStyle borderStyle);
43
44} // namespace cx
45
46#endif
cxBorderChars.h - Defines border characters to be used in drawing a box (i.e., in cxWindow and all it...
Definition cxApp.cpp:5
string eBorderStyleToStr(eBorderStyle borderStyle)
Converts an eBorderStyle value to a string representation.
Definition cxBorderStyles.cpp:8
eBorderStyle
Definition cxBorderStyles.h:26
@ eBS_SINGLE_LINE
Definition cxBorderStyles.h:28
@ eBS_DOUBLE_LINE
Definition cxBorderStyles.h:29
@ eBS_SINGLE_TOP_DOUBLE_SIDES
Definition cxBorderStyles.h:31
@ eBS_NOBORDER
Definition cxBorderStyles.h:27
@ eBS_SPACE
Definition cxBorderStyles.h:32
@ eBS_DOUBLE_TOP_SINGLE_SIDES
Definition cxBorderStyles.h:30