Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: F746_GUI F746_SAI_IO FrequencyResponseDrawer SD_PlayerSkeleton UIT_FFT_Real
GuiChanger.hpp
00001 //-------------------------------------------------------------- 00002 // 信号処理の種類に応じた GUI 部品の状態を変更する 00003 // 00004 // 2017/04/08, Copyright (c) 2017 MIKAMI, Naoki 00005 //-------------------------------------------------------------- 00006 00007 #ifndef GUI_CHANGER_HPP 00008 #define GUI_CHANGER_HPP 00009 00010 // Through の場合 00011 void SetThrough(SeekBar *barReverb, SeekBar *barFqCh, 00012 NumericLabel<int> *frqLabel) 00013 { 00014 barReverb->Inactivate(); 00015 barFqCh->Inactivate(); 00016 frqLabel->Redraw(GuiBase::ENUM_INACTIVE_TEXT); 00017 } 00018 00019 // 残響生成の場合 00020 void SetReverb(SeekBar *barReverb, SeekBar *barFqCh, 00021 NumericLabel<int> *frqLabel) 00022 { 00023 barReverb->Activate(); 00024 barFqCh->Inactivate(); 00025 frqLabel->Redraw(GuiBase::ENUM_INACTIVE_TEXT); 00026 } 00027 00028 // 周波数シフトの場合 00029 void SetFrqShifter(SeekBar *barReverb, SeekBar *barFqCh, 00030 NumericLabel<int> *frqLabel) 00031 { 00032 barReverb->Inactivate(); 00033 barFqCh->Activate(); 00034 frqLabel->Redraw(GuiBase::ENUM_TEXT); 00035 } 00036 00037 #endif // GUI_CHANGER_HPP
Generated on Tue Jul 12 2022 21:58:54 by
1.7.2