Changeset 19


Ignore:
Timestamp:
Oct 5, 2007, 7:23:34 PM (18 years ago)
Author:
lpino
Message:
  • Add the NOTEBOOK constants
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/plugins/org.eclipse.swt/Eclipse SWT PI/pm/org/eclipse/swt/internal/pm/OS.java

    r14 r19  
    134134//    public static final int WC_SLIDER =         0xffff0026;
    135135//    public static final int WC_VALUESET =       0xffff0027;
    136 //    public static final int WC_NOTEBOOK =       0xffff0028;
     136    public static final int WC_NOTEBOOK =       0xffff0028;
    137137//    public static final int WC_PENFIRST =       0xffff0029;
    138138//    public static final int WC_PENLAST =        0xffff002C;
     
    18251825   public static final int CBN_SHOWLIST               = 6;
    18261826   public static final int CBN_ENTER                  = 7;
     1827   /**********************************************************************/
     1828   /*                                                                    */
     1829   /*                          N O T E B O O K                           */
     1830   /*                                                                    */
     1831   /**********************************************************************/
     1832   
     1833   /**********************************************************************/
     1834   /* Message ids                                                        */
     1835   /**********************************************************************/
     1836   public static final int BKM_CALCPAGERECT                 = 0x0353;  /* Calc book/page rectangle  */
     1837   public static final int BKM_DELETEPAGE                       = 0x0354;  /* Delete page(s)            */
     1838   public static final int BKM_INSERTPAGE                        = 0x0355;  /* Insert page               */
     1839   public static final int BKM_INVALIDATETABS                 = 0x0356;  /* Invalidate tab area       */
     1840   public static final int BKM_TURNTOPAGE                      = 0x0357;  /* Turn to page              */
     1841   public static final int BKM_QUERYPAGECOUNT           = 0x0358;  /* Query number of pages     */
     1842   public static final int BKM_QUERYPAGEID                      =0x0359;  /* Query page identifier     */
     1843   public static final int BKM_QUERYPAGEDATA                = 0x035a;  /* Query page user data      */
     1844   public static final int BKM_QUERYPAGEWINDOWHWND  = 0x035b;  /* Query page window handle  */
     1845   public static final int BKM_QUERYTABBITMAP       = 0x035c;  /* Query tab bitmap handle   */
     1846   public static final int BKM_QUERYTABTEXT         = 0x035d;  /* Query tab text pointer    */
     1847   public static final int BKM_SETDIMENSIONS        = 0x035e;  /* Set tab/dogear dimensions */
     1848   public static final int BKM_SETPAGEDATA          = 0x035f;  /* Set page user data        */
     1849   public static final int BKM_SETPAGEWINDOWHWND    = 0x0360;  /* Set page window handle    */
     1850   public static final int BKM_SETSTATUSLINETEXT    = 0x0361;  /* Set status line text      */
     1851   public static final int BKM_SETTABBITMAP         = 0x0362;  /* Set tab bitmap            */
     1852   public static final int BKM_SETTABTEXT           = 0x0363;  /* Set tab text              */
     1853   public static final int BKM_SETNOTEBOOKCOLORS    = 0x0364;  /* Set Notebook colors       */
     1854   public static final int BKM_QUERYPAGESTYLE       = 0x0365;  /* Query page style          */
     1855   public static final int BKM_QUERYSTATUSLINETEXT  = 0x0366;  /* Query status line text    */
     1856   public static final int BKM_SETPAGEINFO          = 0x0367;   /* Set page information     */
     1857   public static final int BKM_QUERYPAGEINFO        = 0x0368;   /* Query page information   */
     1858   public static final int BKM_SETTABCOLOR          = 0x0374;  /* Set book tab color        */
     1859   public static final int BKM_SETNOTEBOOKBUTTONS   = 0x0375;  /* Set common pushbuttons    */
     1860   
     1861   public static final int BKN_PAGESELECTED         = 130;     /* New page selected by user */
     1862   public static final int BKN_NEWPAGESIZE          = 131;     /* App page size changed     */
     1863   public static final int BKN_HELP                 = 132;     /* Help notification         */
     1864   public static final int BKN_PAGEDELETED          = 133;     /* Page deleted notification */
     1865   public static final int BKN_PAGESELECTEDPENDING  = 134;     /* New page selected by user */
     1866   
     1867   /**********************************************************************/
     1868   /* Page deletion flags (usDeleteFlag)                                 */
     1869   /**********************************************************************/
     1870   public static final int BKA_ALL                  = 0x0001;  /* all pages                 */
     1871   public static final int BKA_SINGLE               = 0x0002;  /* single page               */
     1872   public static final int BKA_TAB                  = 0x0004;  /* minor/major section       */
     1873   
     1874   /**********************************************************************/
     1875   /* Page insertion/query order (usPageOrder, usQueryOrder)             */
     1876   /**********************************************************************/
     1877   public static final int BKA_LAST                 = 0x0002;  /* Insert/Query last page    */
     1878   public static final int BKA_FIRST                = 0x0004;  /* Insert/Query first page   */
     1879   public static final int BKA_NEXT                 = 0x0008;  /* Insert/Query after page   */
     1880   public static final int BKA_PREV                 = 0x0010;  /* Insert/Query before page  */
     1881   public static final int BKA_TOP                  = 0x0020;  /* Query topmost page        */
     1882   
     1883   /**********************************************************************/
     1884   /* Notebook region types (usBookRegion, usType)                       */
     1885   /**********************************************************************/
     1886   public static final int BKA_MAJORTAB             = 0x0001;  /* Major Tab                 */
     1887   public static final int BKA_MINORTAB             = 0x0002;  /* Minor Tab                 */
     1888   public static final int BKA_PAGEBUTTON           = 0x0100;  /* Page Turning Button       */
     1889   
     1890   /**********************************************************************/
     1891   /* Page insertion/query styles (usPageStyle,usQueryEnd)               */
     1892   /**********************************************************************/
     1893   public static final int BKA_STATUSTEXTON         = 0x0001;  /* status area text          */
     1894   public static final int BKA_MAJOR                = 0x0040;  /* Major Tab                 */
     1895   public static final int BKA_MINOR                = 0x0080;  /* Minor Tab                 */
     1896   public static final int BKA_AUTOPAGESIZE         = 0x0100;  /* Page window position/size */
     1897   public static final int BKA_END                  = 0x0200;  /* Query to end of book      */
     1898   
     1899   /**********************************************************************/
     1900   /* Tab window contents (usTabDisplay)                                 */
     1901   /**********************************************************************/
     1902   public static final int BKA_TEXT                 = 0x0400;  /* text data                 */
     1903   public static final int BKA_BITMAP               = 0x0800;  /* bitmap                    */
     1904   
     1905   /**********************************************************************/
     1906   /* Tabbed dialog-specific constants                                   */
     1907   /**********************************************************************/
     1908   public static final int BKA_AUTOCOLOR            = (-1);    /* Automatically color tabs  */
     1909   public static final int BKA_MAXBUTTONID          = 7999;    /* Max id for common buttons */
     1910   
     1911   /**********************************************************************/
     1912   /* Notebook window styles (ulNotebookStyles)                          */
     1913   /**********************************************************************/
     1914   
     1915   /**********************************************************************/
     1916   /* Backpage Orientation                                               */
     1917   /**********************************************************************/
     1918   public static final int BKS_BACKPAGESBR          = 0x00000001;  /* Bottom right          */
     1919   public static final int BKS_BACKPAGESBL          = 0x00000002;  /* Bottom left           */
     1920   public static final int BKS_BACKPAGESTR          = 0x00000004;   /* Top right             */
     1921   public static final int BKS_BACKPAGESTL          = 0x00000008;  /* Top left              */
     1922   
     1923   /**********************************************************************/
     1924   /* Major Tab Side                                                     */
     1925   /**********************************************************************/
     1926   public static final int BKS_MAJORTABRIGHT        = 0x00000010;  /* Major tabs right      */
     1927   public static final int BKS_MAJORTABLEFT         = 0x00000020;  /* Major tabs left       */
     1928   public static final int BKS_MAJORTABTOP          = 0x00000040;  /* Major tabs top        */
     1929   public static final int BKS_MAJORTABBOTTOM       = 0x00000080;  /* Major tabs bottom     */
     1930   
     1931   /**********************************************************************/
     1932   /* Tab Type                                                           */
     1933   /**********************************************************************/
     1934   public static final int BKS_SQUARETABS           = 0x00000000;  /* Square edged tabs     */
     1935   public static final int BKS_ROUNDEDTABS          = 0x00000100;  /* Round edged tabs      */
     1936   public static final int BKS_POLYGONTABS          = 0x00000200;  /* Polygon edged tabs    */
     1937   
     1938   /**********************************************************************/
     1939   /* Binding type                                                       */
     1940   /**********************************************************************/
     1941   public static final int BKS_SOLIDBIND            = 0x00000000;  /* Solid binding         */
     1942   public static final int BKS_SPIRALBIND           = 0x00000400;  /* Spiral binding        */
     1943   
     1944   /**********************************************************************/
     1945   /* Status line text justification                                     */
     1946   /**********************************************************************/
     1947   public static final int BKS_STATUSTEXTLEFT       = 0x00000000;  /* Left justify text     */
     1948   public static final int BKS_STATUSTEXTRIGHT      = 0x00001000;  /* Right justify text    */
     1949   public static final int BKS_STATUSTEXTCENTER     = 0x00002000;  /* Center text           */
     1950   
     1951   /**********************************************************************/
     1952   /* Tab text justification                                             */
     1953   /**********************************************************************/
     1954   public static final int BKS_TABTEXTLEFT          = 0x00000000;  /* Left justify tab text */
     1955   public static final int BKS_TABTEXTRIGHT         = 0x00004000;  /* Right justify tab text*/
     1956   public static final int BKS_TABTEXTCENTER        = 0x00008000;  /* Center tab text       */
     1957   
     1958   /**********************************************************************/
     1959   /* Tabbed dialog styles                                               */
     1960   /**********************************************************************/
     1961   public static final int BKS_TABBEDDIALOG         = 0x00000800;  /* Tabbed dialog         */
     1962   public static final int BKS_BUTTONAREA           = 0x00000200;  /* Reserve space for     */
     1963   
     1964   /**********************************************************************/
     1965   /* Notebook color presentation param attributes                       */
     1966   /**********************************************************************/
     1967   public static final int BKA_BACKGROUNDPAGECOLORINDEX  = 0x0001; /* Page Background       */
     1968   public static final int BKA_BACKGROUNDPAGECOLOR       = 0x0002;
     1969   public static final int BKA_BACKGROUNDMAJORCOLORINDEX = 0x0003; /* Major Tab Background  */
     1970   public static final int BKA_BACKGROUNDMAJORCOLOR      = 0x0004;
     1971   public static final int BKA_BACKGROUNDMINORCOLORINDEX = 0x0005; /* Minor Tab Background  */
     1972   public static final int BKA_BACKGROUNDMINORCOLOR      = 0x0006;
     1973   public static final int BKA_FOREGROUNDMAJORCOLORINDEX = 0x0007; /* Major Tab Text        */
     1974   public static final int BKA_FOREGROUNDMAJORCOLOR      = 0x0008;
     1975   public static final int BKA_FOREGROUNDMINORCOLORINDEX = 0x0009; /* Minor Tab Text        */
     1976   public static final int BKA_FOREGROUNDMINORCOLOR      = 0x000A;
    18271977
    18281978/* PM macros */
Note: See TracChangeset for help on using the changeset viewer.