فهرست منبع

Further updates to the inline comments for the TODOs

Cody Tolene 2 سال پیش
والد
کامیت
4c931fd5ad
1فایلهای تغییر یافته به همراه6 افزوده شده و 8 حذف شده
  1. 6 8
      src-fap/views/camera_suite_view_camera.c

+ 6 - 8
src-fap/views/camera_suite_view_camera.c

@@ -71,14 +71,14 @@ static void camera_suite_view_camera_draw(Canvas* canvas, UartDumpModel* model)
                 // Adjust the coordinates based on the new screen dimensions
                 // Adjust the coordinates based on the new screen dimensions
                 switch(app->orientation) {
                 switch(app->orientation) {
                 /**
                 /**
-                 * Orientation: 90 degrees
+                 * Orientation: 90 degrees.
                  * 
                  * 
                  * TODO: Fix bug here, the image has horizontal blocks going
                  * TODO: Fix bug here, the image has horizontal blocks going
-                 * across the screen. Example below:
+                 * across the screen. Fill entire screen. Example below:
                  *  ___________________________
                  *  ___________________________
                  *  |------------|            |
                  *  |------------|            |
                  *  |------------|            |
                  *  |------------|            |
-                 *  |--PICTURE---|            |
+                 *  |--PICTURE---|   Fill me  |
                  *  |------------|            |
                  *  |------------|            |
                  *  |------------|            |
                  *  |------------|            |
                  *  ‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾
                  *  ‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾
@@ -88,9 +88,8 @@ static void camera_suite_view_camera_draw(Canvas* canvas, UartDumpModel* model)
                     screen_y = FRAME_HEIGHT - 8 + (rotated_y * 8) + i;
                     screen_y = FRAME_HEIGHT - 8 + (rotated_y * 8) + i;
                     break;
                     break;
                 }
                 }
-
                 /**
                 /**
-                 * Orientation: 180 degrees
+                 * Orientation: 180 degrees.
                  * 
                  * 
                  * TODO: Fix bug here, the image has vertial blocks going up
                  * TODO: Fix bug here, the image has vertial blocks going up
                  * the screen. Example below:
                  * the screen. Example below:
@@ -107,16 +106,15 @@ static void camera_suite_view_camera_draw(Canvas* canvas, UartDumpModel* model)
                     screen_y = FRAME_HEIGHT - 1 - rotated_y;
                     screen_y = FRAME_HEIGHT - 1 - rotated_y;
                     break;
                     break;
                 }
                 }
-
                 /**
                 /**
-                 * Orientation: 270 degrees
+                 * Orientation: 270 degrees.
                  * 
                  * 
                  * This is working great visually.
                  * This is working great visually.
                  * TODO: Fill entire screen. Current:
                  * TODO: Fill entire screen. Current:
                  *  ___________________________
                  *  ___________________________
                  *  |            |            |
                  *  |            |            |
                  *  |            |            |
                  *  |            |            |
-                 *  |  Fill Me   |   Picture  |
+                 *  |  Fill me   |   Picture  |
                  *  |            |            |
                  *  |            |            |
                  *  |            |            |
                  *  |            |            |
                  *  ‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾
                  *  ‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾