Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Bottom List:
- In Dolphin:
- Write from-to addresses in txt file (one line per slot) (from = current address, to = next slot address)
- If slot has size parameter, put current address for start and end address is start address + size
- If slot doesnt have a size, add start address and end address (next slot address)
- In VB:
- PictoBox is 1072,5264 (1073) pixels wide
- White background. White space is used/free slots < 10 kb
- End address - start address to calc slot size
- Ignore slots < 10 kb (10000 bytes)
- Divide size by 10000 to get pixel width of new rectangle (red for used, blue for free space)
- Find last entry in the list (which is the first slot) and subtract first slot start address from the current slot start address
- Divide result by 10000 to find pixel at which to draw the rectangle from
- Links:
- http://www.dreamincode.net/forums/topic/38159-how-to-draw-bar-chart/
- http://www.vb-helper.com/howto_net_color_wheel.html
- http://www.informit.com/articles/article.aspx?p=29477&seqNum=6
Add Comment
Please, Sign In to add comment