summaryrefslogtreecommitdiffstats
path: root/src/sbmanager.c
AgeCommit message (Collapse)AuthorFilesLines
2010-01-02Better 5 icon dock alignmentGravatar Nikias Bassen1-8/+14
2010-01-02Use macro for calculating coordinate offsets for pagesGravatar Martin Szulecki1-7/+8
2010-01-02Fix jumping icon movement in last column on drag and dropGravatar Martin Szulecki1-20/+30
Due to using the actor coordinates, icons have shown a jumping behaviour in the last column. By using fixed coordinates the calculation does no longer get confused.
2010-01-02Move align functions out of loop to avoid unnecessary callsGravatar Martin Szulecki1-2/+2
2009-12-31Refactor and normalize all code where possible and add more debug outputGravatar Martin Szulecki1-691/+769
2009-12-31Introduce sbitem helper to get display_name from itemGravatar Martin Szulecki1-0/+10
2009-12-30Beautify copyright source file headerGravatar Martin Szulecki1-20/+23
2009-12-30Remove data header generation and pass datadir directly to sourcesGravatar Martin Szulecki1-5/+3
2009-12-29Fix typoGravatar Nikias Bassen1-1/+1
2009-12-29Allow switching pages using left and right arrow keysGravatar Martin Szulecki1-4/+45
Signed-off-by: Nikias Bassen <nikias@gmx.li>
2009-12-28Allow page switch by dragging an icon to the left or right marginGravatar Nikias Bassen1-0/+48
2009-12-27Allow adding items to empty icon listsGravatar Nikias Bassen1-2/+6
2009-12-27Fix icon alignment for pages with less than 16 itemsGravatar Nikias Bassen1-10/+10
This removes the skip_empty parameter from get_icon_for_node as empty nodes are always skipped now. This also makes alignment easier.
2009-12-27New command line parameter -D for application debug messagesGravatar Nikias Bassen1-12/+29
2009-12-26Some way better multirow icon aligmentGravatar Nikias Bassen1-6/+8
2009-12-26Add a threshold for left-right movement in icon alignmentGravatar Nikias Bassen1-3/+18
2009-12-25Fix icon alignment on multiple pagesGravatar Nikias Bassen1-1/+1
2009-12-25Fix indentation of device type mapping arrayGravatar Nikias Bassen1-6/+7
2009-12-25Fix indentation/coding styleGravatar Nikias Bassen1-539/+564
2009-12-25Add command line argument handlingGravatar Martin Szulecki1-3/+51
Signed-off-by: Nikias Bassen <nikias@gmx.li>
2009-12-25Limit maximum number of icons in dockGravatar Nikias Bassen1-1/+1
2009-12-25Fix parsing of iPod Touch device typeGravatar Nikias Bassen1-1/+1
2009-12-25Show device name in window title and device type in top left cornerGravatar Nikias Bassen1-13/+32
2009-12-24Write device name in top left corner instead of 'SBManager'Gravatar Nikias Bassen1-0/+35
2009-12-24Implement showing real device battery level within icon areaGravatar Martin Szulecki1-0/+97
Signed-off-by: Nikias Bassen <nikias@gmx.li>
2009-12-23Make icon exchange actually work (with some issues for sb area)Gravatar Nikias Bassen1-11/+36
2009-12-23Make the icon align functions set the current positions onlyGravatar Nikias Bassen1-64/+12
The repositioning will be done by another function, so let these align functions do what they where meant for, just align the icons in the current icon list.
2009-12-23Added sb_align_icons() to align the icons in the sb areaGravatar Nikias Bassen1-12/+101
2009-12-23memory leak fixGravatar Nikias Bassen1-0/+3
2009-12-22Added missing declaration for sel_itemGravatar Nikias Bassen1-0/+1
2009-12-22Removed buggy dock alignment codeGravatar Nikias Bassen1-20/+29
2009-12-22Attempt to quickly fix springboard and dock icon exchangeGravatar Martin Szulecki1-0/+3
Signed-off-by: Nikias Bassen <nikias@gmx.li>
2009-12-21Fix icon movement for multiple pagesGravatar Martin Szulecki1-3/+3
Signed-off-by: Nikias Bassen <nikias@gmx.li>
2009-12-21Fix wrong signature of dock align functionGravatar Martin Szulecki1-1/+1
Signed-off-by: Nikias Bassen <nikias@gmx.li>
2009-12-21Made check for motion in dock_area only y-axis dependant.Gravatar Nikias Bassen1-2/+2
This prevents icons being detected 'outside the dock' when they are moved across the left, right, or bottom margin of the dock area.
2009-12-20Added some animation to dock_align_iconsGravatar Nikias Bassen1-5/+9
2009-12-20Yes, page switch animation!Gravatar Nikias Bassen1-3/+1
2009-12-20Several fixes plus page switching now working.Gravatar Nikias Bassen1-36/+75
This one also adds groups for dock and non-dock icons to better distinguish between them.
2009-12-19Make page indicator dots reactive, but icon drawing needs some reworkGravatar Nikias Bassen1-2/+3
2009-12-18Added page indicator dotsGravatar Nikias Bassen1-7/+68
Somehow, they don't react on the button-press-event so page switching does not yet work.
2009-12-17Do not call redraw_icons inside form_map.Gravatar Nikias Bassen1-4/+0
2009-12-17Added Martin to Copyright noticeGravatar Nikias Bassen1-0/+1
2009-12-17Support for writing icon state back to deviceGravatar Nikias Bassen1-0/+132
The reordering of the icons is not yet implemented, but the function is definitely working ;)
2009-12-17Use defines to set stage width and height where appropriateGravatar Martin Szulecki1-3/+7
Signed-off-by: Nikias Bassen <nikias@gmx.li>
2009-12-17Refactor clock update logic to avoid jumping clock positionGravatar Martin Szulecki1-11/+16
Signed-off-by: Nikias Bassen <nikias@gmx.li>
2009-12-17Retrieve icons in idle loop instead of blocking the UI at startupGravatar Martin Szulecki1-6/+15
Signed-off-by: Nikias Bassen <nikias@gmx.li>
2009-12-17Name saved icon filenames by bundle and load textures asynchronouslyGravatar Martin Szulecki1-3/+10
Signed-off-by: Nikias Bassen <nikias@gmx.li>
2009-12-17Only peform realignment of dock items when an item is selectedGravatar Nikias Bassen1-9/+9
2009-12-17Removed multiple selected state variables and improved dock item alignmentGravatar Nikias Bassen1-20/+46
2009-12-17Better support for 5-icon-dock when using 4 icons or lessGravatar Nikias Bassen1-6/+8