Quantcast How to put graphics on top? - ESOUI
Thread Tools Display Modes
04/27/14, 04:34 PM   #1
Criscal
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 14
How to put graphics on top?

Hi,

for my add-on, I would like to really put the check-marks on top of other things - like the icon for the item. I tried with the DrawLevel method using a very high value, but it doesn't go all the way - it only improved the situation somewhat, but it doesn't work in 100% of the cases.
Help is appreciated .

Thanks,

Criscal
  Reply With Quote
05/06/14, 06:00 PM   #2
Garkin
 
Garkin's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 853
Originally Posted by Criscal View Post
Hi,

for my add-on, I would like to really put the check-marks on top of other things - like the icon for the item. I tried with the DrawLevel method using a very high value, but it doesn't go all the way - it only improved the situation somewhat, but it doesn't work in 100% of the cases.
Help is appreciated .

Thanks,

Criscal
You can try something like Esohead addon uses for coordinates:
Lua Code:
  1. myControl:SetDrawLayer(targetControl:GetDrawLayer() + 1)
__________________
@Garkin (retired from ESO)
My addons: SkyShards, LoreBooks, Dustman, Map Coordinates, No, thank you!, ... (full list)
  Reply With Quote
05/09/14, 01:33 PM   #3
Criscal
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 14
Thanks for the input! It seems to work similar to my attempt using a high Draw-Level. I guess I have to work on the transparency of the graphics or something instead.
  Reply With Quote

ESOUI » Developer Discussions » Graphics Help » How to put graphics on top?

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off