📄 osd_act.c
字号:
////////////////////////////////////////////////////////////////////////////////
// Genesis Microchip, Inc.
// This file was generated by Genesis Workbench. PLEASE DO NOT EDIT MANUALLY
////////////////////////////////////////////////////////////////////////////////
#include "std_inc.h"
// Actions definition
BYTE ROM * ROM ActionSet[92] =
{
(BYTE ROM *) gm_GoToState,
(BYTE ROM *) DrawLongValue,
(BYTE ROM *) SelectLongValueButton,
(BYTE ROM *) DrawBitmap,
(BYTE ROM *) EraseControl,
(BYTE ROM *) DrawStaticText,
(BYTE ROM *) gm_DecState,
(BYTE ROM *) gm_IncState,
(BYTE ROM *) DrawSlider,
(BYTE ROM *) LoadBitmap,
(BYTE ROM *) gm_DecAdjuster,
(BYTE ROM *) gm_IncAdjuster,
(BYTE ROM *) SelectBitmapButton,
(BYTE ROM *) BuzzerOn,
(BYTE ROM *) SelectTextButton,
(BYTE ROM *) UnselectTextButton,
(BYTE ROM *) LoadColorsInvisibleState,
(BYTE ROM *) gm_SetAdjuster,
(BYTE ROM *) ResetTimer,
(BYTE ROM *) AllocateTile,
(BYTE ROM *) DeallocateTile,
(BYTE ROM *) EnableTile,
(BYTE ROM *) LoadColorsDialog,
(BYTE ROM *) LoadControlChars,
(BYTE ROM *) DrawRectangle,
(BYTE ROM *) SaveModeIndependentSettings,
(BYTE ROM *) AdjustFactoryColorTempAction,
(BYTE ROM *) LoadFactoryColorTempSettings,
(BYTE ROM *) ResetOSDTimer,
(BYTE ROM *) SaveFactoryColorTempSettings,
(BYTE ROM *) ChangePort,
(BYTE ROM *) InternalTestPatterns,
(BYTE ROM *) RestoreModeDependentSettings,
(BYTE ROM *) RestoreModeIndepSettings,
(BYTE ROM *) FactoryReset,
(BYTE ROM *) RequestSleepByOSD,
(BYTE ROM *) SaveModeDependentSettings,
(BYTE ROM *) StartFloating,
(BYTE ROM *) StopFloating,
(BYTE ROM *) UpdateModeDependentSettings,
(BYTE ROM *) RefreshFactoryGlobals,
(BYTE ROM *) UpdateUserPrefAdcSettings,
(BYTE ROM *) AdjustFactoryBlendValueFromOsdDisplay,
(BYTE ROM *) AllocateMemoryControl,
(BYTE ROM *) AutoColor,
(BYTE ROM *) BuzzerSet,
(BYTE ROM *) ChangeLockUnlockOSD,
(BYTE ROM *) ClearPowerOnFlag,
(BYTE ROM *) DisableTestPatterns,
(BYTE ROM *) DoAutoColor,
(BYTE ROM *) DoAutoGeometry,
(BYTE ROM *) DrawTimingInfo,
(BYTE ROM *) EnterDefaultState,
(BYTE ROM *) EnterFactoryMenu,
(BYTE ROM *) EnterNoCableState,
(BYTE ROM *) EnterNoSignalState,
(BYTE ROM *) EnterOutOfRangeState,
(BYTE ROM *) EnterSleepState,
(BYTE ROM *) EnterValidModeState,
(BYTE ROM *) ExitFactoryMenu,
(BYTE ROM *) FactoryMenuGmRead,
(BYTE ROM *) FactoryMenuGmWrite,
(BYTE ROM *) FactoryPositionReset,
(BYTE ROM *) InitCalValues,
(BYTE ROM *) InitFactoryDependentSettings,
(BYTE ROM *) InitPanelNameForDynamicControl,
(BYTE ROM *) RequestSoftPowerOff,
(BYTE ROM *) RequestSoftPowerOn,
(BYTE ROM *) SaveFactorySettings,
(BYTE ROM *) SelectSliderButton,
(BYTE ROM *) SendPowerDownMessage,
(BYTE ROM *) SetOverlappedMode,
(BYTE ROM *) SetPowerOnFlag,
(BYTE ROM *) SetSplashScreenOff,
(BYTE ROM *) StartADCCalibrationISR,
(BYTE ROM *) gm_AutoADCInitMain,
(BYTE ROM *) Condition1,
(BYTE ROM *) Condition4,
(BYTE ROM *) Condition3,
(BYTE ROM *) Condition19,
(BYTE ROM *) Condition20,
(BYTE ROM *) Condition13,
(BYTE ROM *) Condition12,
(BYTE ROM *) Condition0,
(BYTE ROM *) Condition17,
(BYTE ROM *) Condition5,
(BYTE ROM *) Condition6,
(BYTE ROM *) Condition8,
(BYTE ROM *) Condition7,
(BYTE ROM *) Condition2,
(BYTE ROM *) Condition18,
(BYTE ROM *) Condition37
};
////////////////////////////////////////////////////////////////////////////////
// Action pointer set data block size: 368 Bytes
////////////////////////////////////////////////////////////////////////////////
#define VARIABLE(_name) UserPref##_name
// Conditions defenition
BYTE Condition1()
{
return !UserPrefLockUnlockOSD;
}
BYTE Condition4()
{
return (!IsDVIInput()) && (!UserPrefLockUnlockOSD);
}
BYTE Condition3()
{
return !m_UseAudio;
}
BYTE Condition19()
{
return (((!(gmvw_InputFlagsMain & gmd_SUB_SAMPLE)) && IsVGAInput()) && (!UserPrefLockUnlockOSD));
}
BYTE Condition20()
{
return (IsDVIInput()) && (!UserPrefLockUnlockOSD);
}
BYTE Condition13()
{
return IsDVIInputLastActive();
}
BYTE Condition12()
{
return IsVGAInputLastActive();
}
BYTE Condition0()
{
return SystemFlags.TestPatternRunning;
}
BYTE Condition17()
{
return UserPrefLockUnlockOSD;
}
BYTE Condition5()
{
return m_UseAudio != 0;
}
BYTE Condition6()
{
return !SystemFlags.TestPatternRunning;
}
BYTE Condition8()
{
return !UserPrefLockUnlockOSD && IsDVIInputLastActive();
}
BYTE Condition7()
{
return !UserPrefLockUnlockOSD && IsVGAInputLastActive();
}
BYTE Condition2()
{
return (!UserPrefLockUnlockOSD) && (B_DisableTestPattern == 0);
}
BYTE Condition18()
{
return ((!UserPrefLockUnlockOSD)&(UserPrefVolume == 0));
}
BYTE Condition37()
{
return B_DisableTestPattern == 0;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -