summaryrefslogtreecommitdiff
path: root/endless/eostopbar.c
Commit message (Collapse)AuthorAge
* Remove internal child codePhilip Chimento2013-12-17
| | | | | | | | | | GTK 3.10 has gtk_window_set_titlebar(), so we can remove a lot of code that was necessary for treating the top bar as an internal child and dragging the window by its top bar. By setting the 'decorated' flag again, this also solves #375. [endlessm/eos-sdk#28]
* Use the new way to define private gobject dataMatt Watson2013-12-09
| | | | | Simpler and has a nicer memory layout. Needed glib 2.38 to do this. [endlessm/eos-sdk#421]
* topbar: implement window draggingCosimo Cecchi2013-08-29
| | | | | | Similar to how GtkToolbar does it. [endlessm/eos-sdk#178]
* Fixed the cairo line drawing locationMatt Watson2013-08-01
| | | | | | Tiny changes so each line draws over an exact row of pixels on the screen, and not between rows [endlessm/eos-sdk#197]
* Add top bar edge finishingPhilip Chimento2013-08-01
| | | | | | | | | | | Add a highlight and shadow, on the bottom of the top bar; two pixels go over the top bar, and two pixels go over the app content. Added a smoke test with a button that turns red on press, in order to test that the two pixels on top of the app content do not catch input events. [endlessm/eos-sdk#197]
* Change top bar colors and icons to match specsPhilip Chimento2013-08-01
| | | | | | | | | Changed the GtkBox to a GtkGrid so that the margin properties are properly respected, and removed the background color overrides (they are not necessary anymore because of our CSS theme getting installed alongside the SDK.) [endlessm/eos-sdk#185]
* Change topbar minimize icon namePhilip Chimento2013-07-18
| | | | | | | Use the custom 'window-minimize-symbolic' instead of misusing 'list-remove-symbolic' [endlessm/eos-sdk#132]
* Abstract topbar icon names into constantsPhilip Chimento2013-07-03
| | | | | | Have constants for the icon names instead of magic string literals in the code. [endlessm/eos-sdk#132]
* Addressed code review comments.Fernando Farfan2013-06-17
| | | | | | | | Several edits to address code review comments: - eostopbar.c: Switched the left&center top bar hboxes to alignments. - eostopbar.c: Replaced gtk_widget_destroy with gtk_container_remove. - eospagemanager.c: added dispose() virtual function to unref topbar widgets. [endlessm/eos-sdk#97]
* Added topbar hboxes to further contain topbar widgets.Fernando Farfan2013-06-17
| | | | | Added individual topbar hboxes that will further contain topbar widgets. These hboxes will be set with the preferred properties, withtout interfering with the widgets' properties. [endlessm/eos-sdk#97]
* Addressed code review commentsFernando Farfan2013-06-17
| | | | | | | Addressed the following code review comments: - Added newline at the end of the file - Replaced gtk_widget_unparent with gtk_widget_destroy in eos_top_bar_set_*_widget methods [endlessm/eos-sdk#97]
* Addressed code review comments.Fernando Farfan2013-06-17
| | | | | | | Addressed @ptomato comments as follows: - Removed white color for topbar labels - Corrected document blocks [endlessm/eos-sdk#97]
* Added documentation for top bars in EosPageManager.Fernando Farfan2013-06-17
| | | | | Added documentation for EosTopBar and included the appropriate public documentation on EosPageManager. [endlessm/eos-sdk#97]
* Changed Topbar foreground color.Fernando Farfan2013-06-17
| | | | | Changed the foreground color of the topbar widgets to white to make them visible over the dark gray background. [endlessm/eos-sdk#97]
* Corrected assertion failures.Fernando Farfan2013-06-17
| | | | | Modified EosTopbar to remove a handful of assertion failures when adding left/center topbar widgets. [endlessm/eos-sdk#97]
* Debug Topbars not being drawn in Eos themeFernando Farfan2013-06-17
| | | | | Added printf (..) statements to make sure that the eos_top_bar_set_*_widget methods are being executed, even though they're not displaying the topbar properly. [endlessm/eos-sdk#97]
* Draw topbars in EosWindowFernando Farfan2013-06-17
| | | | | Work in progress. Topbars do not appear when using Endless theme. [endlessm/eos-sdk#97]
* Added support for left topbar and center topbar.Fernando Farfan2013-06-17
| | | | | | | Modified EosPageManager, EosTopbar and EosWindow to have support for the two new topbars. app-window.js includes some tests for these two widgets. [endlessm/eos-sdk#97]
* Changed topbar padding around minimize and close buttons.matt2013-05-06
| | | | | Simplified the internal widgetry of the topbar a bit too. [endlessm/eos-sdk#63]
* Implements EosTopBar and integrates it in EosWindowFelipe Erias Morandeira2013-05-02
[endlessm/eos-sdk#7]