Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
camelCase: Converted remaining code that was missed
[xestiacalendar/.git] / source / common / monthviewgen.cpp
index df23527..3455400 100644 (file)
@@ -72,7 +72,7 @@ int PreviousMonthNumberofDays(int month, int year){
 
 XCCalendarMonthViewGrid GenerateMonthGrid(int month, int year){
        
-       XCCalendarMonthViewGrid MonthViewOutput;
+       XCCalendarMonthViewGrid monthViewOutput;
        
        // Work out which day of the week the first day of 
        // the month is.
@@ -82,7 +82,7 @@ XCCalendarMonthViewGrid GenerateMonthGrid(int month, int year){
        int previousMonthNumDays = PreviousMonthNumberofDays(month, year);
        int previousMonthDays = 0;
        int previousMonth = 0;
-       int previousYear = Year;
+       int previousYear = year;
        int dayWeekCount = 0;
        bool processGrid = true;
        bool firstWeekProcessing = true;
@@ -124,10 +124,10 @@ XCCalendarMonthViewGrid GenerateMonthGrid(int month, int year){
                
                XCCalendarMonthViewGridDayData dayItem;
                        
-               dayItem.Day = previousMonthNumDays - previousMonthDaysProcessing;
-               dayItem.Month = previousMonth;
-               dayItem.Year = previousYear;
-               dayItem.IsInMonth = false;
+               dayItem.day = previousMonthNumDays - previousMonthDaysProcessing;
+               dayItem.month = previousMonth;
+               dayItem.year = previousYear;
+               dayItem.isInMonth = false;
                        
                firstWeek.dayList.insert(firstWeek.dayList.begin(), dayItem);
                        
@@ -165,10 +165,10 @@ XCCalendarMonthViewGrid GenerateMonthGrid(int month, int year){
 
                XCCalendarMonthViewGridDayData dayItem;
                
-               dayItem.Day = ProcessDay;
-               dayItem.Month = Month;
-               dayItem.Year = Year;
-               dayItem.IsInMonth = true;
+               dayItem.day = processDay;
+               dayItem.month = month;
+               dayItem.year = year;
+               dayItem.isInMonth = true;
                
                if (firstWeekProcessing == true){
                        
Xestia Software Development
Yn Maystri
© 2006 - 2019 Xestia Software Development
Software

Xestia Address Book
Xestia Calendar
Development

Xestia Gelforn
Everything else

About
News
Privacy Policy