graphicscomposition/openwfcompositionengine/composition/src/wfcelement.c
changeset 152 9f1c3fea0f87
parent 36 01a6848ebfd7
equal deleted inserted replaced
111:29ddb8a72f0e 152:9f1c3fea0f87
     1 /* Copyright (c) 2009-2010 The Khronos Group Inc.
     1 /* Copyright (c) 2009-2010 The Khronos Group Inc.
       
     2  * Portions copyright (c) 2009-2010  Nokia Corporation and/or its subsidiary(-ies)
     2  *
     3  *
     3  * Permission is hereby granted, free of charge, to any person obtaining a
     4  * Permission is hereby granted, free of charge, to any person obtaining a
     4  * copy of this software and/or associated documentation files (the
     5  * copy of this software and/or associated documentation files (the
     5  * "Materials"), to deal in the Materials without restriction, including
     6  * "Materials"), to deal in the Materials without restriction, including
     6  * without limitation the rights to use, copy, modify, merge, publish,
     7  * without limitation the rights to use, copy, modify, merge, publish,
   390             break;
   391             break;
   391         }
   392         }
   392 
   393 
   393         case WFC_ELEMENT_SOURCE_FLIP:
   394         case WFC_ELEMENT_SOURCE_FLIP:
   394         {
   395         {
   395             WFCboolean  flip = (WFCboolean) value;
   396             result = WFC_ERROR_NONE;
   396 
       
   397             result = BOOLEAN_TO_ERROR((WFC_TRUE == flip ||
       
   398                                        WFC_FALSE == flip));
       
   399             break;
   397             break;
   400         }
   398         }
   401 
   399 
   402         case WFC_ELEMENT_TRANSPARENCY_TYPES:
   400         case WFC_ELEMENT_TRANSPARENCY_TYPES:
   403         {
   401         {