Pages: 1 ... 8 9 [10] 11 12 ... 14   Go Down
Author Topic: Menu for Display  (Read 13217 times)
0 Members and 1 Guest are viewing this topic.
Germany
Offline Offline
Edison Member
*
Karma: 133
Posts: 1444
If you believe something is right, you won't see what's wrong (David Straker).
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi

U8NUM and LABEL might have different size. The first one is selectable, the second one none. This has an effect on their size (selectable elements reserve space for their boarder) so the position might also be differnet.

"black squares"? Maybe you can send a picture. I do not understand what you mean by that.

Oliver
Logged

Offline Offline
Sr. Member
****
Karma: 2
Posts: 428
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

thanks oliver
in attachment the pictures

regards
gnux


* image.jpg (2038.01 KB, 3264x2448 - viewed 32 times.)
Logged

Germany
Offline Offline
Edison Member
*
Karma: 133
Posts: 1444
If you believe something is right, you won't see what's wrong (David Straker).
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Oh, that's the scroll bar. You seem to have 5 items. If the scrollbar is connected correctly with the strlist element, then you should be able to go down until the fifth element appears.
If not, let me see the code for the related strlist and vsb element.

Oliver
Logged

Offline Offline
Sr. Member
****
Karma: 2
Posts: 428
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Good Afternoon Oliver,
yes is the scroll-bar ... it's possible to remove it  ?'

Thanks
Gnux
Logged

Germany
Offline Offline
Edison Member
*
Karma: 133
Posts: 1444
If you believe something is right, you won't see what's wrong (David Straker).
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi

Wow, what a long thread... still ongoing  smiley-cool
The element M2_VSB(...) (=Vertical Scroll Bar) creates the scroll bar, so removing this element will remove the scroll bar.

Oliver

Logged

Offline Offline
Sr. Member
****
Karma: 2
Posts: 428
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thank you very much :-)

Great ! so we are only at the begging :-) I think that I will pass to a Graphics display suggest by you :-) so i'm joking :-)

for put in places the other display 128x64 are required a lot of change into my code ? or just change the position of my elements ?

Thanks
Gnux
Logged

Germany
Offline Offline
Edison Member
*
Karma: 133
Posts: 1444
If you believe something is right, you won't see what's wrong (David Straker).
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

The menues should be portable, but for sure, positions need to be adjusted.

Oliver
Logged

Offline Offline
Sr. Member
****
Karma: 2
Posts: 428
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Good Morning Oliver, how are you :-) ? so after a little time i'm here again :-) working with your fantastic library ;-) ... I've almost finished my software ... but I would use a the top level your library :-) so I've defined a menu with sub menu ... but I don't remember how to define a button into my panel ... so I've this button:

- prev
- next
- select / up
- down
- exit

now I would like customize another button, so something like a shortcut ... when I'm pushing this button I go directly on my menu or sub menu :-)

is possible ?

Thanks however for the support,
Gnux

Logged

Germany
Offline Offline
Edison Member
*
Karma: 133
Posts: 1444
If you believe something is right, you won't see what's wrong (David Straker).
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi, glad to see that you are still working with m2tklib.

Yes, this is possible. You could use the HOME Button for this. If the M2_KEY_HOME button is pressed, it will "jump" to a specified menu (http://code.google.com/p/m2tklib/wiki/fnref#setHome)

The "Home-Menu" can be a top-level menu but of course any other sub menu also.

Oliver
Logged

Offline Offline
Sr. Member
****
Karma: 2
Posts: 428
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thanks Oliver :-) so is also possible define several Home button or just only one ?

because I'm using already a home button for escape and go to the root menu ...

thanks
gnux :-)
Logged

Germany
Offline Offline
Edison Member
*
Karma: 133
Posts: 1444
If you believe something is right, you won't see what's wrong (David Straker).
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

How many (quick) buttons would you need?

Oliver
Logged

Offline Offline
Sr. Member
****
Karma: 2
Posts: 428
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I think will be a couple one for entry into a menu and only to exit to the root right now I'm using home button for exit to all menu ...

thanks infinite,
gnux
Logged

Germany
Offline Offline
Edison Member
*
Karma: 133
Posts: 1444
If you believe something is right, you won't see what's wrong (David Straker).
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

ok, i have implemented something. Which variant of m2tklib do you need? I mean, what is your display?

Oliver
Logged

Offline Offline
Sr. Member
****
Karma: 2
Posts: 428
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi Oliver,
so in my display mainly into my display I've:

{ "1:DEVICES", &el_num_menu },
  { "2:SET-TIMER", NULL },
  { ". 2-1:SpecifDate", &el_num_menu_timer },
  { ". 2-2:Weekly", &el_num_menu_timer_dw },
  { ". 2-3:Daily", &el_num_menu_timer_d },
  { ". 2-4:Working", &el_num_menu_timer_work },
  { "3:VIEW-TIMER", NULL },
  { ". 3-1:SpecifDate", &el_num_menu_timer_view },
  { ". 3-2:Weekly", &el_num_menu_timer_view_dw},
  { ". 3-3:Daily", &el_num_menu_timer_d_view },
  { ". 3-4:Working", &el_num_menu_timer_work_view },
  { "4:SETUP", &el_num_setup },
  { "5:DATE/TIME",&el_list_date },

where for entry into this list I press button, and for exit to welcome display i press another button as you explain :-)

so if you want i can collaborate with you without problem in this way i can understood better your library :-)

so yes another shortcut button i think will be ok i think, what do you think about that ?

Thanks
Gnux
Logged

Germany
Offline Offline
Edison Member
*
Karma: 133
Posts: 1444
If you believe something is right, you won't see what's wrong (David Straker).
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi

I have added another home button (M2_KEY_HOME2, m2.setHome2(...)).


Oliver

* m2tklib_arduino_lc_1.11pre1.zip (203.1 KB - downloaded 10 times.)
Logged

Pages: 1 ... 8 9 [10] 11 12 ... 14   Go Up
Jump to: