Changeset 223 for trunk/src


Ignore:
Timestamp:
Nov 9, 2009, 1:10:31 PM (16 years ago)
Author:
lpino
Message:
  • Misc changes and new definitions
File:
1 edited

Legend:

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

    r210 r223  
    312312   public static final int WM_BUTTON3UP            = 0x0078;
    313313   public static final int WM_BUTTON3DBLCLK        = 0x0079;
     314   
     315        /*
     316         Mouse messages.
     317         These messages are generated by Warp 4 and superior versions
     318         These messages are posted to a window when the mouse pointer enters
     319         or leaves the window rectangle.
     320         The default window procedure returns FALSE in both cases.
     321        */
     322
     323         /* mouse getting inside the window area
     324         mp1 : handle of the window the mouse is moving to
     325         mp2 : handle of the window previously under the mouse
     326        */
     327   public static final int WM_MOUSEENTER       = 0x041e;
     328        /*
     329         mouse getting outside the window area
     330         mp1 : handle of the window the mouse is moving away from
     331         mp2 : handle of the window the mouse is moving to
     332        */   
     333   public static final int WM_MOUSEEXIT        = 0x041f;
    314334
    315335    /* WM_CHAR fs field bits */
     
    12341254
    12351255//@@TODO (dmik): remove!   
    1236 //    /* FACENAMEDESC options for GpiQueryFaceString */
    1237 ////    public static final int FWEIGHT_DONT_CARE           = 0;
    1238 ////    public static final int FWEIGHT_ULTRA_LIGHT         = 1;
    1239 ////    public static final int FWEIGHT_EXTRA_LIGHT         = 2;
    1240 ////    public static final int FWEIGHT_LIGHT               = 3;
    1241 ////    public static final int FWEIGHT_SEMI_LIGHT          = 4;
    1242 //    public static final int FWEIGHT_NORMAL              = 5;
    1243 ////    public static final int FWEIGHT_SEMI_BOLD           = 6;
    1244 //    public static final int FWEIGHT_BOLD                = 7;
    1245 ////    public static final int FWEIGHT_EXTRA_BOLD          = 8;
    1246 ////    public static final int FWEIGHT_ULTRA_BOLD          = 9;
    1247 //    public static final int FWIDTH_DONT_CARE            = 0;
    1248 ////    public static final int FWIDTH_ULTRA_CONDENSED      = 1;
    1249 ////    public static final int FWIDTH_EXTRA_CONDENSED      = 2;
    1250 ////    public static final int FWIDTH_CONDENSED            = 3;
    1251 ////    public static final int FWIDTH_SEMI_CONDENSED       = 4;
    1252 ////    public static final int FWIDTH_NORMAL               = 5;
    1253 ////    public static final int FWIDTH_SEMI_EXPANDED        = 6;
    1254 ////    public static final int FWIDTH_EXPANDED             = 7;
    1255 ////    public static final int FWIDTH_EXTRA_EXPANDED       = 8;
    1256 ////    public static final int FWIDTH_ULTRA_EXPANDED       = 9;
    1257 //    public static final int FTYPE_ITALIC                = 0x0001;
    1258 ////    public static final int FTYPE_ITALIC_DONT_CARE      = 0x0002;
    1259 ////    public static final int FTYPE_OBLIQUE               = 0x0004;
    1260 ////    public static final int FTYPE_OBLIQUE_DONT_CARE     = 0x0008;
    1261 ////    public static final int FTYPE_ROUNDED               = 0x0010;
    1262 ////    public static final int FTYPE_ROUNDED_DONT_CARE     = 0x0020;
     1256    /* FACENAMEDESC options for GpiQueryFaceString */
     1257   public static final int FWEIGHT_DONT_CARE           = 0;
     1258   public static final int FWEIGHT_ULTRA_LIGHT         = 1;
     1259   public static final int FWEIGHT_EXTRA_LIGHT         = 2;
     1260   public static final int FWEIGHT_LIGHT               = 3;
     1261   public static final int FWEIGHT_SEMI_LIGHT          = 4;
     1262   public static final int FWEIGHT_NORMAL              = 5;
     1263   public static final int FWEIGHT_SEMI_BOLD           = 6;
     1264   public static final int FWEIGHT_BOLD                = 7;
     1265   public static final int FWEIGHT_EXTRA_BOLD          = 8;
     1266   public static final int FWEIGHT_ULTRA_BOLD          = 9;
     1267   public static final int FWIDTH_DONT_CARE            = 0;
     1268   public static final int FWIDTH_ULTRA_CONDENSED      = 1;
     1269   public static final int FWIDTH_EXTRA_CONDENSED      = 2;
     1270   public static final int FWIDTH_CONDENSED            = 3;
     1271   public static final int FWIDTH_SEMI_CONDENSED       = 4;
     1272   public static final int FWIDTH_NORMAL               = 5;
     1273   public static final int FWIDTH_SEMI_EXPANDED        = 6;
     1274   public static final int FWIDTH_EXPANDED             = 7;
     1275   public static final int FWIDTH_EXTRA_EXPANDED       = 8;
     1276   public static final int FWIDTH_ULTRA_EXPANDED       = 9;
     1277   public static final int FTYPE_ITALIC                = 0x0001;
     1278   public static final int FTYPE_ITALIC_DONT_CARE      = 0x0002;
     1279   public static final int FTYPE_OBLIQUE               = 0x0004;
     1280   public static final int FTYPE_OBLIQUE_DONT_CARE     = 0x0008;
     1281   public static final int FTYPE_ROUNDED               = 0x0010;
     1282   public static final int FTYPE_ROUNDED_DONT_CARE     = 0x0020;
    12631283
    12641284    /* values for fields of FATTRS structure */
     
    22202240   public static final int SPTR_PENLAST               = 39;
    22212241
     2242   /* image bundle mask bits */
     2243   public static final int IBB_COLOR                  = 0x0001;
     2244   public static final int IBB_BACK_COLOR             = 0x0002;
     2245   public static final int IBB_MIX_MODE               = 0x0004;
     2246   public static final int IBB_BACK_MIX_MODE           = 0x0008;
     2247
    22222248
    22232249/* PM macros */
     
    24392465public static final native boolean WinEndEnumWindows(int henum);
    24402466public static final native int WinGetNextWindow(int henum);
     2467public static final native void Ft2EnableFontEngine(boolean fEnable);
    24412468public static final native boolean PrfQueryProfileSize (int hini, PSZ pszApp,
    24422469    PSZ pszKey, int[] pulDataLen);
Note: See TracChangeset for help on using the changeset viewer.