926 } |
926 } |
927 |
927 |
928 TInt level( XnDirtyLevel::ENone ); |
928 TInt level( XnDirtyLevel::ENone ); |
929 |
929 |
930 EnableStatePropertyL( |
930 EnableStatePropertyL( |
931 aNode, aPseudoClass, CXnNode::WidthL, |
931 aNode, aPseudoClass, &CXnNode::WidthL, |
932 aLayoutPropertyCache->iWidth, |
932 aLayoutPropertyCache->iWidth, |
933 aLayoutPropertyCache->iWidths, level ); |
933 aLayoutPropertyCache->iWidths, level ); |
934 |
934 |
935 EnableStatePropertyL( |
935 EnableStatePropertyL( |
936 aNode, aPseudoClass, CXnNode::HeightL, |
936 aNode, aPseudoClass, &CXnNode::HeightL, |
937 aLayoutPropertyCache->iHeight, |
937 aLayoutPropertyCache->iHeight, |
938 aLayoutPropertyCache->iHeights, level ); |
938 aLayoutPropertyCache->iHeights, level ); |
939 |
939 |
940 EnableStatePropertyL( |
940 EnableStatePropertyL( |
941 aNode, aPseudoClass, CXnNode::MarginLeftL, |
941 aNode, aPseudoClass, &CXnNode::MarginLeftL, |
942 aLayoutPropertyCache->iMarginLeft, |
942 aLayoutPropertyCache->iMarginLeft, |
943 aLayoutPropertyCache->iMarginLefts, level ); |
943 aLayoutPropertyCache->iMarginLefts, level ); |
944 |
944 |
945 EnableStatePropertyL( |
945 EnableStatePropertyL( |
946 aNode, aPseudoClass, CXnNode::MarginRightL, |
946 aNode, aPseudoClass, &CXnNode::MarginRightL, |
947 aLayoutPropertyCache->iMarginRight, |
947 aLayoutPropertyCache->iMarginRight, |
948 aLayoutPropertyCache->iMarginRights, level ); |
948 aLayoutPropertyCache->iMarginRights, level ); |
949 |
949 |
950 EnableStatePropertyL( |
950 EnableStatePropertyL( |
951 aNode, aPseudoClass, CXnNode::BorderLeftL, |
951 aNode, aPseudoClass, &CXnNode::BorderLeftL, |
952 aLayoutPropertyCache->iBorderLeft, |
952 aLayoutPropertyCache->iBorderLeft, |
953 aLayoutPropertyCache->iBorderLefts, level ); |
953 aLayoutPropertyCache->iBorderLefts, level ); |
954 |
954 |
955 EnableStatePropertyL( |
955 EnableStatePropertyL( |
956 aNode, aPseudoClass, CXnNode::BorderRightL, |
956 aNode, aPseudoClass, &CXnNode::BorderRightL, |
957 aLayoutPropertyCache->iBorderRight, |
957 aLayoutPropertyCache->iBorderRight, |
958 aLayoutPropertyCache->iBorderRights, level ); |
958 aLayoutPropertyCache->iBorderRights, level ); |
959 |
959 |
960 EnableStatePropertyL( |
960 EnableStatePropertyL( |
961 aNode, aPseudoClass, CXnNode::PaddingLeftL, |
961 aNode, aPseudoClass, &CXnNode::PaddingLeftL, |
962 aLayoutPropertyCache->iPaddingLeft, |
962 aLayoutPropertyCache->iPaddingLeft, |
963 aLayoutPropertyCache->iPaddingLefts, level ); |
963 aLayoutPropertyCache->iPaddingLefts, level ); |
964 |
964 |
965 EnableStatePropertyL( |
965 EnableStatePropertyL( |
966 aNode, aPseudoClass, CXnNode::PaddingRightL, |
966 aNode, aPseudoClass, &CXnNode::PaddingRightL, |
967 aLayoutPropertyCache->iPaddingRight, |
967 aLayoutPropertyCache->iPaddingRight, |
968 aLayoutPropertyCache->iPaddingRights, level ); |
968 aLayoutPropertyCache->iPaddingRights, level ); |
969 |
969 |
970 EnableStatePropertyL( |
970 EnableStatePropertyL( |
971 aNode, aPseudoClass, CXnNode::MarginTopL, |
971 aNode, aPseudoClass, &CXnNode::MarginTopL, |
972 aLayoutPropertyCache->iMarginTop, |
972 aLayoutPropertyCache->iMarginTop, |
973 aLayoutPropertyCache->iMarginTops, level ); |
973 aLayoutPropertyCache->iMarginTops, level ); |
974 |
974 |
975 EnableStatePropertyL( |
975 EnableStatePropertyL( |
976 aNode, aPseudoClass, CXnNode::MarginBottomL, |
976 aNode, aPseudoClass, &CXnNode::MarginBottomL, |
977 aLayoutPropertyCache->iMarginBottom, |
977 aLayoutPropertyCache->iMarginBottom, |
978 aLayoutPropertyCache->iMarginBottoms, level ); |
978 aLayoutPropertyCache->iMarginBottoms, level ); |
979 |
979 |
980 EnableStatePropertyL( |
980 EnableStatePropertyL( |
981 aNode, aPseudoClass, CXnNode::BorderTopL, |
981 aNode, aPseudoClass, &CXnNode::BorderTopL, |
982 aLayoutPropertyCache->iBorderTop, |
982 aLayoutPropertyCache->iBorderTop, |
983 aLayoutPropertyCache->iBorderTops, level ); |
983 aLayoutPropertyCache->iBorderTops, level ); |
984 |
984 |
985 EnableStatePropertyL( |
985 EnableStatePropertyL( |
986 aNode, aPseudoClass, CXnNode::BorderBottomL, |
986 aNode, aPseudoClass, &CXnNode::BorderBottomL, |
987 aLayoutPropertyCache->iBorderBottom, |
987 aLayoutPropertyCache->iBorderBottom, |
988 aLayoutPropertyCache->iBorderBottoms, level ); |
988 aLayoutPropertyCache->iBorderBottoms, level ); |
989 |
989 |
990 EnableStatePropertyL( |
990 EnableStatePropertyL( |
991 aNode, aPseudoClass, CXnNode::PaddingTopL, |
991 aNode, aPseudoClass, &CXnNode::PaddingTopL, |
992 aLayoutPropertyCache->iPaddingTop, |
992 aLayoutPropertyCache->iPaddingTop, |
993 aLayoutPropertyCache->iPaddingTops, level ); |
993 aLayoutPropertyCache->iPaddingTops, level ); |
994 |
994 |
995 EnableStatePropertyL( |
995 EnableStatePropertyL( |
996 aNode, aPseudoClass, CXnNode::PaddingBottomL, |
996 aNode, aPseudoClass, &CXnNode::PaddingBottomL, |
997 aLayoutPropertyCache->iPaddingBottom, |
997 aLayoutPropertyCache->iPaddingBottom, |
998 aLayoutPropertyCache->iPaddingBottoms, level ); |
998 aLayoutPropertyCache->iPaddingBottoms, level ); |
999 |
999 |
1000 EnableStatePropertyL( |
1000 EnableStatePropertyL( |
1001 aNode, aPseudoClass, CXnNode::BorderWidthL, |
1001 aNode, aPseudoClass, &CXnNode::BorderWidthL, |
1002 aLayoutPropertyCache->iBorderWidth, |
1002 aLayoutPropertyCache->iBorderWidth, |
1003 aLayoutPropertyCache->iBorderWidths, level ); |
1003 aLayoutPropertyCache->iBorderWidths, level ); |
1004 |
1004 |
1005 EnableStatePropertyL( |
1005 EnableStatePropertyL( |
1006 aNode, aPseudoClass, CXnNode::BlockProgressionL, |
1006 aNode, aPseudoClass, &CXnNode::BlockProgressionL, |
1007 aLayoutPropertyCache->iBlockProgression, |
1007 aLayoutPropertyCache->iBlockProgression, |
1008 aLayoutPropertyCache->iBlockProgressions, level ); |
1008 aLayoutPropertyCache->iBlockProgressions, level ); |
1009 |
1009 |
1010 EnableStatePropertyL( |
1010 EnableStatePropertyL( |
1011 aNode, aPseudoClass, CXnNode::DirectionL, |
1011 aNode, aPseudoClass, &CXnNode::DirectionL, |
1012 aLayoutPropertyCache->iDirection, |
1012 aLayoutPropertyCache->iDirection, |
1013 aLayoutPropertyCache->iDirections, level ); |
1013 aLayoutPropertyCache->iDirections, level ); |
1014 |
1014 |
1015 EnableStatePropertyL( |
1015 EnableStatePropertyL( |
1016 aNode, aPseudoClass, CXnNode::PositionL, |
1016 aNode, aPseudoClass, &CXnNode::PositionL, |
1017 aLayoutPropertyCache->iPosition, |
1017 aLayoutPropertyCache->iPosition, |
1018 aLayoutPropertyCache->iPositions, level ); |
1018 aLayoutPropertyCache->iPositions, level ); |
1019 |
1019 |
1020 EnableStatePropertyL( |
1020 EnableStatePropertyL( |
1021 aNode, aPseudoClass, CXnNode::MaxHeightL, |
1021 aNode, aPseudoClass, &CXnNode::MaxHeightL, |
1022 aLayoutPropertyCache->iMaxHeight, |
1022 aLayoutPropertyCache->iMaxHeight, |
1023 aLayoutPropertyCache->iMaxHeights, level ); |
1023 aLayoutPropertyCache->iMaxHeights, level ); |
1024 |
1024 |
1025 EnableStatePropertyL( |
1025 EnableStatePropertyL( |
1026 aNode, aPseudoClass, CXnNode::MinHeightL, |
1026 aNode, aPseudoClass, &CXnNode::MinHeightL, |
1027 aLayoutPropertyCache->iMinHeight, |
1027 aLayoutPropertyCache->iMinHeight, |
1028 aLayoutPropertyCache->iMinHeights, level ); |
1028 aLayoutPropertyCache->iMinHeights, level ); |
1029 |
1029 |
1030 EnableStatePropertyL( |
1030 EnableStatePropertyL( |
1031 aNode, aPseudoClass, CXnNode::MaxWidthL, |
1031 aNode, aPseudoClass, &CXnNode::MaxWidthL, |
1032 aLayoutPropertyCache->iMaxWidth, |
1032 aLayoutPropertyCache->iMaxWidth, |
1033 aLayoutPropertyCache->iMaxWidths, level ); |
1033 aLayoutPropertyCache->iMaxWidths, level ); |
1034 |
1034 |
1035 EnableStatePropertyL( |
1035 EnableStatePropertyL( |
1036 aNode, aPseudoClass, CXnNode::MinWidthL, |
1036 aNode, aPseudoClass, &CXnNode::MinWidthL, |
1037 aLayoutPropertyCache->iMinWidth, |
1037 aLayoutPropertyCache->iMinWidth, |
1038 aLayoutPropertyCache->iMinWidths, level ); |
1038 aLayoutPropertyCache->iMinWidths, level ); |
1039 |
1039 |
1040 EnableStatePropertyL( |
1040 EnableStatePropertyL( |
1041 aNode, aPseudoClass, CXnNode::DisplayL, |
1041 aNode, aPseudoClass, &CXnNode::DisplayL, |
1042 aLayoutPropertyCache->iDisplay, |
1042 aLayoutPropertyCache->iDisplay, |
1043 aLayoutPropertyCache->iDisplays, level, ETrue ); |
1043 aLayoutPropertyCache->iDisplays, level, ETrue ); |
1044 |
1044 |
1045 EnableStatePropertyL( |
1045 EnableStatePropertyL( |
1046 aNode, aPseudoClass, CXnNode::VisibilityL, |
1046 aNode, aPseudoClass, &CXnNode::VisibilityL, |
1047 aLayoutPropertyCache->iVisibility, |
1047 aLayoutPropertyCache->iVisibility, |
1048 aLayoutPropertyCache->iVisibilities, level ); |
1048 aLayoutPropertyCache->iVisibilities, level ); |
1049 |
1049 |
1050 EnableStatePropertyL( |
1050 EnableStatePropertyL( |
1051 aNode, aPseudoClass, CXnNode::LeftL, |
1051 aNode, aPseudoClass, &CXnNode::LeftL, |
1052 aLayoutPropertyCache->iLeft, |
1052 aLayoutPropertyCache->iLeft, |
1053 aLayoutPropertyCache->iLefts, level ); |
1053 aLayoutPropertyCache->iLefts, level ); |
1054 |
1054 |
1055 EnableStatePropertyL( |
1055 EnableStatePropertyL( |
1056 aNode, aPseudoClass, CXnNode::RightL, |
1056 aNode, aPseudoClass, &CXnNode::RightL, |
1057 aLayoutPropertyCache->iRight, |
1057 aLayoutPropertyCache->iRight, |
1058 aLayoutPropertyCache->iRights, level ); |
1058 aLayoutPropertyCache->iRights, level ); |
1059 |
1059 |
1060 EnableStatePropertyL( |
1060 EnableStatePropertyL( |
1061 aNode, aPseudoClass, CXnNode::TopL, |
1061 aNode, aPseudoClass, &CXnNode::TopL, |
1062 aLayoutPropertyCache->iTop, |
1062 aLayoutPropertyCache->iTop, |
1063 aLayoutPropertyCache->iTops, level ); |
1063 aLayoutPropertyCache->iTops, level ); |
1064 |
1064 |
1065 EnableStatePropertyL( |
1065 EnableStatePropertyL( |
1066 aNode, aPseudoClass, CXnNode::BottomL, |
1066 aNode, aPseudoClass, &CXnNode::BottomL, |
1067 aLayoutPropertyCache->iBottom, |
1067 aLayoutPropertyCache->iBottom, |
1068 aLayoutPropertyCache->iBottoms, level ); |
1068 aLayoutPropertyCache->iBottoms, level ); |
1069 |
1069 |
1070 EnableStatePropertyL( |
1070 EnableStatePropertyL( |
1071 aNode, aPseudoClass, CXnNode::BorderLeftStyleL, |
1071 aNode, aPseudoClass, &CXnNode::BorderLeftStyleL, |
1072 aLayoutPropertyCache->iBorderLeftStyle, |
1072 aLayoutPropertyCache->iBorderLeftStyle, |
1073 aLayoutPropertyCache->iBorderLeftStyles, level ); |
1073 aLayoutPropertyCache->iBorderLeftStyles, level ); |
1074 |
1074 |
1075 EnableStatePropertyL( |
1075 EnableStatePropertyL( |
1076 aNode, aPseudoClass, CXnNode::BorderRightStyleL, |
1076 aNode, aPseudoClass, &CXnNode::BorderRightStyleL, |
1077 aLayoutPropertyCache->iBorderRightStyle, |
1077 aLayoutPropertyCache->iBorderRightStyle, |
1078 aLayoutPropertyCache->iBorderRightStyles, level ); |
1078 aLayoutPropertyCache->iBorderRightStyles, level ); |
1079 |
1079 |
1080 EnableStatePropertyL( |
1080 EnableStatePropertyL( |
1081 aNode, aPseudoClass, CXnNode::BorderTopStyleL, |
1081 aNode, aPseudoClass, &CXnNode::BorderTopStyleL, |
1082 aLayoutPropertyCache->iBorderTopStyle, |
1082 aLayoutPropertyCache->iBorderTopStyle, |
1083 aLayoutPropertyCache->iBorderTopStyles, level ); |
1083 aLayoutPropertyCache->iBorderTopStyles, level ); |
1084 |
1084 |
1085 EnableStatePropertyL( |
1085 EnableStatePropertyL( |
1086 aNode, aPseudoClass, CXnNode::BorderBottomStyleL, |
1086 aNode, aPseudoClass, &CXnNode::BorderBottomStyleL, |
1087 aLayoutPropertyCache->iBorderBottomStyle, |
1087 aLayoutPropertyCache->iBorderBottomStyle, |
1088 aLayoutPropertyCache->iBorderBottomStyles, level ); |
1088 aLayoutPropertyCache->iBorderBottomStyles, level ); |
1089 |
1089 |
1090 EnableStatePropertyL( |
1090 EnableStatePropertyL( |
1091 aNode, aPseudoClass, CXnNode::BorderStyleL, |
1091 aNode, aPseudoClass, &CXnNode::BorderStyleL, |
1092 aLayoutPropertyCache->iBorderStyle, |
1092 aLayoutPropertyCache->iBorderStyle, |
1093 aLayoutPropertyCache->iBorderStyles, level ); |
1093 aLayoutPropertyCache->iBorderStyles, level ); |
1094 |
1094 |
1095 EnableStatePropertyL( |
1095 EnableStatePropertyL( |
1096 aNode, aPseudoClass, CXnNode::DisplayPriorityL, |
1096 aNode, aPseudoClass, &CXnNode::DisplayPriorityL, |
1097 aLayoutPropertyCache->iDisplayPriority, |
1097 aLayoutPropertyCache->iDisplayPriority, |
1098 aLayoutPropertyCache->iDisplayPriorities, level ); |
1098 aLayoutPropertyCache->iDisplayPriorities, level ); |
1099 |
1099 |
1100 EnableStatePropertyL( |
1100 EnableStatePropertyL( |
1101 aNode, aPseudoClass, CXnNode::NavIndexL, |
1101 aNode, aPseudoClass, &CXnNode::NavIndexL, |
1102 aLayoutPropertyCache->iNavIndex, |
1102 aLayoutPropertyCache->iNavIndex, |
1103 aLayoutPropertyCache->iNavIndexes, level ); |
1103 aLayoutPropertyCache->iNavIndexes, level ); |
1104 |
1104 |
1105 EnableStatePropertyL( |
1105 EnableStatePropertyL( |
1106 aNode, aPseudoClass, CXnNode::ZIndexL, |
1106 aNode, aPseudoClass, &CXnNode::ZIndexL, |
1107 aLayoutPropertyCache->iZIndex, |
1107 aLayoutPropertyCache->iZIndex, |
1108 aLayoutPropertyCache->iZIndexes, level ); |
1108 aLayoutPropertyCache->iZIndexes, level ); |
1109 |
1109 |
1110 EnableStatePropertyL( |
1110 EnableStatePropertyL( |
1111 aNode, aPseudoClass, CXnNode::BackgroundColorL, |
1111 aNode, aPseudoClass, &CXnNode::BackgroundColorL, |
1112 aLayoutPropertyCache->iBackgroundColor, |
1112 aLayoutPropertyCache->iBackgroundColor, |
1113 aLayoutPropertyCache->iBackgroundColors, level ); |
1113 aLayoutPropertyCache->iBackgroundColors, level ); |
1114 |
1114 |
1115 EnableStatePropertyL( |
1115 EnableStatePropertyL( |
1116 aNode, aPseudoClass, CXnNode::BackgroundImageL, |
1116 aNode, aPseudoClass, &CXnNode::BackgroundImageL, |
1117 aLayoutPropertyCache->iBackgroundImage, |
1117 aLayoutPropertyCache->iBackgroundImage, |
1118 aLayoutPropertyCache->iBackgroundImages, level, ETrue ); |
1118 aLayoutPropertyCache->iBackgroundImages, level, ETrue ); |
1119 |
1119 |
1120 EnableStatePropertyL( |
1120 EnableStatePropertyL( |
1121 aNode, aPseudoClass, CXnNode::FocusBackgroundL, |
1121 aNode, aPseudoClass, &CXnNode::FocusBackgroundL, |
1122 aLayoutPropertyCache->iFocusBackground, |
1122 aLayoutPropertyCache->iFocusBackground, |
1123 aLayoutPropertyCache->iFocusBackgrounds, level ); |
1123 aLayoutPropertyCache->iFocusBackgrounds, level ); |
1124 |
1124 |
1125 aNode.SetDirtyL( level ); |
1125 aNode.SetDirtyL( level ); |
1126 } |
1126 } |
1141 } |
1141 } |
1142 |
1142 |
1143 TInt level( XnDirtyLevel::ENone ); |
1143 TInt level( XnDirtyLevel::ENone ); |
1144 |
1144 |
1145 DisableStatePropertyL( |
1145 DisableStatePropertyL( |
1146 aNode, aPseudoClass, CXnNode::WidthL, |
1146 aNode, aPseudoClass, &CXnNode::WidthL, |
1147 aLayoutPropertyCache->iWidth, |
1147 aLayoutPropertyCache->iWidth, |
1148 aLayoutPropertyCache->iWidths, aStates, level ); |
1148 aLayoutPropertyCache->iWidths, aStates, level ); |
1149 |
1149 |
1150 DisableStatePropertyL( |
1150 DisableStatePropertyL( |
1151 aNode, aPseudoClass, CXnNode::HeightL, |
1151 aNode, aPseudoClass, &CXnNode::HeightL, |
1152 aLayoutPropertyCache->iHeight, |
1152 aLayoutPropertyCache->iHeight, |
1153 aLayoutPropertyCache->iHeights, aStates, level ); |
1153 aLayoutPropertyCache->iHeights, aStates, level ); |
1154 |
1154 |
1155 DisableStatePropertyL( |
1155 DisableStatePropertyL( |
1156 aNode, aPseudoClass, CXnNode::MarginLeftL, |
1156 aNode, aPseudoClass, &CXnNode::MarginLeftL, |
1157 aLayoutPropertyCache->iMarginLeft, |
1157 aLayoutPropertyCache->iMarginLeft, |
1158 aLayoutPropertyCache->iMarginLefts, aStates, level ); |
1158 aLayoutPropertyCache->iMarginLefts, aStates, level ); |
1159 |
1159 |
1160 DisableStatePropertyL( |
1160 DisableStatePropertyL( |
1161 aNode, aPseudoClass, CXnNode::MarginRightL, |
1161 aNode, aPseudoClass, &CXnNode::MarginRightL, |
1162 aLayoutPropertyCache->iMarginRight, |
1162 aLayoutPropertyCache->iMarginRight, |
1163 aLayoutPropertyCache->iMarginRights, aStates, level ); |
1163 aLayoutPropertyCache->iMarginRights, aStates, level ); |
1164 |
1164 |
1165 DisableStatePropertyL( |
1165 DisableStatePropertyL( |
1166 aNode, aPseudoClass, CXnNode::BorderLeftL, |
1166 aNode, aPseudoClass, &CXnNode::BorderLeftL, |
1167 aLayoutPropertyCache->iBorderLeft, |
1167 aLayoutPropertyCache->iBorderLeft, |
1168 aLayoutPropertyCache->iBorderLefts, aStates, level ); |
1168 aLayoutPropertyCache->iBorderLefts, aStates, level ); |
1169 |
1169 |
1170 DisableStatePropertyL( |
1170 DisableStatePropertyL( |
1171 aNode, aPseudoClass, CXnNode::BorderRightL, |
1171 aNode, aPseudoClass, &CXnNode::BorderRightL, |
1172 aLayoutPropertyCache->iBorderRight, |
1172 aLayoutPropertyCache->iBorderRight, |
1173 aLayoutPropertyCache->iBorderRights, aStates, level ); |
1173 aLayoutPropertyCache->iBorderRights, aStates, level ); |
1174 |
1174 |
1175 DisableStatePropertyL( |
1175 DisableStatePropertyL( |
1176 aNode, aPseudoClass, CXnNode::PaddingLeftL, |
1176 aNode, aPseudoClass, &CXnNode::PaddingLeftL, |
1177 aLayoutPropertyCache->iPaddingLeft, |
1177 aLayoutPropertyCache->iPaddingLeft, |
1178 aLayoutPropertyCache->iPaddingLefts, aStates, level ); |
1178 aLayoutPropertyCache->iPaddingLefts, aStates, level ); |
1179 |
1179 |
1180 DisableStatePropertyL( |
1180 DisableStatePropertyL( |
1181 aNode, aPseudoClass, CXnNode::PaddingRightL, |
1181 aNode, aPseudoClass, &CXnNode::PaddingRightL, |
1182 aLayoutPropertyCache->iPaddingRight, |
1182 aLayoutPropertyCache->iPaddingRight, |
1183 aLayoutPropertyCache->iPaddingRights, aStates, level ); |
1183 aLayoutPropertyCache->iPaddingRights, aStates, level ); |
1184 |
1184 |
1185 DisableStatePropertyL( |
1185 DisableStatePropertyL( |
1186 aNode, aPseudoClass, CXnNode::MarginTopL, |
1186 aNode, aPseudoClass, &CXnNode::MarginTopL, |
1187 aLayoutPropertyCache->iMarginTop, |
1187 aLayoutPropertyCache->iMarginTop, |
1188 aLayoutPropertyCache->iMarginTops, aStates, level ); |
1188 aLayoutPropertyCache->iMarginTops, aStates, level ); |
1189 |
1189 |
1190 DisableStatePropertyL( |
1190 DisableStatePropertyL( |
1191 aNode, aPseudoClass, CXnNode::MarginBottomL, |
1191 aNode, aPseudoClass, &CXnNode::MarginBottomL, |
1192 aLayoutPropertyCache->iMarginBottom, |
1192 aLayoutPropertyCache->iMarginBottom, |
1193 aLayoutPropertyCache->iMarginBottoms, aStates, level ); |
1193 aLayoutPropertyCache->iMarginBottoms, aStates, level ); |
1194 |
1194 |
1195 DisableStatePropertyL( |
1195 DisableStatePropertyL( |
1196 aNode, aPseudoClass, CXnNode::BorderTopL, |
1196 aNode, aPseudoClass, &CXnNode::BorderTopL, |
1197 aLayoutPropertyCache->iBorderTop, |
1197 aLayoutPropertyCache->iBorderTop, |
1198 aLayoutPropertyCache->iBorderTops, aStates, level ); |
1198 aLayoutPropertyCache->iBorderTops, aStates, level ); |
1199 |
1199 |
1200 DisableStatePropertyL( |
1200 DisableStatePropertyL( |
1201 aNode, aPseudoClass, CXnNode::BorderBottomL, |
1201 aNode, aPseudoClass, &CXnNode::BorderBottomL, |
1202 aLayoutPropertyCache->iBorderBottom, |
1202 aLayoutPropertyCache->iBorderBottom, |
1203 aLayoutPropertyCache->iBorderBottoms, aStates, level ); |
1203 aLayoutPropertyCache->iBorderBottoms, aStates, level ); |
1204 |
1204 |
1205 DisableStatePropertyL( |
1205 DisableStatePropertyL( |
1206 aNode, aPseudoClass, CXnNode::PaddingTopL, |
1206 aNode, aPseudoClass, &CXnNode::PaddingTopL, |
1207 aLayoutPropertyCache->iPaddingTop, |
1207 aLayoutPropertyCache->iPaddingTop, |
1208 aLayoutPropertyCache->iPaddingTops, aStates, level ); |
1208 aLayoutPropertyCache->iPaddingTops, aStates, level ); |
1209 |
1209 |
1210 DisableStatePropertyL( |
1210 DisableStatePropertyL( |
1211 aNode, aPseudoClass, CXnNode::PaddingBottomL, |
1211 aNode, aPseudoClass, &CXnNode::PaddingBottomL, |
1212 aLayoutPropertyCache->iPaddingBottom, |
1212 aLayoutPropertyCache->iPaddingBottom, |
1213 aLayoutPropertyCache->iPaddingBottoms, aStates, level ); |
1213 aLayoutPropertyCache->iPaddingBottoms, aStates, level ); |
1214 |
1214 |
1215 DisableStatePropertyL( |
1215 DisableStatePropertyL( |
1216 aNode, aPseudoClass, CXnNode::BorderWidthL, |
1216 aNode, aPseudoClass, &CXnNode::BorderWidthL, |
1217 aLayoutPropertyCache->iBorderWidth, |
1217 aLayoutPropertyCache->iBorderWidth, |
1218 aLayoutPropertyCache->iBorderWidths, aStates, level ); |
1218 aLayoutPropertyCache->iBorderWidths, aStates, level ); |
1219 |
1219 |
1220 DisableStatePropertyL( |
1220 DisableStatePropertyL( |
1221 aNode, aPseudoClass, CXnNode::BlockProgressionL, |
1221 aNode, aPseudoClass, &CXnNode::BlockProgressionL, |
1222 aLayoutPropertyCache->iBlockProgression, |
1222 aLayoutPropertyCache->iBlockProgression, |
1223 aLayoutPropertyCache->iBlockProgressions, aStates, level ); |
1223 aLayoutPropertyCache->iBlockProgressions, aStates, level ); |
1224 |
1224 |
1225 DisableStatePropertyL( |
1225 DisableStatePropertyL( |
1226 aNode, aPseudoClass, CXnNode::DirectionL, |
1226 aNode, aPseudoClass, &CXnNode::DirectionL, |
1227 aLayoutPropertyCache->iDirection, |
1227 aLayoutPropertyCache->iDirection, |
1228 aLayoutPropertyCache->iDirections, aStates, level ); |
1228 aLayoutPropertyCache->iDirections, aStates, level ); |
1229 |
1229 |
1230 DisableStatePropertyL( |
1230 DisableStatePropertyL( |
1231 aNode, aPseudoClass, CXnNode::PositionL, |
1231 aNode, aPseudoClass, &CXnNode::PositionL, |
1232 aLayoutPropertyCache->iPosition, |
1232 aLayoutPropertyCache->iPosition, |
1233 aLayoutPropertyCache->iPositions, aStates, level ); |
1233 aLayoutPropertyCache->iPositions, aStates, level ); |
1234 |
1234 |
1235 DisableStatePropertyL( |
1235 DisableStatePropertyL( |
1236 aNode, aPseudoClass, CXnNode::MaxHeightL, |
1236 aNode, aPseudoClass, &CXnNode::MaxHeightL, |
1237 aLayoutPropertyCache->iMaxHeight, |
1237 aLayoutPropertyCache->iMaxHeight, |
1238 aLayoutPropertyCache->iMaxHeights, aStates, level ); |
1238 aLayoutPropertyCache->iMaxHeights, aStates, level ); |
1239 |
1239 |
1240 DisableStatePropertyL( |
1240 DisableStatePropertyL( |
1241 aNode, aPseudoClass, CXnNode::MinHeightL, |
1241 aNode, aPseudoClass, &CXnNode::MinHeightL, |
1242 aLayoutPropertyCache->iMinHeight, |
1242 aLayoutPropertyCache->iMinHeight, |
1243 aLayoutPropertyCache->iMinHeights, aStates, level ); |
1243 aLayoutPropertyCache->iMinHeights, aStates, level ); |
1244 |
1244 |
1245 DisableStatePropertyL( |
1245 DisableStatePropertyL( |
1246 aNode, aPseudoClass, CXnNode::MaxWidthL, |
1246 aNode, aPseudoClass, &CXnNode::MaxWidthL, |
1247 aLayoutPropertyCache->iMaxWidth, |
1247 aLayoutPropertyCache->iMaxWidth, |
1248 aLayoutPropertyCache->iMaxWidths, aStates, level ); |
1248 aLayoutPropertyCache->iMaxWidths, aStates, level ); |
1249 |
1249 |
1250 DisableStatePropertyL( |
1250 DisableStatePropertyL( |
1251 aNode, aPseudoClass, CXnNode::MinWidthL, |
1251 aNode, aPseudoClass, &CXnNode::MinWidthL, |
1252 aLayoutPropertyCache->iMinWidth, |
1252 aLayoutPropertyCache->iMinWidth, |
1253 aLayoutPropertyCache->iMinWidths, aStates, level ); |
1253 aLayoutPropertyCache->iMinWidths, aStates, level ); |
1254 |
1254 |
1255 DisableStatePropertyL( |
1255 DisableStatePropertyL( |
1256 aNode, aPseudoClass, CXnNode::DisplayL, |
1256 aNode, aPseudoClass, &CXnNode::DisplayL, |
1257 aLayoutPropertyCache->iDisplay, |
1257 aLayoutPropertyCache->iDisplay, |
1258 aLayoutPropertyCache->iDisplays, aStates, level, ETrue ); |
1258 aLayoutPropertyCache->iDisplays, aStates, level, ETrue ); |
1259 |
1259 |
1260 DisableStatePropertyL( |
1260 DisableStatePropertyL( |
1261 aNode, aPseudoClass, CXnNode::VisibilityL, |
1261 aNode, aPseudoClass, &CXnNode::VisibilityL, |
1262 aLayoutPropertyCache->iVisibility, |
1262 aLayoutPropertyCache->iVisibility, |
1263 aLayoutPropertyCache->iVisibilities, aStates, level ); |
1263 aLayoutPropertyCache->iVisibilities, aStates, level ); |
1264 |
1264 |
1265 DisableStatePropertyL( |
1265 DisableStatePropertyL( |
1266 aNode, aPseudoClass, CXnNode::LeftL, |
1266 aNode, aPseudoClass, &CXnNode::LeftL, |
1267 aLayoutPropertyCache->iLeft, |
1267 aLayoutPropertyCache->iLeft, |
1268 aLayoutPropertyCache->iLefts, aStates, level ); |
1268 aLayoutPropertyCache->iLefts, aStates, level ); |
1269 |
1269 |
1270 DisableStatePropertyL( |
1270 DisableStatePropertyL( |
1271 aNode, aPseudoClass, CXnNode::RightL, |
1271 aNode, aPseudoClass, &CXnNode::RightL, |
1272 aLayoutPropertyCache->iRight, |
1272 aLayoutPropertyCache->iRight, |
1273 aLayoutPropertyCache->iRights, aStates, level ); |
1273 aLayoutPropertyCache->iRights, aStates, level ); |
1274 |
1274 |
1275 DisableStatePropertyL( |
1275 DisableStatePropertyL( |
1276 aNode, aPseudoClass, CXnNode::TopL, |
1276 aNode, aPseudoClass, &CXnNode::TopL, |
1277 aLayoutPropertyCache->iTop, |
1277 aLayoutPropertyCache->iTop, |
1278 aLayoutPropertyCache->iTops, aStates, level ); |
1278 aLayoutPropertyCache->iTops, aStates, level ); |
1279 |
1279 |
1280 DisableStatePropertyL( |
1280 DisableStatePropertyL( |
1281 aNode, aPseudoClass, CXnNode::BottomL, |
1281 aNode, aPseudoClass, &CXnNode::BottomL, |
1282 aLayoutPropertyCache->iBottom, |
1282 aLayoutPropertyCache->iBottom, |
1283 aLayoutPropertyCache->iBottoms, aStates, level ); |
1283 aLayoutPropertyCache->iBottoms, aStates, level ); |
1284 |
1284 |
1285 DisableStatePropertyL( |
1285 DisableStatePropertyL( |
1286 aNode, aPseudoClass, CXnNode::BorderLeftStyleL, |
1286 aNode, aPseudoClass, &CXnNode::BorderLeftStyleL, |
1287 aLayoutPropertyCache->iBorderLeftStyle, |
1287 aLayoutPropertyCache->iBorderLeftStyle, |
1288 aLayoutPropertyCache->iBorderLeftStyles, aStates, level ); |
1288 aLayoutPropertyCache->iBorderLeftStyles, aStates, level ); |
1289 |
1289 |
1290 DisableStatePropertyL( |
1290 DisableStatePropertyL( |
1291 aNode, aPseudoClass, CXnNode::BorderRightStyleL, |
1291 aNode, aPseudoClass, &CXnNode::BorderRightStyleL, |
1292 aLayoutPropertyCache->iBorderRightStyle, |
1292 aLayoutPropertyCache->iBorderRightStyle, |
1293 aLayoutPropertyCache->iBorderRightStyles, aStates, level ); |
1293 aLayoutPropertyCache->iBorderRightStyles, aStates, level ); |
1294 |
1294 |
1295 DisableStatePropertyL( |
1295 DisableStatePropertyL( |
1296 aNode, aPseudoClass, CXnNode::BorderTopStyleL, |
1296 aNode, aPseudoClass, &CXnNode::BorderTopStyleL, |
1297 aLayoutPropertyCache->iBorderTopStyle, |
1297 aLayoutPropertyCache->iBorderTopStyle, |
1298 aLayoutPropertyCache->iBorderTopStyles, aStates, level ); |
1298 aLayoutPropertyCache->iBorderTopStyles, aStates, level ); |
1299 |
1299 |
1300 DisableStatePropertyL( |
1300 DisableStatePropertyL( |
1301 aNode, aPseudoClass, CXnNode::BorderBottomStyleL, |
1301 aNode, aPseudoClass, &CXnNode::BorderBottomStyleL, |
1302 aLayoutPropertyCache->iBorderBottomStyle, |
1302 aLayoutPropertyCache->iBorderBottomStyle, |
1303 aLayoutPropertyCache->iBorderBottomStyles, aStates, level ); |
1303 aLayoutPropertyCache->iBorderBottomStyles, aStates, level ); |
1304 |
1304 |
1305 DisableStatePropertyL( |
1305 DisableStatePropertyL( |
1306 aNode, aPseudoClass, CXnNode::BorderStyleL, |
1306 aNode, aPseudoClass, &CXnNode::BorderStyleL, |
1307 aLayoutPropertyCache->iBorderStyle, |
1307 aLayoutPropertyCache->iBorderStyle, |
1308 aLayoutPropertyCache->iBorderStyles, aStates, level ); |
1308 aLayoutPropertyCache->iBorderStyles, aStates, level ); |
1309 |
1309 |
1310 DisableStatePropertyL( |
1310 DisableStatePropertyL( |
1311 aNode, aPseudoClass, CXnNode::DisplayPriorityL, |
1311 aNode, aPseudoClass, &CXnNode::DisplayPriorityL, |
1312 aLayoutPropertyCache->iDisplayPriority, |
1312 aLayoutPropertyCache->iDisplayPriority, |
1313 aLayoutPropertyCache->iDisplayPriorities, aStates, level ); |
1313 aLayoutPropertyCache->iDisplayPriorities, aStates, level ); |
1314 |
1314 |
1315 DisableStatePropertyL( |
1315 DisableStatePropertyL( |
1316 aNode, aPseudoClass, CXnNode::NavIndexL, |
1316 aNode, aPseudoClass, &CXnNode::NavIndexL, |
1317 aLayoutPropertyCache->iNavIndex, |
1317 aLayoutPropertyCache->iNavIndex, |
1318 aLayoutPropertyCache->iNavIndexes, aStates, level ); |
1318 aLayoutPropertyCache->iNavIndexes, aStates, level ); |
1319 |
1319 |
1320 DisableStatePropertyL( |
1320 DisableStatePropertyL( |
1321 aNode, aPseudoClass, CXnNode::ZIndexL, |
1321 aNode, aPseudoClass, &CXnNode::ZIndexL, |
1322 aLayoutPropertyCache->iZIndex, |
1322 aLayoutPropertyCache->iZIndex, |
1323 aLayoutPropertyCache->iZIndexes, aStates, level ); |
1323 aLayoutPropertyCache->iZIndexes, aStates, level ); |
1324 |
1324 |
1325 DisableStatePropertyL( |
1325 DisableStatePropertyL( |
1326 aNode, aPseudoClass, CXnNode::BackgroundColorL, |
1326 aNode, aPseudoClass, &CXnNode::BackgroundColorL, |
1327 aLayoutPropertyCache->iBackgroundColor, |
1327 aLayoutPropertyCache->iBackgroundColor, |
1328 aLayoutPropertyCache->iBackgroundColors, aStates, level ); |
1328 aLayoutPropertyCache->iBackgroundColors, aStates, level ); |
1329 |
1329 |
1330 DisableStatePropertyL( |
1330 DisableStatePropertyL( |
1331 aNode, aPseudoClass, CXnNode::BackgroundImageL, |
1331 aNode, aPseudoClass, &CXnNode::BackgroundImageL, |
1332 aLayoutPropertyCache->iBackgroundImage, |
1332 aLayoutPropertyCache->iBackgroundImage, |
1333 aLayoutPropertyCache->iBackgroundImages, aStates, level, ETrue ); |
1333 aLayoutPropertyCache->iBackgroundImages, aStates, level, ETrue ); |
1334 |
1334 |
1335 DisableStatePropertyL( |
1335 DisableStatePropertyL( |
1336 aNode, aPseudoClass, CXnNode::FocusBackgroundL, |
1336 aNode, aPseudoClass, &CXnNode::FocusBackgroundL, |
1337 aLayoutPropertyCache->iFocusBackground, |
1337 aLayoutPropertyCache->iFocusBackground, |
1338 aLayoutPropertyCache->iFocusBackgrounds, aStates, level ); |
1338 aLayoutPropertyCache->iFocusBackgrounds, aStates, level ); |
1339 |
1339 |
1340 aNode.SetDirtyL( level ); |
1340 aNode.SetDirtyL( level ); |
1341 } |
1341 } |