Would it be possible, in this super new version of smartie to have a custom character management layer?
eg: A plugin needs to use three custom characters, while another needs one and an a third plugin needs four. At the moment, the chances are that they'd overwrite each other. However, could you make it so that the plugins request to use custom chars, and Smartie does the actual assigning on the display so they don't clash with each other on the same screen.
Or is there a system like this at the moment?
Thanks,
ch424
Our new official repo is on github
LCD Smartie version 5.6 is released!
Download it now: https://github.com/LCD-Smartie/LCDSmartie/releases
LCD Smartie version 5.6 is released!
Download it now: https://github.com/LCD-Smartie/LCDSmartie/releases
Custom character management
Moderators: _X7JAY7X_, caesar, IFR, mattcro, limbo, Fast351
-
- Posts: 30
- Joined: March 21st, 2006, 6:43 pm
- Location: Oxford, UK
-
- Plugin Author
- Posts: 1604
- Joined: February 13th, 2005, 7:38 pm
- Location: Athens - Greece
- Contact:
No there is not a system like this...
I suppose that you mean something like a custom character deposit area.
assigning special variable names on this area
something like following:
[Set 1]
1=uparrow : $CustomChar(1,4,14,31,4,4,4,4,4)
2=monkeyl : $CustomChar(2,12,16,0,12,12,0,0,15)
3=monkeyr : $CustomChar(3,6,1,0,6,6,0,0,30)
......
and have to call only uparrow on the screen instead all the definition?
I suppose that you mean something like a custom character deposit area.
assigning special variable names on this area
something like following:
[Set 1]
1=uparrow : $CustomChar(1,4,14,31,4,4,4,4,4)
2=monkeyl : $CustomChar(2,12,16,0,12,12,0,0,15)
3=monkeyr : $CustomChar(3,6,1,0,6,6,0,0,30)
......
and have to call only uparrow on the screen instead all the definition?
-
- Posts: 30
- Joined: March 21st, 2006, 6:43 pm
- Location: Oxford, UK
No, I don't mean that, I'll explain better:
I mean each plugin should have function/variable that smartie calls, and it returns 3 or however many custom characters it needs (ie is currently using), as well as the definition for each.
Then, when the plugin needs to use a custom character, it returns something like $customChar(1) or whatever and smartie then remaps it to one of the custom char memories in the LCD itself.
ch424
I mean each plugin should have function/variable that smartie calls, and it returns 3 or however many custom characters it needs (ie is currently using), as well as the definition for each.
Then, when the plugin needs to use a custom character, it returns something like $customChar(1) or whatever and smartie then remaps it to one of the custom char memories in the LCD itself.
ch424
-
- Developer
- Posts: 233
- Joined: February 17th, 2006, 3:23 pm
- Location: Twin Cities, Minnesota, USA
- Contact:
-
- LCD Smartie Fanatic
- Posts: 132
- Joined: March 9th, 2005, 2:21 pm
- Location: UK