Commit Graph

181 Commits

Author SHA1 Message Date
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 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