Mod Archive Forums Mod Archive Forums
Advanced search  

News:

Please note: Your main modarchive.org account will not work here, you must create a forum account to post on the forums.

Pages: [1]   Go Down

Author Topic: Allow GUI templates?  (Read 6575 times)

0 Members and 1 Guest are viewing this topic.

kinkinkijkin

  • New User
  • Offline Offline
  • Posts: 11
  • banned from ft forums? i come here now
    • View Profile
Allow GUI templates?
« on: September 26, 2010, 15:26:47 »

Could you add a feature where there are templates of different GUI setups? Like, instead of having the delete button say zap, have it say, like, delete in one template and be, like, somewhere else in that template as an example?
Logged
AI MAIK DA OOTUB VIDIAEOZ N MAI CHANELL

TraumFlug

  • New User
  • Offline Offline
  • Posts: 24
    • View Profile
Re: Allow GUI templates?
« Reply #1 on: September 27, 2010, 00:23:04 »

dude, I'm not one of the dev's, but read the code a little: milkytracker's user interface is "hardcoded" in c++ as far as I know. sorry.

so there's no easy way to modify it, unless you learn how to code c++, understand the milkytracker source-code, and have lots of time (lots...). the only alternate user interface is for 320x240, supposedly for pocket-pc pda's small displays.

if you really, really care - take a look at the sourcecode "src/tracker/TrackerInit.cpp" to get some idea on how the interface is built up. consists of manual tweaking almost completely, but when being carefully and investing some time to understand it, you could, for example, swap some buttons, change their text, or redesign the whole interface even. you'd have to recompile the whole program after modifications, of course - giving you a second _complete_ milkytracker version with the changes you've made. subdialogues seem often managed in their corresponding source-modules, but I haven't been really intense on the sources due to lack of time yet to understand them fair enough to give you real advice.

by the way, I also think a more modular, configurable interface-code would be great, also for the input (keyboard bindings etc), but would involve MASSIVE work I guess...like another layer for the ui-setup to be read from configuration files, and some means to edit those properly. would be possible, but involves lots of hacker's manhours...anyway, it's great that it's opensource at all  :-*
Logged

pailes

  • Milkytracker Moderator
  • Rising Star
  • *
  • Offline Offline
  • Posts: 287
    • View Profile
Re: Allow GUI templates?
« Reply #2 on: October 14, 2010, 12:19:50 »

TraumFlug got it so right, I have nothing to add. Interesting enough that other people started to look at the code at least ;)
Logged
Pages: [1]   Go Up