window.h
changeset 4939 bef7c24a6027
parent 4938 0447845fd1b3
child 4962 069f8354dc83
equal deleted inserted replaced
4938:0447845fd1b3 4939:bef7c24a6027
   552 	WWB_MASK        = 0xE0,
   552 	WWB_MASK        = 0xE0,
   553 };
   553 };
   554 
   554 
   555 
   555 
   556 enum WindowWidgetTypes {
   556 enum WindowWidgetTypes {
   557 	WWT_EMPTY      =  0,
   557 	WWT_EMPTY,
   558 
   558 
   559 	WWT_PANEL      =  1,         /* simple panel */
   559 	WWT_PANEL,      /* simple depressed panel */
   560 	WWT_IMGBTN     =  2,         /* button with image */
   560 	WWT_INSET,      /* pressed (inset) panel, most commonly used as combo box _text_ area */
   561 	WWT_IMGBTN_2   =  3,         /* button with diff image when clicked */
   561 	WWT_IMGBTN,     /* button with image */
   562 
   562 	WWT_IMGBTN_2,   /* button with diff image when clicked */
   563 	WWT_TEXTBTN    =  4,         /* button with text */
   563 
   564 	WWT_4          =  5,         /* button with diff text when clicked */
   564 	WWT_TEXTBTN,    /* button with text */
   565 	WWT_LABEL      =  6,         /* centered label */
   565 	WWT_TEXTBTN_2,  /* button with diff text when clicked */
   566 	WWT_6          =  7,         /* combo box text area */
   566 	WWT_LABEL,      /* centered label */
   567 	WWT_MATRIX     =  8,
   567 	WWT_MATRIX,
   568 	WWT_SCROLLBAR  =  9,
   568 	WWT_SCROLLBAR,
   569 	WWT_FRAME      = 10,         /* frame */
   569 	WWT_FRAME,      /* frame */
   570 	WWT_CAPTION    = 11,
   570 	WWT_CAPTION,
   571 
   571 
   572 	WWT_HSCROLLBAR = 12,
   572 	WWT_HSCROLLBAR,
   573 	WWT_STICKYBOX  = 13,
   573 	WWT_STICKYBOX,
   574 	WWT_SCROLL2BAR = 14,         /* 2nd vertical scrollbar*/
   574 	WWT_SCROLL2BAR, /* 2nd vertical scrollbar*/
   575 	WWT_RESIZEBOX  = 15,
   575 	WWT_RESIZEBOX,
   576 	WWT_CLOSEBOX   = 16,
   576 	WWT_CLOSEBOX,
   577 	WWT_LAST       = 17,         /* Last Item. use WIDGETS_END to fill up padding!! */
   577 	WWT_LAST,       /* Last Item. use WIDGETS_END to fill up padding!! */
   578 
   578 
   579 	WWT_MASK       = 31,
   579 	WWT_MASK = 0x1F,
   580 
   580 
   581 	WWT_PUSHBTN     = WWT_PANEL   | WWB_PUSHBUTTON,
   581 	WWT_PUSHBTN     = WWT_PANEL   | WWB_PUSHBUTTON,
   582 	WWT_PUSHTXTBTN  = WWT_TEXTBTN | WWB_PUSHBUTTON,
   582 	WWT_PUSHTXTBTN  = WWT_TEXTBTN | WWB_PUSHBUTTON,
   583 	WWT_PUSHIMGBTN  = WWT_IMGBTN  | WWB_PUSHBUTTON,
   583 	WWT_PUSHIMGBTN  = WWT_IMGBTN  | WWB_PUSHBUTTON,
   584 	WWT_NODISTXTBTN = WWT_TEXTBTN | WWB_NODISBUTTON,
   584 	WWT_NODISTXTBTN = WWT_TEXTBTN | WWB_NODISBUTTON,