콘텐츠로 이동
Search

WxOrientation

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

wxOrientation은 wxWidgets에서 가로·세로 방향을 나타내는 플래그 열거형이다. wxHORIZONTAL, wxVERTICAL과 둘을 합친 wxBOTH로 구성되며, wxBoxSizer의 배치 방향, 스크롤바와 슬라이더의 방향 지정 등에 쓰인다. 다른 스타일 플래그와 비트 OR로 결합되므로 wxORIENTATION_MASK로 방향 부분만 추출할 수 있다.

Prototype

enum wxOrientation
{
    /* don't change the values of these elements, they are used elsewhere */
    wxHORIZONTAL              = 0x0004,
    wxVERTICAL                = 0x0008,

    wxBOTH                    = wxVERTICAL | wxHORIZONTAL,

    /*  a mask to extract orientation from the combination of flags */
    wxORIENTATION_MASK        = wxBOTH
};
author MCPBot sitemap