Commit Graph

173 Commits

Author SHA1 Message Date
Christopher Michael 23e171b7b7 Actually, use the real rate value from the mode. This allows similar
modes with the same rate to correctly select the proper radio.

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

SVN revision: 77642
2012-10-09 12:15:09 +00:00
Christopher Michael 51fa6fc413 Add method to list/select refresh rates.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 77639
2012-10-09 11:55:40 +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 6cca89c83f Make on/off indicator toggling also send a changed event to the RandR
widget.

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

SVN revision: 77570
2012-10-08 09:13:30 +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 1405f6f949 Remove 'changed' flag for monitor smart object.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 77568
2012-10-08 08:39:43 +00:00
Christopher Michael c2521cbaaf Make RandR smart object support 'changed' so that the Apply button in
the config dialog can function properly.

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

SVN revision: 77567
2012-10-08 08:39:39 +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 5ca309e0ad Remove dead code.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 77438
2012-10-04 13:14:33 +00:00
Mike McCormack 5b4a058e44 e: Fix warning
e_smart_monitor.c:1036:29: warning: ‘mode’ may be used uninitialized in this function

Signed-off-by: Mike McCormack <mikem@atratus.org>

SVN revision: 77427
2012-10-04 11:47:43 +00:00
Christopher Michael 0f5cd63f5a E (RandR): Add function to return if a specific monitor is moving. Add
function to "reposition" a monitor when move is finished. Implement
basic monitor moving (still has some issues tho).



SVN revision: 77367
2012-10-03 12:03:00 +00:00
Christopher Michael 4b9e05d0fc E (RandR): Update __UNUSED__ function parameters.
SVN revision: 77316
2012-10-02 12:25:36 +00:00
Christopher Michael 146ee272a4 E (RandR): Implement common layout_adjust function. Used when we
resize or rotate a given monitor so that the position of any adjacent
monitors gets updated. Currently works when resizing or rotating.



SVN revision: 77315
2012-10-02 12:24:35 +00:00
Christopher Michael 778c584fc8 E (RandR): Scrollframe swallows the layout so don't use
smart_member_add.



SVN revision: 77314
2012-10-02 12:16:55 +00:00
Mike McCormack ee8f7529bc e: Fix warnings
Signed-off-by: Mike McCormack <mikem@atratus.org>

SVN revision: 77304
2012-10-02 11:21:17 +00:00
Christopher Michael 6e3110b57b E (RandR): Fix corner cases for rotation not working. Fix rotation &
resize snapping. Oh, and implement a new feature: Resizing a monitor
While it is rotated in a different position ;)

NB: Next thing is actual Movement snapping, then on to saving config ;)



SVN revision: 77303
2012-10-02 11:20:12 +00:00
Christopher Michael d6e1350427 E (RandR): And get the proper mode based on rotation also so that
resize limiting functions propertly.



SVN revision: 77294
2012-10-02 08:58:16 +00:00
Christopher Michael d445520629 E (RandR): When we are finished resizing, we need to get geometry
based on the current rotation so we can find the proper mode.



SVN revision: 77292
2012-10-02 08:51:50 +00:00
Christopher Michael 3b7b05abf0 E (RandR): Populate the map using 'full' so that we account for any
existing rotation of the monitor object.



SVN revision: 77288
2012-10-02 08:47:34 +00:00
Christopher Michael 8d84c6e9cc E (RandR): Remove start_rotation from structure (not needed). Remove
some unused variables.



SVN revision: 77287
2012-10-02 08:40:14 +00:00
Christopher Michael 0ab246155d E (RandR): Use e_layout_child_geometry_get for rotate snap.
SVN revision: 77275
2012-10-01 14:22:51 +00:00
Christopher Michael 4f02f86438 E (Randr): Delete the menu on object deletion.
SVN revision: 77274
2012-10-01 14:19:52 +00:00
Christopher Michael d905aa1cc9 E (RandR): Use e_layout_child_geometry_get so that e_layout is kept in
sync.



SVN revision: 77270
2012-10-01 13:29:16 +00:00
Christopher Michael 16524abd60 E (RandR): Use e_layout_child_resize when doing rotation so that if
you try a Move after a Rotation is set, the move will actually move
the with a proper rotation now.



SVN revision: 77269
2012-10-01 13:19:43 +00:00
Christopher Michael 715048c75e E (RandR): Fix some weird rotation bug where the monitor would Jump to
a previous rotation when you started a rotate operation. Also, Fix up
a couple of functions to be more accurate (in terms of their name &
purpose).



SVN revision: 77267
2012-10-01 12:33:06 +00:00
Christopher Michael 0ae612a055 E (RandR): Don't need the "snapped" field in this structure anymore.
SVN revision: 77266
2012-10-01 11:43:41 +00:00
Christopher Michael 54984d38ef E (RandR): Reimplement "resizing other monitors" when a specific
monitor gets resized, so that we update the visual layout
appropriately. Also, do not raise "monitor_moved" callback for every
little move, rather wait until the move is finished and raise the
callback once.

NB: The "monitor_moved" callback frequency may change in the future.




SVN revision: 77265
2012-10-01 11:37:41 +00:00
Christopher Michael 12e76211d4 E (RandR): For now, do not raise "resized" signal with every movement,
just raise it once when it snaps to the closest resolution.

NB: This may change in the future but for now, let's keep the number
of callbacks down.



SVN revision: 77263
2012-10-01 10:33:32 +00:00
Christopher Michael 271a21df59 E (RandR): Add callbacks in randr widget for monitor_rotated and
monitor_moved. Add del hook for when monitor gets deleted so we can
cleanup callbacks. Fix monitor smart object to build.



SVN revision: 77261
2012-10-01 10:27:39 +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 37802a1b09 E (RandR): Fix monitor resize function to use e_layout_child_resize.
Implement basic monitor moving.

NB: This does not Snap yet, or move the other monitor(s).



SVN revision: 77256
2012-10-01 08:56:38 +00:00
Christopher Michael bc8f6e526a E (RandR): Make resolution popup menu actually set the object
resolution when selected.



SVN revision: 77247
2012-10-01 08:02:35 +00:00
Christopher Michael 640c9d67b3 E (RandR): Add 'moving' flag to smart_data. Fix some function calls to
not pass data (is not needed for those). Fix thumb_mouse_down to use
'obj' for changing pointer. Add 'move' function skeleton(s).




SVN revision: 77246
2012-10-01 07:42:47 +00:00
Christopher Michael 01db2abf19 E (RandR): Update mouse pointer when over the thumbnail to indicate
move is possible.

NB: Preparation for monitor moving.



SVN revision: 77243
2012-10-01 07:32:57 +00:00
Christopher Michael b4d2b87079 E (RandR): Cleanup some comments (nothing functional).
SVN revision: 77240
2012-10-01 07:17:43 +00:00
Christopher Michael f1ec38f0ae E (RandR): Add popup menu to display available resolutions (for TAsn).
SVN revision: 77239
2012-10-01 07:04:21 +00:00
Christopher Michael 65c331369b E (RandR): When we finish rotation, update monitor frame position.
SVN revision: 77205
2012-09-28 14:05:51 +00:00
Christopher Michael 4e9dd83e44 E (RandR): Fix corner case where rotation was done by user for a full
360 degrees and snapping was incorrect.



SVN revision: 77204
2012-09-28 12:43:43 +00:00
Christopher Michael 2b59153982 E (RandR): Don't "smart_member_add" the stand and frame...we want them
to be swallowed and be part of the base object.



SVN revision: 77202
2012-09-28 12:17:29 +00:00
Christopher Michael d5dcd71d83 E (RandR): Implement Rotation snapping. Remove Evas_Map as part of the
Smart_Data structure. Use an Evas_Map for rotation as the old man
suggested ;)

NB: This will snap to the closest Rotation (within a 45 degree
threshold), after the user has finished rotating.



SVN revision: 77201
2012-09-28 12:10:31 +00:00
Christopher Michael 3d62a1ccad E (RandR): Set resolution text on load, and also set the resolution to
the "potential" snapping resolution as the user resizes.



SVN revision: 77194
2012-09-28 09:49:24 +00:00
Christopher Michael adc5e6064c E (RandR): Allow toggle of output on/off (visually).
NB: This just implements on/off of monitor state "visually". No actual
changes applied via ecore_x_randr yet.



SVN revision: 77186
2012-09-28 09:06:08 +00:00
Christopher Michael de780ba00d E (RandR): Since we only need one map now (thanks old man), we can
remove the array, and fix the map cleanup also.



SVN revision: 77181
2012-09-28 07:53:25 +00:00
Carsten Haitzler 0a766a74ea fix up randr smart monitor code so livethumb is swallowed RIGHT so map
applies. :)



SVN revision: 77180
2012-09-28 07:44:44 +00:00
Christopher Michael e67f42cd0a E (RandR): Implement snapping.
NB: Allow free-form resizing. When the user is done resizing, the
monitor object will "snap" to the closest resolution based on the
object size.



SVN revision: 77179
2012-09-28 07:11:46 +00:00
Christopher Michael 50f569ff5e E (randr): We can actually optimize the searches a bit (given that the
list of modes is stored smallest to largest) based on if we are
shrinking or growing.



SVN revision: 77149
2012-09-27 10:19:34 +00:00
Christopher Michael 33ccce29fd E (randr): Implement some snap 'fuziness' for finding the next smaller
or larger resolution during a resize.



SVN revision: 77148
2012-09-27 10:14:58 +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
Mike Blumenkrantz 13a512c65a use pre-compiled randr edj, it's stupid that we recompile this every time when we ship every other module's theme as a binary
SVN revision: 76279
2012-09-07 06:54:13 +00:00
Massimo Maiurana c7b6d84347 updating portuguese and italian translations
SVN revision: 75634
2012-08-23 18:08:44 +00:00
Massimo Maiurana 96bef27c6f updating portuguese and italian translations
SVN revision: 75576
2012-08-22 21:51:00 +00:00
Chidambar Zinnoury f45d356c62 e: some more plural and times lovin'.
SVN revision: 73874
2012-07-15 11:39:50 +00:00
Massimo Maiurana f45c7dadfc updating italian translations
SVN revision: 73057
2012-06-29 21:55:37 +00:00
Leif Middelschulte 2c30c70a12 Use "changed" smart cb instead of mouse down.
SVN revision: 73011
2012-06-28 13:47:48 +00:00
Leif Middelschulte 04acb74d8b Revert "Merge branch 'randr'"
This reverts commit 5cd36c5dcb45ac48a1dc062fed5ac0d29c79efe3, reversing
changes made to 3bd4846cc3663a2488a47ed581045295fb322944.

SVN revision: 73009
2012-06-28 13:44:26 +00:00
Leif Middelschulte f939b664d7 Merge branch 'randr'
SVN revision: 73008
2012-06-28 13:35:19 +00:00
Leif Middelschulte 71a7ffc0c1 Use smart cb of radio button
SVN revision: 71567
2012-05-30 19:17:10 +00:00
Leif Middelschulte bdb66274c0 e_randr: Show "ask position" dialog, if ASK policy is used.
SVN revision: 71566
2012-05-30 19:16:58 +00:00
Cedric BAIL c2a29811d5 e: massiv warning cleanup !
SVN revision: 70756
2012-05-04 09:38:52 +00:00
Cedric BAIL e5cf6ffe36 e: prevent segv when their were no previous config.
SVN revision: 70682
2012-05-03 03:52:03 +00:00
Leif Middelschulte 481b027763 Remove unused variable.
SVN revision: 70506
2012-04-26 10:22:43 +00:00
Leif Middelschulte 6d323b3f39 Fix position calculation of dummy.
SVN revision: 70505
2012-04-26 10:22:38 +00:00
Leif Middelschulte c0752cccb5 Remove Evas_Object as reference from conf_randr. Use data structure instead.
SVN revision: 70504
2012-04-26 10:22:31 +00:00
Leif Middelschulte 11c41d6912 reflect rotation in the dialog
SVN revision: 70158
2012-04-12 18:31:23 +00:00
Leif Middelschulte aa1c81ad03 Reflect changed resolution in dialog.
SVN revision: 70157
2012-04-12 18:31:17 +00:00
Leif Middelschulte be22edaa3f Add (not yet working) sec. check;Fix res. list.
SVN revision: 70016
2012-04-11 15:08:09 +00:00
Leif Middelschulte 2ac207aead fix overseen mistake
SVN revision: 69996
2012-04-10 10:58:18 +00:00
Leif Middelschulte 0daf53273c Selecting resolutions for mulitple monitors before applying should work now.
SVN revision: 69994
2012-04-10 09:20:54 +00:00
Leif Middelschulte f7259f1064 Use ilist smart callbacks, which don't seem to work either
SVN revision: 69981
2012-04-09 20:45:20 +00:00
Leif Middelschulte 0f59be779c Fix possible segv
SVN revision: 69980
2012-04-09 20:45:15 +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
Leif Middelschulte 40fc3efd1f Select (previous) mode simplier.
SVN revision: 69307
2012-03-13 19:58:02 +00:00
Leif Middelschulte 3cf0bf72fb warnings--
SVN revision: 69305
2012-03-13 19:57:53 +00:00
Leif Middelschulte 71d0297574 Use modes' names for the list.
SVN revision: 69304
2012-03-13 19:57:37 +00:00
Leif Middelschulte a88493233b Make conf_randr subwidgets work with e_layout.
SVN revision: 69269
2012-03-12 22:38:00 +00:00
Leif Middelschulte 348afe4972 minor tweeks to conf_randr.
SVN revision: 69268
2012-03-12 22:37:55 +00:00
Sebastian Dransfeld 05bf07450c e: formatting
SVN revision: 69055
2012-03-08 11:37:54 +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 e62da06cd3 Add scrollframe to conf_randr. e_layout's child size is not right
SVN revision: 68441
2012-02-25 10:50:19 +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
Leif Middelschulte a5a3db6195 rename stuff, move functions decls to header
SVN revision: 68438
2012-02-25 10:01:23 +00:00
Leif Middelschulte 32b343cdd3 Remove *= e_scale. It produces unwanted results.
SVN revision: 68275
2012-02-22 15:42:00 +00:00
Leif Middelschulte b3b07b6be5 Simplify a bit.
SVN revision: 68235
2012-02-21 22:05:02 +00:00
Leif Middelschulte 1ca87695e7 Fix possible SEGV for screwed drivers.
SVN revision: 68225
2012-02-21 15:50:16 +00:00
Leif Middelschulte f4820b562e Disable e_randr refresh on startup, because runtime settings get lost
SVN revision: 68169
2012-02-20 19:14:16 +00:00
Massimo Maiurana 95cb1ce29f updating french translations
SVN revision: 68121
2012-02-19 08:48:03 +00:00
Leif Middelschulte 62ded22064 Improve conf_randr dialog.
Adjust to changes in e_randr.h.
Change "display disabled" to "display disconnected"

SVN revision: 68116
2012-02-18 16:49:17 +00:00
Gustavo Sverzut Barbieri 4305b8e7fe e/docs: do bare documentation for e.
Just some groups and basic description for modules. I'm NOT going back
to this anytime soon, but would be VERY happy if people could do some
screenshots and put the images for each module in docs/img/ folder,
linking to them from each e_mod_main.h



SVN revision: 67362
2012-01-19 23:25:32 +00:00
Leif Middelschulte dba1e9d7e4 Silence warnings.
SVN revision: 66978
2012-01-08 18:13:42 +00:00
Leif Middelschulte ab7aa67cb0 Clean up some code. Add "display disabled outputs" toggle to UI.
SVN revision: 66404
2011-12-21 01:23:16 +00:00
Leif Middelschulte bdb55d1364 Fix update of references.
SVN revision: 66337
2011-12-19 17:42:02 +00:00
Leif Middelschulte 95f9bb1698 Minor cleanup.
SVN revision: 66291
2011-12-16 14:19:41 +00:00
Leif Middelschulte c241034d1c Refresh e_randr info, before showing dialog.
SVN revision: 66289
2011-12-16 14:19:33 +00:00
Leif Middelschulte 04705b92d4 Make disabled outputs appear gray not, translucent
SVN revision: 66288
2011-12-16 14:19:30 +00:00
Leif Middelschulte 208070ff85 Use selective storing for configuration data.
This enables that only parts of the configuration is stored.
Right now only implemented: policies vs. everything.

SVN revision: 66220
2011-12-14 17:37:38 +00:00
Leif Middelschulte 9282dd62d7 Make policies work and (re)storable. debug verbosity++
SVN revision: 66219
2011-12-14 17:37:33 +00:00
Leif Middelschulte add873a668 More fixes for e_randr, but also some for conf_randr.
SVN revision: 66216
2011-12-14 17:37:17 +00:00