Skip to content

Commit

Permalink
Cyhton: complete 'ARegion' struct
Browse files Browse the repository at this point in the history
  • Loading branch information
jfranmatheu committed Feb 17, 2025
1 parent 7676278 commit c70baf9
Showing 1 changed file with 16 additions and 3 deletions.
19 changes: 16 additions & 3 deletions retopoflow/cy/space.pxd
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@
from .vector cimport rctf, rcti, BoundBox


cdef struct ListBase:
void* first
void* last


cdef struct View2D:
# Tot - area that data can be drawn in; cur - region of tot that is visible in viewport
rctf tot, cur
Expand Down Expand Up @@ -67,9 +72,17 @@ cdef struct ARegion:
short regiontype
short alignment
short flag

# STRUCTURE IS INCOMPLETE!!!
# JUST TO ACCESS BASIC ATTRIBUTES AS v2d, winrct, winx, winy, etc.
short sizex, sizey
short overlap
short flagfullscreen
char[2] _pad
ListBase panels
ListBase panels_category_active
ListBase ui_lists
ListBase ui_previews
ListBase view_states
void* regiondata
void* runtime # ARegionRuntimeHandle -> ARegionRuntime


cdef struct RegionView3D:
Expand Down

0 comments on commit c70baf9

Please sign in to comment.