equal
deleted
inserted
replaced
482 a hit on a bitmap area should register. This could be achieved by defining |
482 a hit on a bitmap area should register. This could be achieved by defining |
483 a single hit-test region in the shape (and position) of the three blue areas |
483 a single hit-test region in the shape (and position) of the three blue areas |
484 and associating it with each of the controls. The class that implements the |
484 and associating it with each of the controls. The class that implements the |
485 hit-test region must implement the MCoeControlHitTest interface. </p> <fig id="GUID-5C856964-8553-543A-B7E2-8D5DCA9BF52C"> |
485 hit-test region must implement the MCoeControlHitTest interface. </p> <fig id="GUID-5C856964-8553-543A-B7E2-8D5DCA9BF52C"> |
486 <title> Hit-test region example </title> |
486 <title> Hit-test region example </title> |
487 <image href="GUID-CF34E1C9-48E5-5B91-A48E-C68E647116A0_d0e47970_href.png" placement="inline"/> |
487 <image href="GUID-CF34E1C9-48E5-5B91-A48E-C68E647116A0_d0e48128_href.png" placement="inline"/> |
488 </fig> <codeblock id="GUID-D2AF9CEB-3072-5239-A157-D19852076CEF" xml:space="preserve"> |
488 </fig> <codeblock id="GUID-D2AF9CEB-3072-5239-A157-D19852076CEF" xml:space="preserve"> |
489 class MCoeControlHitTest |
489 class MCoeControlHitTest |
490 ... |
490 ... |
491 public: |
491 public: |
492 virtual TBool HitRegionContains( const TPoint& aPoint, const CCoeControl& aControl ) const = 0; |
492 virtual TBool HitRegionContains( const TPoint& aPoint, const CCoeControl& aControl ) const = 0; |