hi is it possible to use simplui 1.0.2 without themes (or sans the
bitmaps)? just like it was in 1.0.1.

thanks!

On Jun 2, 6:25 pm, Steve Johnson <[email protected]> wrote:
> I know, I'm not asking you to make any big changes. Basically I just
> want a theme option to tweak the text vertical placement.
>
> I would also like to be able to specify anchors (label-style) for
> labels and buttons for by-pixel layouts. I wanted it so much that I
> added it myself. It's not comprehensive, so you probably don't want to
> use my code verbatim, but you can see what I did at my Pyglet Shell
> repository, linked below. The files are game/simplui/button.py and
> label.py. I would have created my own classes, but since simplui is
> still in early development, I figured it might just be added later
> anyway.
>
> Why do buttons have width and height parameters? They just get
> overridden anyway.
>
> Finally, why are you using anchor_y='bottom' instead of
> anchor_y='baseline', which is more reliable for drawing text properly?
>
> http://www.github.com/irskep/pygletshell
>
> On Jun 2, 9:15 pm, Tristam MacDonald <[email protected]> wrote:
>
> > On Tue, Jun 2, 2009 at 8:49 PM, Steve Johnson <[email protected]> wrote:
>
> > > I encourage you to try this out with much larger font sizes and
> > > different fonts. The window shade widgets look especially weird. I
> > > used Gill Sans 24. Remember, not everyone is a fan of tiny buttons.
>
> > Well, yeah, you have to design a new theme if you want larger fonts. These
> > themes are tuned to match (roughly) the standard Mac fonts. If you want
> > font-size (or resolution) independence in a single theme, the theme code has
> > to be a whole lot more complicated.
> > The intended workflow is that you hand the theming off to a graphic artist,
> > who can tweak as necessary. Programmers (such as myself) changing aspects of
> > themes after their creation is rarely aesthetically pleasing ;)
>
> > --
> > Tristam MacDonaldhttp://swiftcoder.wordpress.com/
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pyglet-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/pyglet-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to