Commit Graph

70 Commits

Author SHA1 Message Date
Chris Michael 1b76632915 Add suport for setting the Primary Output in the randr dialog....for
my German friend ;)

Signed-off-by: Chris Michael <devilhorns@comcast.net>
2013-05-24 13:05:41 +01:00
Christopher Michael 8a3cf51692 Re-enable Restore button for RandR dialog.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84256
2013-02-20 07:45:19 +00:00
Christopher Michael 2ce1533131 Disable Restore on Startup for now until larger randr event issues are
worked out.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84232
2013-02-19 11:01:26 +00:00
Christopher Michael 8f728d158d Add restore checkbox to dialog.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84222
2013-02-19 11:00:56 +00:00
Christopher Michael c889d84b87 Add hook for randr widget changed.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84215
2013-02-19 10:59:52 +00:00
Christopher Michael d994ca499d Fix _basic_create prototype & function to use the dialog now.
Call function of randr widget to get the min required size, and set
the list widget to that size.
Tell the dialog to show centered on the screen.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84146
2013-02-19 10:56:35 +00:00
Christopher Michael a2ce1d77b9 Cfdata is unused in the apply function.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84143
2013-02-19 10:56:27 +00:00
Christopher Michael 28a1a7690f Tell randr widget to calculate virtual size.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84138
2013-02-19 10:56:11 +00:00
Christopher Michael 8a53055d3a Tell randr widget to create monitors.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84124
2013-02-19 10:55:28 +00:00
Christopher Michael 3fd758facc Cleanup compile warnings and include randr object header.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84121
2013-02-19 10:55:20 +00:00
Christopher Michael daa2b49ab9 Create the randr widget in _basic_create.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84118
2013-02-19 10:55:09 +00:00
Christopher Michael d874b1ed9c Remove old randr code from dialog creation.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84115
2013-02-19 10:55:01 +00:00
Christopher Michael 16c88a39bd Update UNUSED for basic apply function as we do not need the config
dialog here anymore.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 81266
2012-12-18 15:27:59 +00:00
Christopher Michael 394885c2e6 And don't pass the root window to the apply function anymore
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 81265
2012-12-18 15:21:00 +00:00
Cedric BAIL db610957a7 e: seriously, WTF with all this non resizable config setting window, it's insane !
SVN revision: 81199
2012-12-18 03:25:45 +00:00
Christopher Michael cce210cd53 Make randr dialog not resizable.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 81138
2012-12-17 13:42:08 +00:00
Christopher Michael 5016734bc9 Remove comment/todo that does not belong here.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 81133
2012-12-17 12:55:29 +00:00
Christopher Michael 7d6a9cd155 Set randr widget minimum size to proper values.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 81109
2012-12-17 09:21:02 +00:00
Christopher Michael a3cf759911 Add function to randr widget to return the best layout size.
Modify widget creation to use randr layout size function:
  NB: Needed because we cannot rely on E_RANDR_12->current_size to
provide us with something usable.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 81108
2012-12-17 09:20:59 +00:00
Christopher Michael 6e7b845965 Hook into the randr widget "changed" event.
Call the randr widget apply function to handle applying changes.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 81101
2012-12-17 09:20:38 +00:00
Christopher Michael a23ebcd608 Introduce new RandR dialog which fixes issues that the past one had.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 81094
2012-12-17 09:20:07 +00:00
Christopher Michael 9bdafc8d2d Move dialog resizable set call to the basic_create function.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 81076
2012-12-17 09:19:16 +00:00
Christopher Michael 1fce126fe4 Start of new randr dialog & monitor widget.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 81075
2012-12-17 09:19:13 +00:00
Christopher Michael 3b74f38de2 Remove old randr code.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 81071
2012-12-17 09:18:59 +00:00
Mike Blumenkrantz e1c9e8e529 randr dialog resizable
SVN revision: 80152
2012-12-04 13:00:47 +00:00
Mike Blumenkrantz 68e6b07cd7 all dialogs are no longer resizable
SVN revision: 80032
2012-12-03 09:24:12 +00:00
Mike Blumenkrantz c6a9c34e7f giant header overhaul which removes all the stupid one line function prototype headers and e_mod_main.h headers that contain nothing but unnecessary module api prototypes
SVN revision: 79908
2012-11-30 14:38:34 +00:00
Christopher Michael 222c3326fd E Randr: Don't show outputs which are not connected.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 78388
2012-10-24 06:28:01 +00:00
Christopher Michael cd0ad11fa8 E (RandR): After we have applied the changes for a monitor, tell it to
'reset'.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 77891
2012-10-11 14:29:20 +00:00
Christopher Michael 39bb5b2bbd E (RandR): Skip monitor during apply if no changes were made.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 77888
2012-10-11 14:29:10 +00:00
Christopher Michael c9edc0c734 E (RandR): If the monitor does not have a CRTC because it was
disabled, try to find an available one so that we can re-enable the
monitor.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 77881
2012-10-11 13:51:33 +00:00
Christopher Michael 888e820aca E (RandR): Remove dead debug code. Reenable crtc check to avoid
potential segv.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 77877
2012-10-11 12:49:47 +00:00
Christopher Michael 6e89ed1e0c E (RandR): Rework Applying the randr settings. Now we will only need
to apply what has changed.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 77874
2012-10-11 12:42:40 +00:00
Christopher Michael f4cc7d989d E (RandR): Use monitor function to get proper output.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 77868
2012-10-11 12:42:23 +00:00
Christopher Michael dbc528c0f9 E (RandR): Create monitors based on outputs, not crtcs.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 77760
2012-10-10 12:59:53 +00:00
Christopher Michael cc188bee3a E (RandR): Check if a monitor has been changed before doing an Apply.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 77715
2012-10-10 07:55:13 +00:00
Christopher Michael b10d7e3c9a E (RandR): Remove dead code.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 77711
2012-10-10 07:55:03 +00:00
Christopher Michael 98a5532b44 E (RandR): Support applying enable/disable of a monitor.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 77710
2012-10-10 07:55:00 +00:00
Christopher Michael 8ff992b7a7 E (RandR): Remove _fill_data function (not needed). Implement Applying
of any changes to monitors.

NB: Be careful ... this will actually apply any changes now. Tested
here and appears to work ok, but YOU HAVE BEEN WARNED !!! If you apply
something and it turns your monitor into a paperweight, don't cry to me.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 77693
2012-10-10 06:20:41 +00:00
Christopher Michael 86eb503248 Fix RandR dialog icon.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 77638
2012-10-09 11:55:37 +00:00
Mike McCormack 6b4b4f0ae1 e: Fix unused variable warnings
Signed-off-by: Mike McCormack <mikem@atratus.org>

SVN revision: 77588
2012-10-08 20:55:43 +00:00
Christopher Michael 38d31cf0c0 Make config dialog listen on "changed" signal from RandR smart object
to enable Apply button.

NB: Cannot use basic->check_changed here as the Monitor smart objects
do the changing, but the Randr smart object never does. Since
"check_changed" only listens on the main dialog widget (randr smart
object in this case), then the "check_changed" of dialog_view would
not work in this case.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 77569
2012-10-08 08:39:46 +00:00
Christopher Michael 2dcd1bc3ba Make RandR dialog function as a Config Dialog.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 77565
2012-10-08 07:56:18 +00:00
Christopher Michael 7d6f95bc01 E (RandR): Raise callback signals for monitor_moved and
monitor_rotated so we can adjust positions in the randr widget.



SVN revision: 77260
2012-10-01 10:21:26 +00:00
Christopher Michael 5d1a85b837 E Randr: Ooops, fix compile.
SVN revision: 77145
2012-09-27 09:44:17 +00:00
Christopher Michael 28eac48e9c E: Add start of new RandR dialog.
NB: IT IS NOT COMPLETE, DOES NOT APPLY SETTINGS, AND STILL NEEDS LOTS
OF WORK. Don't bother reporting bugs for it just yet, until it is
fully functional. Just adding it to svn in the hopes (hahahaha) that
others may want to jump in and help speed things along.



SVN revision: 77140
2012-09-27 09:22:05 +00:00
Leif Middelschulte 83932df5ad make placement work with e_layout and fix other issues.
SVN revision: 69937
2012-04-05 22:21:29 +00:00
Sebastian Dransfeld ef93a97573 modules/conf_randr: Fix display of outputs
- Show and pack objects in layout before using e_layout_child_*()
  functions.
- Don't use random EVAS_HINT_* flags when passing parameters.

SVN revision: 69040
2012-03-08 08:27:32 +00:00
Leif Middelschulte 37a99accde finish renaming all '[sub]subdialog' to 'widget'
SVN revision: 68440
2012-02-25 10:50:14 +00:00
Leif Middelschulte 23a469ae03 Simplify arrangement widget. Use e_layout.
SVN revision: 68439
2012-02-25 10:01:30 +00:00