norns.c, norns.h
norns.c, norns.h
1. Top
1.1. C File
1.2. Header File
2. Framebuffer + Videobuffer
2.1. Actual Framebuffer
2.1.1. typedef + struct contents
2.1.2. allocating/freeing
2.1.3. opening the framebuffer
2.1.4. closing the framebuffer
2.1.5. Writing to the framebuffer
2.2. Video Buffer
2.2.1. typedef + struct contents
2.2.2. allocating/freeing
2.2.3. initializing the video buffer
2.2.4. getting the video buffer
2.2.5. Writing a pixel to the video buffer
2.2.6. Clearing the screen
2.2.7. copying the video buffer to the framebuffer
3. Printing Text
3.1. Bitmap font data
3.2. Writing a glyph to a video buffer
3.3. Writing a letter to a video buffer
3.4. Writing a string to a video buffer
4. WIP Drawing Thread
4.1. TODO Drawing Thread Data
4.1.1. DONE typedef + struct
4.1.2. new/del
4.1.3. TODO Thread Data init + cleanup
4.1.4. TODO Update Flag
4.1.5. DONE Video Buffer
4.1.6. DONE Framebuffer
4.1.7. TODO pthread data
4.2. TODO Draw Callback Loop
4.3. TODO pthread callback
4.4. TODO Starting/stopping the thread
5. DONE Event Polling
5.1. Opening File Handles
5.1.1. Opening a Knob
5.1.2. Opening the Keys
5.1.3. Callbacks
5.1.3.1. Knobs Callbacks
5.1.3.2. Buttons Callbacks
5.2. Event Polling Data
5.2.1. typedef + struct
5.2.2. Allocating/freeing the event poller
5.2.3. Event Poller Initilization
5.2.4. Event Poller Cleanup
5.3. Polling Function
5.4. Setting Event Callbacks
5.4.1. Set Knob
5.4.2. Set Key