Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Thank You for your continued support and contributions!

+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Starting Development and Compiling
| | |-+  *New to Development/Compiling* RE: Menu Structure
« previous next »
  • Print
Pages: [1]

Author Topic: *New to Development/Compiling* RE: Menu Structure  (Read 4440 times)

Offline [Saint]

  • Rockbox Expert
  • Member
  • *
  • Posts: 1662
  • Hayden Pearce
    • Google+
*New to Development/Compiling* RE: Menu Structure
« on: December 08, 2009, 01:42:13 AM »
Hi,


I'm brand new to the development/compiling side of things (as in I've literally *just* installed the Cygwin Environment a few hours ago  ;D

And My question is this (and I do realise this has probably been asked and answered a fair few times by now so I do apologise in advance), How do I go about altering the Menu Structure of RockBox?

I assume it involves "# commenting" out threads somewhere in the inner structure of RockBox, but I'd like to know where do I find these threads, what does the naming/thread structure look like (approximately) and how do I navigate to their location using Cygwin?

The more direct answers on how to do specific "Menu Customisation Related" things the better, so as well as answering this question directly, the more links/forum threads related to this subject that people can point Me to the better, as then I won't have to continually come to the forums asking (seemingly basic, to most developers at least) questions every time I encounter something I don't understand.


So to sum up, to answer this question directly would be great, and the more "Appearance/Menu Structure Related" resources that people can point Me to the better!

Thanks in advance,

Sincerely,
[St.]
Logged
Using PMs to annoy devs about bugs/patches is not a good way to have the issue looked at.

Offline GodEater

  • Member
  • *
  • Posts: 2829
Re: *New to Development/Compiling* RE: Menu Structure
« Reply #1 on: December 08, 2009, 12:30:02 PM »
So you've installed cygwin successfully - well done ;)

Have you managed to check out the code from svn yet?

PS - Seriously, what's up with all the capitalisation of "me", "my", "you" etc.?
Logged

Read The Manual Please

Offline [Saint]

  • Rockbox Expert
  • Member
  • *
  • Posts: 1662
  • Hayden Pearce
    • Google+
Re: *New to Development/Compiling* RE: Menu Structure
« Reply #2 on: December 08, 2009, 09:14:47 PM »
Man.....I just PM'd JDGordon regarding Him getting seemingly quite agitated at the same thing.

I suppose it comes down to Your physical locality in the world.
In New Zealand (where I'm from) it's commonly accepted that words pertaining to oneself or another begin with a capital letter (like I, Me, My, You , Yours, You're.....You get the picture I'm sure), just the same as first and last names do.

If You've grown up all Your life learning "Americanised" English, apparently this isn't the case.

And I have noticed more and more, "Americanised" words creeping into Our schools vocabulary of late.

I'm 25 and passed English quite successfully at a Secondary School (Colledge Grad if You're in The States) level and have been taught this was correct all of that time.

I guess, as I said, this comes down to which "version" of English You are used to  ;)


And regarding looking at the RockBox Source, I downloaded it from SVN last night.....but to be honest, without at least a vague idea of approximately where to start looking for the menu structure it seems a little bit daunting at the moment.

Are there any links, threads, resources I could be directed to?

Thanks for the speedy reply  ;D

Sincerely,
[St.]
Logged
Using PMs to annoy devs about bugs/patches is not a good way to have the issue looked at.

Offline JdGordon

  • Member
  • *
  • Posts: 1817
  • Constantly breaking stuff
Re: *New to Development/Compiling* RE: Menu Structure
« Reply #3 on: December 08, 2009, 09:31:09 PM »
I'm Australian, godeater is English, and you were taught incorrectly wrongly!. He obviously was taught well, just incorrect material.
« Last Edit: December 08, 2009, 09:37:43 PM by scorche »
Logged


Using PMs to annoy devs about bugs/patches is not a good way to have the issue looked at.

Offline [Saint]

  • Rockbox Expert
  • Member
  • *
  • Posts: 1662
  • Hayden Pearce
    • Google+
Re: *New to Development/Compiling* RE: Menu Structure
« Reply #4 on: December 08, 2009, 09:50:16 PM »
Quote from: JdGordon on December 08, 2009, 09:31:09 PM
I'm Australian, godeater is English, and you were taught incorrectly wrongly!.

From Your perspective perhaps...yes.
From Mine, no.
I'm sure You could come to NZ and try to convince them to change the school curriculum if it were really that important to You, but I doubt it actually is.

I didn't make the post to discuss grammar.

Can anybody *please* help Me regarding the location of the attributes that define the menu structure and how to rearrange or remove menu entries in order to create a simplified/custom build?


Sincerely,
[St.]


PS: Thanks for the edit Scorch, but again I think whether it's right or wrong comes down to geographical location, and I guess perspective.
But I don't want to get into a debate about this......really.
« Last Edit: December 08, 2009, 09:53:40 PM by [St.] »
Logged
Using PMs to annoy devs about bugs/patches is not a good way to have the issue looked at.

Offline JdGordon

  • Member
  • *
  • Posts: 1817
  • Constantly breaking stuff
Re: *New to Development/Compiling* RE: Menu Structure
« Reply #5 on: December 08, 2009, 09:54:26 PM »
the capital letters make you sound pretentious... thats what is getting on our nervers... also the fact that in all your long posts (long being redundant there actually) you havnt asked any actual questions other than a general "i want to fiddle".... so general answer... look at things that call do_menu(). I cant be more specific than that...
Logged


Using PMs to annoy devs about bugs/patches is not a good way to have the issue looked at.

Offline [Saint]

  • Rockbox Expert
  • Member
  • *
  • Posts: 1662
  • Hayden Pearce
    • Google+
Re: *New to Development/Compiling* RE: Menu Structure
« Reply #6 on: December 08, 2009, 10:08:39 PM »
Thankyou.



Specifically, I'm looking to remove items in the menu I don't use (or those I find are "set & forget" or can be handled by the .cfg alone) from the current menu.

Particularly this includes the "playing" context menu, removing all but "time & date" from "system", or migrating "time & date" upwards to take the place of "system".
Possibly placing it as a sub-menu inside the "settings" menu would be preferable  :-\

Removing "recording" and "playlists" as I NEVER use them, and porbably going with either the "database" OR " "files" singularly, but not both.

I'm wanting to make a custom build for Myself, and a "Bare Essentials for Playback Skeletal Build" aimed towards the very young that may get lost in labrynthine menus/sub-menus.


Sincerely,
[St.]

Logged
Using PMs to annoy devs about bugs/patches is not a good way to have the issue looked at.

Offline JdGordon

  • Member
  • *
  • Posts: 1817
  • Constantly breaking stuff
Re: *New to Development/Compiling* RE: Menu Structure
« Reply #7 on: December 08, 2009, 10:12:40 PM »
OK, Well, For Some Of Those You Need To Edit root_menu.c, And Others Are In apps/menus/*.c, The Context Menus Are In apps/onplay.c
Logged


Using PMs to annoy devs about bugs/patches is not a good way to have the issue looked at.

Offline GodEater

  • Member
  • *
  • Posts: 2829
Re: *New to Development/Compiling* RE: Menu Structure
« Reply #8 on: December 09, 2009, 02:29:18 AM »
Quote from: [St.] on December 08, 2009, 09:14:47 PM
In New Zealand (where I'm from) it's commonly accepted that words pertaining to oneself or another begin with a capital letter (like I, Me, My, You , Yours, You're.....You get the picture I'm sure), just the same as first and last names do.

Getting off topic now, but my fiancee is from New Zealand - and she doesn't spell like you do either. So I don't believe you ;)
Logged

Read The Manual Please

Offline TAC109

  • Member
  • *
  • Posts: 86
Re: *New to Development/Compiling* RE: Menu Structure
« Reply #9 on: December 09, 2009, 03:22:37 PM »
Quote from: [St.] on December 08, 2009, 09:14:47 PM
In New Zealand (where I'm from) it's commonly accepted that words pertaining to oneself or another begin with a capital letter (like I, Me, My, You , Yours, You're.....You get the picture I'm sure), just the same as first and last names do.

I am a New Zealander as well (born and educated here) and we're not taught to capitalise like that (apart from 'I'). Nor is it common usage here. You're the only person I've seen who does that.
Logged

Offline [Saint]

  • Rockbox Expert
  • Member
  • *
  • Posts: 1662
  • Hayden Pearce
    • Google+
Re: *New to Development/Compiling* RE: Menu Structure
« Reply #10 on: December 09, 2009, 09:50:49 PM »
Thanks JDGordon, really.

Sincerely,
[St.]

and,
Quote from: TAC109 on December 09, 2009, 03:22:37 PM
I am a New Zealander as well (born and educated here) and we're not taught to capitalise like that (apart from 'I').

I believe in saying we're, you're meaning you?

I'm NZ born/bred/educated and was always taught to do so.

As you may note I'm *NOT* capitalizing these words in this post just for the sake of "not giving fodder to those who will argue specifically for arguments sake" (but I must say that *to me* it feels/looks entirely unnatural).

I believe it falls into the category of "a forgotten era of English" perhaps, something that *WAS* grammatically correct but common error/public opinion/time gone by or whatever it was seems to have pushed it out of being "commonly accepted" when in fact for all intensive purposes it may well be formally correct to do so.

I suppose similar in a way to how the spelling of the same word can differ depending on the "version" of English (tire - tyre, center - centre, program - programme etc)

But who speaks or writes formally these days anyway, right?

Slang words creep into dictionaries and thesaurus' every day. Punctuation is on the way out, and spelling errors on their way in at a fantastic rate due to SMS "txt" and internet chatroom style abbreviation.

So I give in to the masses.

And yes, it's entirely off topic  ;D
Logged
Using PMs to annoy devs about bugs/patches is not a good way to have the issue looked at.

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: *New to Development/Compiling* RE: Menu Structure
« Reply #11 on: December 09, 2009, 10:36:42 PM »
Just a few things.

1) It's "intents and purposes" rather than "intensive purposes." For someone talking about grammatical correctness, you'd think you would know that one.

2) http://iselive.uvic.ca/Library/facsimile/bookplay/SLNSW_F1/AYL/169/images/F1s/AYLF1s/AYLF1_0204s.jpg I cite myself a 400 year old source of lowercase "you." If it's something creeping into the language, you might want to consider that the English speaking world has been using lowercase pronouns (outside of "I") at least 400 years. So while you may have  been taught that way, it's pretty haughty to assume that the rest of the world is in error and whatever secondary education you experienced is the sole bastion of the correct use of a language that originated on the other side of the globe.

You might want to add your little region's unique variant of English rules to http://en.wikipedia.org/wiki/Capitalization#Pronouns and perhaps update the New Zealand English wikipedia page to mention any other random grammatical changes your region has come up with. Just bear in mind they're going to expect actual citations rather than a general statement of "I'm right because I say I'm right."

There is no "forgotten era" of English. Not really. The written word has existed longer than the language (by over 2000 years). It should pose you little problem finding a reference for these rules if such exist.
« Last Edit: December 10, 2009, 01:48:44 AM by Llorean »
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 9264
Re: *New to Development/Compiling* RE: Menu Structure
« Reply #12 on: December 09, 2009, 11:42:42 PM »
Quote from: [St.] on December 09, 2009, 09:50:49 PM
I believe it falls into the category of "a forgotten era of English" perhaps, something that *WAS* grammatically correct but common error/public opinion/time gone by or whatever it was seems to have pushed it out of being "commonly accepted" when in fact for all intensive purposes it may well be formally correct to do so.

"intensive purposes"
Logged

Offline [Saint]

  • Rockbox Expert
  • Member
  • *
  • Posts: 1662
  • Hayden Pearce
    • Google+
Re: *New to Development/Compiling* RE: Menu Structure
« Reply #13 on: December 11, 2009, 05:03:58 AM »
intents AND purposes... :-[

Must've missed the spacebar or something and that's what spellcheck came up with instead...I may of even picked it from the candidates myself if I wasn't wearing my glases or something.

I am fallable y'know... :o

 ::)

[St.]
« Last Edit: December 11, 2009, 05:07:15 AM by [St.] »
Logged
Using PMs to annoy devs about bugs/patches is not a good way to have the issue looked at.

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Starting Development and Compiling
| | |-+  *New to Development/Compiling* RE: Menu Structure
 

  • SMF 2.0.19 | SMF © 2021, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.048 seconds with 17 queries.