Commit Graph

19 Commits

Author SHA1 Message Date
Bryan Schumaker
72f85f9f92 Create a set locked function for album art
We appear to already be locked when we get to the setter function.  I
was getting deadlocked when trying to do anything.  To fix this, I
made it so I can set images without needing the lock.
2010-12-03 08:35:15 -05:00
Bryan Schumaker
ba9e25c846 Change goto icon
I am now using the stock "jump to" icon, rather than "index"
2010-12-03 08:35:14 -05:00
Bryan Schumaker
bf6a770e89 Lock image
This was uncommented, and led to problems.
2010-12-03 08:35:14 -05:00
Bryan Schumaker
742333f1af Goto current song
There is no a button to scroll to the currently playing song.
2010-12-03 08:35:14 -05:00
Bryan Schumaker
a71ae8319f AlbumArt widget is now an event box
This allows me to catch a button-press-event and show a file chooser to
select an image as the new album art for the currently playing song.
2010-12-03 08:35:14 -05:00
Bryan Schumaker
4680134ab3 Progress bar seek to click
When the user clicks on the progess bar, we should seek to the location
of the click.
2010-12-03 08:35:13 -05:00
Bryan Schumaker
1a6146ec1e Progress bar tooltip
The tooltip shows the time corresponding to the mouse location on the
widget.
2010-12-03 08:35:13 -05:00
Bryan Schumaker
763b161299 Teased apart old ocarina.collection code
The new code is easier to read, and much less intimidating.  I also
changed the Library() and Playlist() classes into python modules to make
them easier to read.
2010-12-03 08:35:13 -05:00
Bryan Schumaker
4657c96179 Changed up and down buttons
I have replaced the plus and minus icons with up and down arrows.
2010-12-03 08:32:04 -05:00
Bryan Schumaker
79244acb07 Added header
The header is shown at the top of each notebook page.
2010-12-03 08:31:04 -05:00
Bryan Schumaker
efe45371db Move set_volume() and toggle_rand() 2010-12-03 08:31:04 -05:00
Bryan Schumaker
cc6772d596 Move stop features to libsaria.controls.py 2010-12-03 08:31:04 -05:00
Bryan Schumaker
fefde40e82 Moved play and pause to libsaria/controls.py
They have been moved from libsaria/audio/__init__.py.
2010-12-03 08:31:04 -05:00
Bryan Schumaker
6f7381c221 pre-lookup libsaria.event.invite for buttons 2010-12-03 08:31:04 -05:00
Bryan Schumaker
b5da80d6c2 Add libsaria/controls.py
I will eventually be moving things over to here.  The general rule: if
it has to do with buttons on the gui, then it should probably be
considered a control.
2010-12-03 08:31:03 -05:00
Bryan Schumaker
986ece1943 Move more things to components 2010-12-03 08:31:03 -05:00
Bryan Schumaker
65edef6baf Move entry and pbar to ocarina.components 2010-12-03 08:31:03 -05:00
Bryan Schumaker
5e84823b23 Move buttons and image
They now live in ocarina.components, since they are used to build higher
level objects
2010-12-03 08:31:03 -05:00
Bryan Schumaker
5bde98ec88 Move ocarina.box
This has been moved to ocarina.components.box.  I don't think it has
been used recently, though.  Maybe it is safe to delete.
2010-12-03 08:31:03 -05:00