Blizz, hard at work spoiler-ing images =PYes you can use a bigger size than 320 x 32. The only reason why it has to be at least that size is so that the hotkeys can actually be seen. Go ahead and make your graphic only a size of 200 x 32. You'll see by what I mean.
Within that
draw method, you'll see these lines:
# fill icon bachground
self.bitmap.fill_rect(32*(i-1)+4, 4, 24, 24, Color.new(0, 0, 0, 128))
#and further down...
# draw hotkey number
self.bitmap.draw_text_full(32*(i-1), 10, 30, 32, (i%10).to_s, 2)
The first two values in the parenthesis are the x- and y-coordinates. You will need to make changes to these values listed. It looks like the hotkeys need to be moved 13 pixels to the right and 4 pixels down. So, in my example code above, I'd make the lines look like this:
# fill icon bachground
self.bitmap.fill_rect(32*(i-1)+4+13, 4+4, 24, 24, Color.new(0, 0, 0, 128))
#and further down...
# draw hotkey number
self.bitmap.draw_text_full(32*(i-1)+13, 10+4, 30, 32, (i%10).to_s, 2)
Also, it seems like your hotkey border is getting cut off at the bottom. You need to change the y-value of the bitmap (which is found under
initialize).
# set x and y position
self.x, self.y, self.z = 160, 0, 1100 #<-- for me, y is currently equal to 0
To move it up, decrease the value.