Re: Text based UI - framework core, example hub&spokes and input related questions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I did take a look, but well it is a bit messy to make anything out of it right now...

And I do not like that approach much (inheriting TUI from GUI) to be honest. It doesn't make sense from logic or code point of view (or at least from my perspective), because the UI behaviour is too different. For example all the messaging stuff in GUI can be removed for TUI as we cannot change a value of anything on the screen. We simply have to print the whole screen again.

My git repo now contains refactored code which has common base classes for TUI and GUI and has the GUI working again. But for the text UI there are specialized set of classes using as much common code as possible but omitting all the stuff which does not make sense there.

I will add the documentation and some unit tests as time allows.

web: http://http://fedorapeople.org/cgit/msivak/public_git/anaconda.git/
git: git://fedorapeople.org/~msivak/anaconda.git (newtui branch)

Martin

----- Original Message -----
> On 07/26/2012 04:38 PM, Jesse Keating wrote:
> > On Thu, 2012-07-26 at 13:45 -0700, Jesse Keating wrote:
> >> I'm nearly to the point where you can call
> >> run-hub.py with a text hub and have it do something sensible there
> >> too.
> >> I'll post code in a little bit, maybe next week and we can look at
> >> all
> >> the overloads and code duplication to see if refactoring some of
> >> the
> >> ui/gui/ stuff makes sense.
> >
> > Ok, I have a video of what this looks like, code will come soon.
> >
> > http://jkeating.fedorapeople.org/texthub.ogv
> >
> 
> git://fedorapeople.org/~jkeating/anaconda.git  has the code.  Branch
> you
> should get from cloning that is newui-jktext
> 
> --
> Jesse Keating
> Fedora -- Freedom² is a feature!
> 
> _______________________________________________
> Anaconda-devel-list mailing list
> Anaconda-devel-list@xxxxxxxxxx
> https://www.redhat.com/mailman/listinfo/anaconda-devel-list

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list



[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux