Carsten and Daniel,

Thank you for your replies. I am starting to understand how it all works.


On Wed, Apr 16, 2014 at 11:41 AM, Daniel Juyung Seo <seojuyu...@gmail.com>wrote:

> On Wed, Apr 16, 2014 at 5:13 PM, Carsten Haitzler <ras...@rasterman.com
> >wrote:
>
> > On Tue, 15 Apr 2014 12:00:34 -0400 Roan Horning <roan.horn...@gmail.com>
> > said:
> >
> > > Carsten,
> > >
> > > Thank you for your response. My next question is can someone point me
> to
> > > examples or tutorials for creating themes and applying them to
> Elementary
> > > based applications. Currently when the buttons are displayed, the text
> > size
> > > is too small, and I have been asked to increase the size of the text
> for
> > > easier viewing.
> >
> > terminology and rage do this. they use a theme overly (but use extension
> > instead). grep for overlay. look at terminology main.c you'll see
> extension
> > calls commented out above the overlay calls. this is how you can tell elm
> > to
> > extend its search for theme styles into other files if it fails on the
> > default
> > theme. in this theme you provide a group with a style name other than
> > default.
> > see default theme src (edc) eg elm/button.edc and see a group like
> > elm/button/base/default - thats the default style. replace default with a
> > style
> > name of your choice, compile the edc file with edje_cc and you have an
> edj
> > file
> > you can point to as a theme extension. modify the edc as appropriate to
> > have
> > the setup you want style-wise. again - lots of examples on edc files and
> > their
> > format (the edc file for button is included into a parent so it doesnt
> > have the
> > requires collections {} parent in that file, but in its parent master
> that
> > #includes it).
> >
> > does this make sense to you?
> >
> >
> Hello,
> Here is the example. You will easily understand this once you read
> Carsten's explanations above.
> c code:
>
> https://git.enlightenment.org/core/elementary.git/tree/src/examples/theme_example_01.c
> edc code:
>
> https://git.enlightenment.org/core/elementary.git/tree/src/examples/theme_example.edc
>
> New button style is defined in edc file and c code is using that button
> style.
>
> Thanks.
>
> Daniel Juyung Seo (SeoZ)
>
>
> > > Thanks,
> > >
> > > Roan
> > >
> > >
> > >
> > > On Tue, Apr 15, 2014 at 6:46 AM, Carsten Haitzler <
> ras...@rasterman.com
> > >wrote:
> > >
> > > > On Sun, 13 Apr 2014 11:08:40 -0400 Roan Horning <
> > roan.horn...@gmail.com>
> > > > said:
> > > >
> > > > > Hi,
> > > > >
> > > > > I am developing an application using the Elementary widget set. I
> am
> > able
> > > > > to set up the interface either directly in my code, or using edje
> and
> > > > > compiling an .edc file. I am having problems figuring out where the
> > size
> > > > of
> > > > > the label text for a button is configured, and if there is a direct
> > > > method
> > > > > to set it for the button itself, or a more general object that
> > controls
> > > > the
> > > > > size of widget labels.
> > > >
> > > > the button will use whatever font, size and look is defined in the
> > theme.
> > > > you
> > > > are not intended/meant to go have such fine grained control (in
> almost
> > all
> > > > cases such control is wrong and just leads to poor results for users
> -
> > eg
> > > > when
> > > > dpi changes or the designer decides to go for overall larger, smaller
> > or
> > > > different fonts etc.). users get to override your app choices etc.
> via
> > > > their
> > > > options too.
> > > >
> > > > what you should do is set style. several button styles are provided
> by
> > > > default,
> > > > and the idea is that this style can be re-designed in the theme by
> the
> > > > designer
> > > > when/if they choose.
> > > >
> > > > stand back and don't think of font size. that is a result, not an
> > input.
> > > > what
> > > > is the input? the concept? the semantics of the button? is it means
> to
> > be
> > > > an
> > > > "emergency" button (thus be large, red and easy to find, but of
> course
> > > > warning
> > > > you to only press in an emergency), or a "default action" button - ie
> > mark
> > > > it
> > > > as something done by default (a font size change is just a design
> > decision
> > > > that
> > > > would make default buttons have different sizes, if a designer
> > desired).
> > > >
> > > > you want to use a style to indicate some kind of meaning probably.
> look
> > > > into
> > > > that.
> > > >
> > > >
> > > > --
> > > > ------------- Codito, ergo sum - "I code, therefore I am"
> > --------------
> > > > The Rasterman (Carsten Haitzler)    ras...@rasterman.com
> > > >
> > > >
> > >
> >
> ------------------------------------------------------------------------------
> > > Learn Graph Databases - Download FREE O'Reilly Book
> > > "Graph Databases" is the definitive new guide to graph databases and
> > their
> > > applications. Written by three acclaimed leaders in the field,
> > > this first edition is now available. Download your free book today!
> > > http://p.sf.net/sfu/NeoTech
> > > _______________________________________________
> > > enlightenment-devel mailing list
> > > enlightenment-devel@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
> > >
> >
> >
> > --
> > ------------- Codito, ergo sum - "I code, therefore I am" --------------
> > The Rasterman (Carsten Haitzler)    ras...@rasterman.com
> >
> >
> >
> >
> ------------------------------------------------------------------------------
> > Learn Graph Databases - Download FREE O'Reilly Book
> > "Graph Databases" is the definitive new guide to graph databases and
> their
> > applications. Written by three acclaimed leaders in the field,
> > this first edition is now available. Download your free book today!
> > http://p.sf.net/sfu/NeoTech
> > _______________________________________________
> > enlightenment-devel mailing list
> > enlightenment-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
> >
>
> ------------------------------------------------------------------------------
> Learn Graph Databases - Download FREE O'Reilly Book
> "Graph Databases" is the definitive new guide to graph databases and their
> applications. Written by three acclaimed leaders in the field,
> this first edition is now available. Download your free book today!
> http://p.sf.net/sfu/NeoTech
> _______________________________________________
> enlightenment-devel mailing list
> enlightenment-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
>
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to