Hey... thanks for looking into this Till. I was thinking it would be nicer
to have the game centered and the status bar either centered or full width.
I dont even think on screen controls are that important but i'm sure someone
out there might want them. If you did want to do them you would have to
modify the client.cc Client::handle_events to let SDL_MOUSEBUTTON pass
through and handle 'hits' within your screen regions and depending on which
region, send commands such as the keybinds do (in on_keydown)
rotate_inventory(+1), server::Msg_ActivateItem(), etc. This would
interweave with code i wrote to disable first mousedown for movement
purposes so you'd have to allow that first mousedown if in your region.
I really would want the screen centered and would hate to have to code
separate version for that, but i realize this raises more problems with the
existing codebase. Can enigma developers advise on simple, minimalist
changes to get status bar working centered or at fixed offsets? I have
tried modifying video.cc video_modes to change those regions but either im
not using correct values (they are xorig, yorig, width, height right?) or
its the text scrolling issue which doesnt observe them because there are
display artifacts when this happens.
The benefits of widescreen are enormous in the level browser area, however
in the game area i am mainly interested in allowing stylus input throughout
the entire surface area. The game looks great centered its just status bar
offsets and repaints keeping it from being perfect. I intend to look more
into this soon but since this might affect Tills current ideas perhaps
someone knowlegeable on this could advise?
Thanks-
Dave
----- Original Message -----
From: "Till Harbaum / Lists" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Sunday, March 02, 2008 8:51 AM
Subject: [Enigma-devel] Sidebar: How should this be done?
i've made enigma use 800x480 for maemo. The menus etc are working fine and
the
gamearea and statusbararea are currently 640 pixels wide and left aligned.
I've added a sidebararea to the right of this filling the right 160x480
pixels. For now this has a background like the menus have and it has the
enigma logo on top.
_______________________________________________
Enigma-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/enigma-devel