From e249eb11ef60b0cdd5ad4f6a0169b2549a7a9134 Mon Sep 17 00:00:00 2001 From: Jimi Sanchez Date: Sat, 2 Apr 2022 02:22:10 -0400 Subject: [PATCH] Updating wiki docs --- Widgets.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Widgets.md b/Widgets.md index 1db13ee..b56ac7c 100644 --- a/Widgets.md +++ b/Widgets.md @@ -125,7 +125,7 @@ my_liveDateTime.set_seconds_enabled(true); BigFrequency is used for displaying a radio frequency. Here you can find it's declaration and prototype: ``` -Labels my_bigFrequency_widget{ +BigFrequency my_bigFrequency_widget{ Rect parent_rect, rf::Frequency frequency }; @@ -133,7 +133,7 @@ Labels my_bigFrequency_widget{ For example, let's say you want a label called `my_bigFrequency`. You will need to add this to `apps/ui_newapp.hpp`: ``` -Labels my_bigFrequency( +BigFrequency my_bigFrequency( {10, 10, 28*8, 52}, // Coordinates are: int:x (px), int:y (px), int:width (px), int:height (px) 0 // Beginning frequency in hz );