ohmu
·
2026-10-15
1#pragma once
2
3#include "common/option.h"
4
5typedef enum FFDisplayCompactType: uint8_t {
6 FF_DISPLAY_COMPACT_TYPE_NONE = 0,
7 FF_DISPLAY_COMPACT_TYPE_ORIGINAL_BIT = 1 << 0,
8 FF_DISPLAY_COMPACT_TYPE_SCALED_BIT = 1 << 1,
9 FF_DISPLAY_COMPACT_TYPE_REFRESH_RATE_BIT = 1 << 2,
10} FFDisplayCompactType;
11
12typedef enum FFDisplayOrder: uint8_t {
13 FF_DISPLAY_ORDER_NONE,
14 FF_DISPLAY_ORDER_ASC,
15 FF_DISPLAY_ORDER_DESC,
16} FFDisplayOrder;
17
18typedef struct FFDisplayOptions {
19 FFModuleArgs moduleArgs;
20
21 FFDisplayCompactType compactType;
22 bool preciseRefreshRate;
23 FFDisplayOrder order;
24} FFDisplayOptions;
25
26static_assert(sizeof(FFDisplayOptions) <= FF_OPTION_MAX_SIZE, "FFDisplayOptions size exceeds maximum allowed size");