Lines Matching refs:column

396 	int32 column = fFocusedDay.column;
400 column -= 1;
401 if (column < 0) {
402 column = kColumns - 1;
411 column += 1;
412 if (column == kColumns) {
413 column = 0;
472 fNewFocusedDay.SetTo(row, column);
761 for (int32 column = 0; column < 7; ++column) {
763 fNewFocusedDay.SetTo(row, column);
764 fNewSelectedDay.SetTo(row, column);
790 for (int32 column = 0; column < 7; ++column) {
792 fNewCurrentDay.SetTo(row, column);
813 const int32 dayOffset = selection.row * 7 + selection.column;
843 for (int32 column = 0; column < 7; ++column) {
844 float tmp = StringWidth(fDayNames[column].String()) + 2.0;
852 // width = max width day name * 8 column + 8 px border
907 for (int32 column = 0; column < 7; ++column) {
914 fFocusedDay.SetTo(row, column);
915 fSelectedDay.SetTo(row, column);
916 fNewFocusedDay.SetTo(row, column);
922 fCurrentDay.SetTo(row, column);
925 fDayNumbers[row][column].Truncate(0);
926 fDayNumbers[row][column] << day;
949 int32 column, int32 counter, BRect frame, const char* text,
960 if (currRow == row && currColumn == column) {
981 const int32 currColumn = fSelectedDay.column;
985 const int32 focusColumn = fFocusedDay.column;
988 const int32 highlightColumn = fCurrentDay.column;
993 for (int32 column = 0; column < 7; ++column) {
995 const char* day = fDayNumbers[row][column].String();
996 bool focus = isFocus && focusRow == row && focusColumn == column;
997 bool highlight = highlightRow == row && highlightColumn == column;
998 _DrawDay(currRow, currColumn, row, column, counter, tmp, day,
1014 const int32 currColumn = fSelectedDay.column;
1017 const int32 focusColumn = fFocusedDay.column;
1020 const int32 highlightColumn = fCurrentDay.column;
1025 for (int32 column = 0; column < 7; ++column) {
1027 if (fNewFocusedDay.row == row && fNewFocusedDay.column == column) {
1028 fFocusedDay.SetTo(row, column);
1031 bool highlight = highlightRow == row && highlightColumn == column;
1032 const char* day = fDayNumbers[row][column].String();
1033 _DrawDay(currRow, currColumn, row, column, counter, tmp, day,
1035 } else if (focusRow == row && focusColumn == column) {
1036 const char* day = fDayNumbers[row][column].String();
1037 bool highlight = highlightRow == row && highlightColumn == column;
1038 _DrawDay(currRow, currColumn, row, column, counter, tmp, day,
1172 const int32 currColumn = fSelectedDay.column;
1175 const int32 focusColumn = fFocusedDay.column;
1178 const int32 highlightColumn = fCurrentDay.column;
1183 for (int32 column = 0; column < 7; ++column) {
1186 && fNewSelectedDay.column == column) {
1187 fSelectedDay.SetTo(row, column);
1189 const char* day = fDayNumbers[row][column].String();
1191 && focusColumn == column;
1192 bool highlight = highlightRow == row && highlightColumn == column;
1193 _DrawDay(row, column, row, column, counter, tmp, day, focus, highlight);
1194 } else if (currRow == row && currColumn == column) {
1195 const char* day = fDayNumbers[row][column].String();
1197 && focusColumn == column;
1198 bool highlight = highlightRow == row && highlightColumn == column;
1214 const int32 selectColumn = fSelectedDay.column;
1217 const int32 focusColumn = fFocusedDay.column;
1220 const int32 currColumn = fCurrentDay.column;
1225 for (int32 column = 0; column < 7; ++column) {
1228 && fNewCurrentDay.column == column) {
1229 fCurrentDay.SetTo(row, column);
1231 const char* day = fDayNumbers[row][column].String();
1233 && focusColumn == column;
1234 bool isSelected = selectRow == row && selectColumn == column;
1236 _DrawDay(row, column, row, column, counter, tmp, day, focus, true);
1238 _DrawDay(row, column, -1, -1, counter, tmp, day, focus, true);
1240 } else if (currRow == row && currColumn == column) {
1241 const char* day = fDayNumbers[row][column].String();
1243 && focusColumn == column;
1244 bool isSelected = selectRow == row && selectColumn == column;
1246 _DrawDay(currRow, currColumn, row, column, counter, tmp, day, focus, false);
1315 for (int32 column = 0; column < 7; ++column) {
1318 fNewSelectedDay.SetTo(row, column);
1325 int32 day = atoi(fDayNumbers[row][column].String());
1347 for (int32 column = 0; column < 7; ++column) {
1349 if (selection.row == row && selection.column == column)