about summary refs log tree commit diff stats
path: root/widgets/aerc.go
diff options
context:
space:
mode:
authorBen Burwell <ben@benburwell.com>2019-12-20 13:21:32 -0500
committerDrew DeVault <sir@cmpwn.com>2019-12-21 09:23:20 -0500
commitbcd03c4c4a94e73b2545bf5dfc404082a674c76e (patch)
tree8366af84dfd9011d20794f2a7556e7d6fc71b7db /widgets/aerc.go
parentef4c2f61d8c599ac25b4f465ffa3bea9ca6ce1a3 (diff)
downloadaerc-bcd03c4c4a94e73b2545bf5dfc404082a674c76e.tar.gz
Add popovers
A popover is a special UI element which can be layered over the rest of
the UI (i.e. it is painted last) and can fall anywhere on the screen,
not just with the bounds of its parent's viewport/context. With these
special abilities comes the restriction that only one popover may be
visible on screen at once.

Popovers are requested from the UI context passed to Draw calls and
specify the anchor point and the desired dimensions. The popover is then
fit to the available space and placed relative to the anchor point.
Diffstat (limited to 'widgets/aerc.go')
0 files changed, 0 insertions, 0 deletions
='n118' href='#n118'>118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181