CSimpleBackdrop::BuildPieces
function · ui · primitive
- Address
0x77e8d0· 2025 bytes, up to0x77f0b8- Signature
void __thiscall (CSimpleBackdrop *this, CSimpleFrame *frame)- Meaning
- Creates and anchors the background and edge textures of a backdrop on a frame
- Confidence
- verified, proof one
- Finding
- ui/backdrop#the-pieces-and-their-anchors
- Test
ui::glue_geom_77e8d0_negate
Finding: The pieces and their anchors in ui: the frame backdrop
Installing builds the background texture for a nonempty bgFile and an edge texture for each set mask bit (1 left,
2 right, 4 top, 8 bottom, 0x10 to 0x80 the corners top left, top right, bottom left, bottom right). The background
lies on the BACKGROUND layer and the edges on BORDER. The border sits inside the frame rectangle and the
insets act on the background alone. The background's bottom right anchor is raised by the top inset, not the
bottom one, so with different top and bottom insets that corner rides high.
| piece | anchors, as point of frame (x, y) | size |
|---|---|---|
| background | top left (left, −top); top right (−right, −top); bottom left (left, bottom); bottom right (−right, top) | none |
| left | top left (0, −edge); bottom left (0, edge) | width edge |
| right | top right (0, −edge); bottom right (0, edge) | width edge |
| top | top left (edge, 0); top right (−edge, 0) | height edge |
| bottom | bottom left (edge, 0); bottom right (−edge, 0) | height edge |
| each corner | its own corner (0, 0) | width and height edge |
The derivation is in the doc.
Callers 1
Callees 8
- 0x41e4b0 base
- SErrSetLastError storm
- GetBlockPoolData base
- CLayoutFrame::SetPoint ui
- CLayoutFrame::Resize ui
- CSimpleTexture::CSimpleTexture ui
- CSimpleTexture::SetTexture ui
- StoreTextureCorners ui
Calls and jumps by a bare address, from tables/calls.tsv.