class
Obsctl::TUI::Model
- Obsctl::TUI::Model
- Reference
- Object
Defined in:
obsctl/tui/model.crConstant Summary
-
MAX_LOG_ENTRIES =
200
Constructors
Instance Method Summary
- #advanced_ui : Bool
- #advanced_ui=(advanced_ui : Bool)
- #anim : AnimClock
- #anim=(anim : AnimClock)
- #audio_cursor : Int32
- #audio_cursor=(audio_cursor : Int32)
- #audio_inputs : Array(OBS::State::AudioState)
- #bitrate_history : Array(Float64)
- #bitrate_history=(bitrate_history : Array(Float64))
- #clamp_cursors
- #collection_cursor : Int32
- #collection_cursor=(collection_cursor : Int32)
- #command_palette : CommandPaletteState
- #command_palette=(command_palette : CommandPaletteState)
- #command_palette_prefix : String
- #command_palette_prefix=(command_palette_prefix : String)
- #connected_to_daemon : Bool
- #connected_to_daemon=(connected_to_daemon : Bool)
- #cpu_history : Array(Float64)
- #cpu_history=(cpu_history : Array(Float64))
- #current_profile : String | Nil
- #current_scene : String | Nil
- #current_scene_collection : String | Nil
- #cursor(panel : FocusPanel = @focus) : Int32
- #focus : FocusPanel
- #focus=(focus : FocusPanel)
- #focused_audio : OBS::State::AudioState | Nil
- #focused_scene : OBS::State::SceneState | Nil
- #fps_history : Array(Float64)
- #fps_history=(fps_history : Array(Float64))
- #item_count(panel : FocusPanel = @focus) : Int32
- #last_result : String | Nil
- #last_result=(last_result : String | Nil)
- #last_result_frame : UInt64
- #last_result_frame=(last_result_frame : UInt64)
- #locale : String
- #locale=(locale : String)
- #logs : Array(LogEntry)
- #logs=(logs : Array(LogEntry))
- #meter_levels : Hash(String, Float64)
- #meter_levels=(meter_levels : Hash(String, Float64))
- #move_bottom
- #move_by(delta : Int32)
- #move_down
-
#move_to(index : Int32)
Cursor moves are clamped rather than wrapped:
Gon the last item and a half page past the end both stop at the end, the way they do in vim. - #move_top
- #move_up
- #obs_connected? : Bool
-
#pending_sequence : String
Keys of a multi-key binding pressed so far, e.g.
-
#pending_sequence=(pending_sequence : String)
Keys of a multi-key binding pressed so far, e.g.
-
#preview_audio_volume(input_name : String, percent : Int32) : Nil
Applies an optimistic volume value so rapid keyboard changes render immediately while the debounced OBS command is still pending.
- #profile_cursor : Int32
- #profile_cursor=(profile_cursor : Int32)
- #profiles : Array(String)
- #push_log(entry : LogEntry)
- #record_duration_ms : Int64 | Nil
- #record_metric_sample
- #recording? : Bool
- #revealed_last_result(characters_per_frame : Int32) : String | Nil
- #rich_ui? : Bool
- #scene_collections : Array(String)
- #scene_cursor : Int32
- #scene_cursor=(scene_cursor : Int32)
- #scene_flash : Tuple(String, UInt64) | Nil
- #scene_flash=(scene_flash : Tuple(String, UInt64) | Nil)
- #scenes : Array(OBS::State::SceneState)
- #set_last_result(message : String)
- #settings_cursor : Int32
- #settings_cursor=(settings_cursor : Int32)
- #show_icons : Bool
- #show_icons=(show_icons : Bool)
- #snapshot : OBS::State::ObsSnapshot | Nil
- #snapshot=(snapshot : OBS::State::ObsSnapshot | Nil)
- #stats : OBS::State::ObsStats | Nil
- #stream_bitrate_kbps : Float64 | Nil
- #stream_duration_ms : Int64 | Nil
- #streaming? : Bool
- #symbol(rich : String, fallback : String) : String
- #theme : Theme
- #theme=(theme : Theme)
- #theme_preview_origin : Theme | Nil
- #theme_preview_origin=(theme_preview_origin : Theme | Nil)
- #view : View
- #view=(view : View)
Constructor Detail
Instance Method Detail
Cursor moves are clamped rather than wrapped: G on the last item and
a half page past the end both stop at the end, the way they do in vim.
Keys of a multi-key binding pressed so far, e.g. <leader>f. Non-empty
means the which-key menu is open and the next key completes or cancels.
Keys of a multi-key binding pressed so far, e.g. <leader>f. Non-empty
means the which-key menu is open and the next key completes or cancels.
Applies an optimistic volume value so rapid keyboard changes render immediately while the debounced OBS command is still pending.