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:

Welcome to the Rockbox Technical Forums!

+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Starting Development and Compiling
| | |-+  some programming questions.
« previous next »
  • Print
Pages: [1]

Author Topic: some programming questions.  (Read 3056 times)

Offline supalulu

  • Member
  • *
  • Posts: 11
some programming questions.
« on: November 17, 2008, 09:42:33 AM »
Sorry if these questions are already asked.

1. How to make a scrollable list
2. How to make visual tables


I know C a little bit, but i dont know how to programm for that player :)
« Last Edit: November 20, 2008, 10:26:56 AM by supalulu »
Logged

Offline LambdaCalculus

  • Member
  • *
  • Posts: 2257
  • Dreaming of Turing Machines...
    • The Nostalgia Roadtrip
Re: some programming questions.
« Reply #1 on: November 17, 2008, 09:47:50 AM »
Why not study our source code, and what player are you talking about?
Logged
Former Rockbox dev. Rising from the ashes...

Players: iPod Video /w 128GB SSD mod, H320 /w 128GB SSD mod

Offline supalulu

  • Member
  • *
  • Posts: 11
Re: some programming questions.
« Reply #2 on: November 17, 2008, 09:50:55 AM »
because it would take much longer to watch the sources than ask some pros.
i have the player sansa e260, but i think thats not relevant
« Last Edit: November 17, 2008, 10:12:34 AM by supalulu »
Logged

Offline bluebrother

  • Developer
  • Member
  • *
  • Posts: 3421
  • creature
Re: some programming questions.
« Reply #3 on: November 17, 2008, 04:59:38 PM »
Quote from: supalulu on November 17, 2008, 09:50:55 AM
because it would take much longer to watch the sources than ask some pros.
No, as those aren't things you can "just" do. Unless you understand the source at least to some degree you will fail. Besides, not checking yourself isn't good style and wastes other peoples time ...
Logged
Rockbox Utility development binaries (updated infrequently) · How to ask questions the smart way · We do not estimate timeframes.

Offline supalulu

  • Member
  • *
  • Posts: 11
Re: some programming questions.
« Reply #4 on: November 17, 2008, 05:08:29 PM »
ok,
yo're right.

I first have to study the source before asking.

So i'll try easier things like a color mixer.
Logged

Offline JdGordon

  • Member
  • *
  • Posts: 1817
  • Constantly breaking stuff
Re: some programming questions.
« Reply #5 on: November 23, 2008, 08:35:04 PM »
lists are the most common UI element in rockbox.. look at apps/gui/list.h (and any use of simplelist_init() in the code.)
Logged


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

Offline supalulu

  • Member
  • *
  • Posts: 11
Re: some programming questions.
« Reply #6 on: November 28, 2008, 06:24:20 PM »
ok thx,

i typed that:

struct simplelist_info list;
rb->global_settings->show_icons = true;
rb->simplelist_info_init(&list, "a title...", 2, NULL);
rb->simplelist_show_list(&list);

i tryed to add items with
simplelist_addline();
but it doesnt work.


Logged

Offline JdGordon

  • Member
  • *
  • Posts: 1817
  • Constantly breaking stuff
Re: some programming questions.
« Reply #7 on: December 08, 2008, 05:27:21 AM »
you need to add the lines before showing the list :)
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
| | |-+  some programming questions.
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.083 seconds with 15 queries.