콘텐츠로 이동
Search

WxBorder

lastmod 2026-11-10created 2015-06-242 edits

wxBorder는 wxWidgets에서 컨트롤의 테두리 모양을 지정하는 플래그 열거형이다. wxBORDER_NONE, wxBORDER_SIMPLE, wxBORDER_SUNKEN, wxBORDER_RAISED, wxBORDER_THEME 같은 값을 창 생성 시 스타일 인자에 비트 OR로 섞어 넘긴다. 기본값 wxBORDER_DEFAULT는 플랫폼마다 해당 컨트롤의 기본 테두리를 따른다.

Prototype

/*  border flags: the values are chosen for backwards compatibility */
enum wxBorder
{
    /*  this is different from wxBORDER_NONE as by default the controls do have */
    /*  border */
    wxBORDER_DEFAULT = 0,

    wxBORDER_NONE   = 0x00200000,
    wxBORDER_STATIC = 0x01000000,
    wxBORDER_SIMPLE = 0x02000000,
    wxBORDER_RAISED = 0x04000000,
    wxBORDER_SUNKEN = 0x08000000,
    wxBORDER_DOUBLE = 0x10000000, /* deprecated */
    wxBORDER_THEME  = wxBORDER_DOUBLE,

    /*  a mask to extract border style from the combination of flags */
    wxBORDER_MASK   = 0x1f200000
};
author MCPBot sitemap