javauis/eswt_akn/org.eclipse.ercp.swt.s60/native/inc/swthyperlink.h
branchRCL_3
changeset 60 6c158198356e
parent 24 0fd27995241b
--- a/javauis/eswt_akn/org.eclipse.ercp.swt.s60/native/inc/swthyperlink.h	Thu Jul 15 18:31:06 2010 +0300
+++ b/javauis/eswt_akn/org.eclipse.ercp.swt.s60/native/inc/swthyperlink.h	Thu Aug 19 09:48:13 2010 +0300
@@ -66,10 +66,12 @@
                   const TDesC& aText,
                   const TRect& aTextRect,
                   const CGraphicsContext::TTextAlign& aAlignment) const;
-    void UpdateSkinColor();
     void UpdateDefaultFontL();
     void LaunchHandler();
     TPtrC Scheme();
+    TRgb LinkColor() const;
+    TRgb LinkBgColor() const;
+    TRgb PressedLinkColor() const;
 
 // From base class CCoeControl
 
@@ -94,6 +96,7 @@
 public:
     void               SetForegroundL(const MSwtColor* aColor);
     TSize              ComputeSizeL(TInt aWHint, TInt aHHint);
+    TInt               PressBackgroundPolicy() const;
 
 // From base class ASwtControlBase
 
@@ -132,24 +135,10 @@
     MSwtFont* iDefaultFont;
 
     /**
-     * Link fragment text color.
-     */
-    TRgb iLinkColor;
-
-    /**
-     * Link fragment text color when highlighted.
+     * Custom foreground color used by the non pressed link.
+     * Not own.
      */
-    TRgb iHighlightedLinkColor;
-
-    /**
-     * Link fragment back highlight color.
-     */
-    TRgb iHighlightColor;
-
-    /**
-     * True if currently used text color is a color set by the Java application.
-     */
-    TBool iCustomTextColor;
+    const MSwtColor* iCustomFg;
 
     /**
      * The format of the hyperlink. Textual formatting done and the handler
@@ -162,12 +151,6 @@
      * Not own.
      */
     MTouchFeedback* iFeedback;
-
-    /**
-     * True for as long as pressed by pointer.
-     * Eclipses ASwtControlBase::iPressed!
-     */
-    TBool iPressed;
 };