• Welcome to Valhalla Legends Archive.
 

little icon questions

Started by FrOzeN, October 02, 2004, 09:30 AM

Previous topic - Next topic

FrOzeN

ok, on the bot i'm working on i'm going to make it Draw Ratings on ladder icons.. i know this is difficult and i've been told that DrawText API is what to use.. but looking into i've had some problems..

1) ListView doesn't have a .hDC but it does have a .hWnd which theres a API to convert it, which i forgot of..  :-\

2) WHEN? do i draw the rating on the icon, is it done after its added to the list, or just before somehow?
i'd lyk to know the steps of doing it..
also Spht i think ur bot support drawing ladder ratings if i'm right.. what API's did you use to do this?

----
Some other simple icon questions..

In WarCraft 2 what does SOC, ROC, WAR stand for? in there icons..

And is this () icon for both StarCraft and BroodWar spawn?

Finally..

Are any of these icons out of date by any chance? ( )

And which one is for Ladder and which one for IronMan as i have no knowledge of wc2.. (i do know the first one is SC/BW)

Thanx :)
Also any other related help towards this would be appreciated.

[EDIT] Fixing Post :)
~ FrOzeN

Spht

Quote from: FrOzeN on October 02, 2004, 09:30 AMok, on the bot i'm working on i'm going to make it Draw Ratings on ladder icons.. i know this is difficult and i've been told that DrawText API is what to use.. but looking into i've had some problems..

1) ListView doesn't have a .hDC but it does have a .hWnd which theres a API to convert it, which i forgot of..  :-\

hWnd is the window's handle.  I'll assume by "hDC" you're referring to the device context handle.  They're both fairly unrelated.

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/gdi/devcons_0g6r.asp

Quote from: FrOzeN on October 02, 2004, 09:30 AM2) WHEN? do i draw the rating on the icon, is it done after its added to the list, or just before somehow?

I'd assume you'd write it after.  Otherwise, your icon will get drawn on top of the rating.

Quote from: FrOzeN on October 02, 2004, 09:30 AMi'd lyk to know the steps of doing it..

Didn't I just go over this?  Draw icon then write rating.

Quote from: FrOzeN on October 02, 2004, 09:30 AMalso Spht i think ur bot support drawing ladder ratings if i'm right.. what API's did you use to do this?

DrawTextA.

Quote from: FrOzeN on October 02, 2004, 09:30 AMSome other simple icon questions..

In WarCraft 2 what does SOC, ROC, WAR stand for? in there icons..

That doesn't ring a bell.  Post the icon?

Quote from: FrOzeN on October 02, 2004, 09:30 AMAnd is this () icon for both StarCraft and BroodWar spawn?

Finally..

Are any of these icons out of date by any chance? ( )

And which one is for Ladder and which one for IronMan as i have no knowledge of wc2.. (i do know the first one is SC/BW)

Thanx :)
Also any other related help towards this would be appreciated.

All covered here:
http://www.battle.net/info/icons.shtml

FrOzeN

thanz heaps :)

That battlenet info on icons is exactly what kind of thing i've been looking for..

and i just found out what the other things ment, sorry for not explaining well enough before..

ROC - Rogue
SOC - Shaman
WAR - Warrior
~ FrOzeN