soui 5.0.0.1
Soui5 Doc
 
Loading...
Searching...
No Matches
SWnd.h File Reference

SOUI基础DUI窗口模块 More...

#include <core/SWindowMgr.h>
#include <interface/SWndContainer-i.h>
#include <interface/slayout-i.h>
#include <interface/saccproxy-i.h>
#include <interface/scaret-i.h>
#include <helper/SwndMsgCracker.h>
#include <layout/SLayoutSize.h>
#include <event/SEventSlot.h>
#include <event/SEvents.h>
#include <event/SEventSet.h>
#include <res.mgr/SUiDef.h>
#include <core/SWndStyle.h>
#include <core/SSkin.h>
#include <animation/SAnimation.h>
#include <interface/SWindow-i.h>

Go to the source code of this file.

Classes

struct  SWNDMSG
 Structure representing a window message. More...
 
class  SStateHelper
 Helper class for managing window states. More...
 
class  STimerID
 Structure representing a timer ID. More...
 
class  SPainter
 Helper class for painting. More...
 
struct  SwndToolTipInfo
 Information for window tooltips. More...
 
class  STrText
 Class for handling text with translation support. More...
 
class  SWindow
 Base class for SOUI DUI windows. More...
 
class  SAutoEnableHostPrivUiDef
 A helper class to enable or disable private UI definitions for the host container. More...
 

Macros

#define SC_WANTARROWS   0x0001 /* Control wants arrow keys */
 
#define SC_WANTTAB   0x0002 /* Control wants tab keys */
 
#define SC_WANTRETURN   0x0004 /* Control wants return keys */
 
#define SC_WANTCHARS   0x0008 /* Want WM_CHAR messages */
 
#define SC_WANTALLKEYS   0xFFFF /* Control wants all keys */
 
#define SC_WANTSYSKEY   0x80000000 /* System Key */
 
#define ICWND_FIRST   ((SWindow *)-1) /* 子窗口插入在开头 */
 
#define ICWND_LAST   NULL /* 子窗口插入在末尾 */
 
#define ASSERT_UI_THREAD()
 

Typedefs

typedef struct SWNDMSG SWNDMSG
 
typedef struct SWNDMSGPSWNDMSG
 
typedef enum tagGW_CODE GW_CODE
 

Enumerations

enum  { NormalShow = 0 , ParentShow = 1 }
 Flags for window show state. More...
 
enum  { NormalEnable = 0 , ParentEnable = 1 }
 Flags for window enable state. More...
 
enum  WndState {
  WndState_Normal = 0x00000000UL , WndState_Hover = 0x00000001UL , WndState_PushDown = 0x00000002UL , WndState_Check = 0x00000004UL ,
  WndState_Invisible = 0x00000008UL , WndState_Disable = 0x00000010UL
}
 Window state flags. More...
 
enum  tagGW_CODE {
  GSW_FIRSTCHILD = 0 , GSW_LASTCHILD , GSW_PREVSIBLING , GSW_NEXTSIBLING ,
  GSW_PARENT , GSW_OWNER
}
 
enum  { HRET_FLAG_STYLE = (1 << 16) , HRET_FLAG_LAYOUT = (1 << 17) , HRET_FLAG_LAYOUT_PARAM = (1 << 18) }
 

Detailed Description

SOUI基础DUI窗口模块

Copyright (C) 2014-2050 All rights reserved.

Version
v1.0
Author
SOUI group
Date
2014/08/02

Description: This file defines the SWindow class, which is the base class for SOUI DUI windows.

Definition in file SWnd.h.

Macro Definition Documentation

◆ ASSERT_UI_THREAD

#define ASSERT_UI_THREAD ( )

Definition at line 46 of file SWnd.h.

◆ ICWND_FIRST

#define ICWND_FIRST   ((SWindow *)-1) /* 子窗口插入在开头 */

Definition at line 40 of file SWnd.h.

◆ ICWND_LAST

#define ICWND_LAST   NULL /* 子窗口插入在末尾 */

Definition at line 41 of file SWnd.h.

◆ SC_WANTALLKEYS

#define SC_WANTALLKEYS   0xFFFF /* Control wants all keys */

Definition at line 37 of file SWnd.h.

◆ SC_WANTARROWS

#define SC_WANTARROWS   0x0001 /* Control wants arrow keys */

Definition at line 33 of file SWnd.h.

◆ SC_WANTCHARS

#define SC_WANTCHARS   0x0008 /* Want WM_CHAR messages */

Definition at line 36 of file SWnd.h.

◆ SC_WANTRETURN

#define SC_WANTRETURN   0x0004 /* Control wants return keys */

Definition at line 35 of file SWnd.h.

◆ SC_WANTSYSKEY

#define SC_WANTSYSKEY   0x80000000 /* System Key */

Definition at line 38 of file SWnd.h.

◆ SC_WANTTAB

#define SC_WANTTAB   0x0002 /* Control wants tab keys */

Definition at line 34 of file SWnd.h.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum

Flags for window show state.

Enumerator
NormalShow 

Normal show state

ParentShow 

Parent show state

Definition at line 54 of file SWnd.h.

◆ anonymous enum

anonymous enum

Flags for window enable state.

Enumerator
NormalEnable 

Normal enable state

ParentEnable 

Parent enable state

Definition at line 63 of file SWnd.h.

◆ anonymous enum

anonymous enum
Enumerator
HRET_FLAG_STYLE 

Style attribute flag

HRET_FLAG_LAYOUT 

Layout attribute flag

HRET_FLAG_LAYOUT_PARAM 

Layout parameter attribute flag

Definition at line 219 of file SWnd.h.

◆ tagGW_CODE

enum tagGW_CODE
Enumerator
GSW_FIRSTCHILD 

First child window

GSW_LASTCHILD 

Last child window

GSW_PREVSIBLING 

Previous sibling window

GSW_NEXTSIBLING 

Next sibling window

GSW_PARENT 

Parent window

GSW_OWNER 

Owner window

Definition at line 193 of file SWnd.h.

◆ WndState

enum WndState

Window state flags.

Enumerator
WndState_Normal 

Normal state

WndState_Hover 

Hover state

WndState_PushDown 

Push down state

WndState_Check 

Check state

WndState_Invisible 

Invisible state

WndState_Disable 

Disable state

Definition at line 73 of file SWnd.h.