• Advertisement
Sign in to follow this  
  • entries
    557
  • comments
    1237
  • views
    422690

Untitled

Sign in to follow this  

57 views

Yay, GUI objects can now move nicely. I'm happy. Next up, I want to modify my tecture manage slightly so I can fit irregular objects into it (E.g. a 200x150 texture gets turned into 32x32 blocks and stuffed in one of those sheets). I'm not sure how well that'll work, or if it's worthwhile, but we'll see. I want to create windows that aren't a power of two width and height.

After that (Or before), I want to be able to drag windows around, and click on objects. That'll probably be the same code actually, just have it so a window responds to dragging, and a button doesn't.

I also need Z-order for windows, that's fairly important. Aaannd, I want a nicer window background. But my art [Read: MS Paint] skills suck, so I might just use an XP screenshot for testing. If I can get everything behaving exactly like standard Windows controls, I'll be a happy chappy.

So, my todo list, with approximate times. 1 day is about 2.5 hours (travelling into work and lunch)

  • Clickable/draggable windows / widgets (1 day)

  • Different sized windows (Sprite manager code) (2-3 days)

  • Z-ordering for windows (< 1 day)

  • Pretty windows (< 1 day)


Not much there, I know. I can't be bothered writing any more.
Sign in to follow this  


2 Comments


Recommended Comments

I also want to get draggable windows working in Propane UI, but I'm not sure it's 100% necessary. Games with a draggable in-game UI (like Ultima Online) just piss me off.

Also, you can create arbitrarily sized windows by just producing eight sprites (corners and edges) and just stretching out the edges. It's what classic Mac OS does, and I'm sure Windows does the same thing.

I suppose it won't make uniquely-shaped windows (such as Ultima VII's bizarrely shaped frobs).

Share this comment


Link to comment
Quote:
Original post by Ravuya
Also, you can create arbitrarily sized windows by just producing eight sprites (corners and edges) and just stretching out the edges. It's what classic Mac OS does, and I'm sure Windows does the same thing.

I suppose it won't make uniquely-shaped windows (such as Ultima VII's bizarrely shaped frobs).
I was thinking about this, but I decided I wanted wierd windows. I can always support both without any problems of course.

Share this comment


Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Advertisement