Lines Matching defs:nl

1075     ListWidget nl = (ListWidget)cnew;
1077 XFontSetExtents *ext = XExtentsOfFontSet(nl->list.fontset);
1081 if (XtWidth(nl) != XtWidth(cl))
1082 nl->list.freedoms |= WidthLock;
1083 if (XtWidth(nl) == 0)
1084 nl->list.freedoms &= ~WidthLock;
1086 if (XtHeight(nl) != XtHeight(cl))
1087 nl->list.freedoms |= HeightLock;
1088 if (XtHeight(nl) == 0)
1089 nl->list.freedoms &= ~HeightLock;
1091 if (nl->list.longest != cl->list.longest)
1092 nl->list.freedoms |= LongestLock;
1093 if (nl->list.longest == 0)
1094 nl->list.freedoms &= ~LongestLock;
1096 if (cl->list.foreground != nl->list.foreground ||
1097 cl->core.background_pixel != nl->core.background_pixel ||
1098 cl->list.font != nl->list.font) {
1110 if (cl->list.font != nl->list.font && cl->simple.international == False)
1111 nl->list.row_height = nl->list.font->max_bounds.ascent
1112 + nl->list.font->max_bounds.descent
1113 + nl->list.row_space;
1114 else if (cl->list.fontset != nl->list.fontset
1116 nl->list.row_height = ext->max_ink_extent.height + nl->list.row_space;
1121 else if (cl->list.row_space != nl->list.row_space) {
1123 nl->list.row_height = ext->max_ink_extent.height + nl->list.row_space;
1125 nl->list.row_height = nl->list.font->max_bounds.ascent
1126 + nl->list.font->max_bounds.descent
1127 + nl->list.row_space;
1130 if (XtWidth(cl) != XtWidth(nl) || XtHeight(cl) != XtHeight(nl)
1131 || cl->list.internal_width != nl->list.internal_width
1132 || cl->list.internal_height != nl->list.internal_height
1133 || cl->list.column_space != nl->list.column_space
1134 || cl->list.row_space != nl->list.row_space
1135 || cl->list.default_cols != nl->list.default_cols
1136 || (cl->list.force_cols != nl->list.force_cols
1137 && rl->list.force_cols != nl->list.ncols)
1138 || cl->list.vertical_cols != nl->list.vertical_cols
1139 || cl->list.longest != nl->list.longest
1140 || cl->list.nitems != nl->list.nitems
1141 || cl->list.font != nl->list.font
1144 || cl->list.fontset != nl->list.fontset
1145 || cl->list.list != nl->list.list) {
1147 Layout(cnew, WidthFree(nl), HeightFree(nl),
1148 &nl->core.width, &nl->core.height);
1152 if (cl->list.list != nl->list.list || cl->list.nitems != nl->list.nitems)
1153 nl->list.is_highlighted = nl->list.highlight = NO_HIGHLIGHT;
1155 if (cl->core.sensitive != nl->core.sensitive
1156 || cl->core.ancestor_sensitive != nl->core.ancestor_sensitive) {
1157 nl->list.highlight = NO_HIGHLIGHT;