Viewport in UICustomComponent possible?

Home Forums General Programming Viewport in UICustomComponent possible?

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #118716
    Tedjuh
    Participant
      • Topics: 9
      • Replies: 97
      • Total: 106
      • ★★

      The picture attached shows what I’m working on. It’s a working arpeggiator. You select the notes on the left, the x’s and the ties tell the synth when to play it. I can even set the velocity of the notes (popup menu) and put some basic chords (for now). Reads and writes from/ to the synth. So far so good.

      But one big major improvement would be that instead of selecting the notes on the left, I would have a scrollable “full piano” viewport. You know, like in most music editors.

      After searching around in the CtrlrGithub I saw two instances of a viewport. CtrlrPanelViewport and CtrlrViewport. The first one is for the editor itself, I guess. The latter is used in some components like (File)Listbox and the MidiKeyboard.

      Is it possible to use the viewport in a UICustomComponent? And if so.. HOW??
      Or is there another way to achieve what I want?

      Attachments:
      You must be logged in to view attached files.
    Viewing 1 post (of 1 total)
    • The forum ‘Programming’ is closed to new topics and replies.
    There is currently 0 users and 52 guests online
    No users are currently active
    Forum Statistics
    Threads: 2,495, Posts: 17,374, Members: 77,605
    Most users ever online was 12 on January 22, 2019 3:47 pm
    Ctrlr