Mike Blumenkrantz [Wed, 20 Feb 2013 09:13:03 +0000 (09:13 +0000)]
e toolbar gadgets no longer crash when trying to display a popup
SVN revision: 84258
Christopher Michael [Wed, 20 Feb 2013 07:45:19 +0000 (07:45 +0000)]
Re-enable Restore button for RandR dialog.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 84256
Christopher Michael [Wed, 20 Feb 2013 07:45:13 +0000 (07:45 +0000)]
Remove commented fixme (no time to optimize this routine right now).
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 84255
Mike Blumenkrantz [Wed, 20 Feb 2013 07:37:55 +0000 (07:37 +0000)]
add flag in comp match for disabling shadows, disable shadows for notification popup matches
SVN revision: 84254
Carsten Haitzler [Tue, 19 Feb 2013 15:11:46 +0000 (15:11 +0000)]
popups... STAY UP!
SVN revision: 84240
Mike Blumenkrantz [Tue, 19 Feb 2013 14:29:57 +0000 (14:29 +0000)]
fix gadget event object layering for dnd
SVN revision: 84239
Mike Blumenkrantz [Tue, 19 Feb 2013 14:18:58 +0000 (14:18 +0000)]
fix comp canvas win finding for some dnd operations
SVN revision: 84238
Mike Blumenkrantz [Tue, 19 Feb 2013 13:43:18 +0000 (13:43 +0000)]
only delete popup's comp win if the popup has been deleted
SVN revision: 84236
Christopher Michael [Tue, 19 Feb 2013 11:01:31 +0000 (11:01 +0000)]
Hook into monitor_resized callback and update adjacent monitor positions.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 84234
Christopher Michael [Tue, 19 Feb 2013 11:01:29 +0000 (11:01 +0000)]
Add a monitor_resized callback so positions of other monitors can be
updated.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 84233
Christopher Michael [Tue, 19 Feb 2013 11:01:26 +0000 (11:01 +0000)]
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
Christopher Michael [Tue, 19 Feb 2013 11:01:23 +0000 (11:01 +0000)]
Add exists field to crtc and output.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 84231
Christopher Michael [Tue, 19 Feb 2013 11:01:21 +0000 (11:01 +0000)]
Add monitor_moved callback and update position (if needed).
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 84230
Christopher Michael [Tue, 19 Feb 2013 11:01:18 +0000 (11:01 +0000)]
Add missing function prototypes.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 84229
Christopher Michael [Tue, 19 Feb 2013 11:01:14 +0000 (11:01 +0000)]
When we do a current_geometry set, repack the monitor to the updated
geometry.
Add a geometry_get function for monitor.
Fix up cloning code to work properly with different size
parents/children.
Add a monitor_clone_parent_get function.
When applying changes, also use crtc_clone_set function.
Add smart callback for monitor_moved to tell randr widget it may need
to shuffle things around.
Use output mouse position, not canvas position.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 84228
Christopher Michael [Tue, 19 Feb 2013 11:01:11 +0000 (11:01 +0000)]
Remove poller code for now (broken, does not work as expected, etc,
etc).
Add exists field for crtc and output.
Fix output clones and connection status get to use the correct output.
Add some notes and printfs.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 84227
Christopher Michael [Tue, 19 Feb 2013 11:01:08 +0000 (11:01 +0000)]
Start on poller code.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 84226
Christopher Michael [Tue, 19 Feb 2013 11:01:05 +0000 (11:01 +0000)]
Add poll_interval to e_randr_cfg.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 84225
Christopher Michael [Tue, 19 Feb 2013 11:01:02 +0000 (11:01 +0000)]
Add poll_interval field to config.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 84224
Christopher Michael [Tue, 19 Feb 2013 11:00:59 +0000 (11:00 +0000)]
When we get randr events, check for actual config differences.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 84223
Christopher Michael [Tue, 19 Feb 2013 11:00:56 +0000 (11:00 +0000)]
Add restore checkbox to dialog.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 84222
Christopher Michael [Tue, 19 Feb 2013 11:00:53 +0000 (11:00 +0000)]
Add connected flag for outputs, and add a restore config option.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 84221
Christopher Michael [Tue, 19 Feb 2013 11:00:23 +0000 (11:00 +0000)]
When we get an output changed event, check for matching crtc id and
also set changed flag if anything in the crtc has changed.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 84220
Christopher Michael [Tue, 19 Feb 2013 11:00:09 +0000 (11:00 +0000)]
Add some comments.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 84219
Christopher Michael [Tue, 19 Feb 2013 11:00:00 +0000 (11:00 +0000)]
Add missing function prototypes.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 84218
Christopher Michael [Tue, 19 Feb 2013 10:59:58 +0000 (10:59 +0000)]
Handle apply of monitor changes to X.
Reduce position text set calls and just do it on smart_move.
Add a changes_apply function.
Add code to record changes to a monitor.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 84217
Christopher Michael [Tue, 19 Feb 2013 10:59:55 +0000 (10:59 +0000)]
Add randr_changed function.
Add function to apply changes.
Add callback hook for monitor(s) changed.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 84216
Christopher Michael [Tue, 19 Feb 2013 10:59:52 +0000 (10:59 +0000)]
Add hook for randr widget changed.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 84215
Christopher Michael [Tue, 19 Feb 2013 10:59:49 +0000 (10:59 +0000)]
Simplify changed enum.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 84214
Christopher Michael [Tue, 19 Feb 2013 10:59:47 +0000 (10:59 +0000)]
Start on monitor Changes.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 84213
Christopher Michael [Tue, 19 Feb 2013 10:59:44 +0000 (10:59 +0000)]
Add code to handle when cloning monitors so that the size, mode and
orient of each will match (NB: This is required by XRandR in order for
cloning to be successful).
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 84212
Christopher Michael [Tue, 19 Feb 2013 10:59:41 +0000 (10:59 +0000)]
Update some comments.
Add code to create any clones on initial startup.
Add function to find a monitor object based on crtc.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 84211
Christopher Michael [Tue, 19 Feb 2013 10:59:38 +0000 (10:59 +0000)]
Add the clone object as a smart member for monitor.
Add some comments.
Update position and resolution text when we unclone.
Repack the monitor into the grid when we unclone.
Set virtual thumb size correctly.
Emit disabled signal (if needed) when we unclone.
Also record x/y coordinates when doing move/resize/rotate.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 84210
Christopher Michael [Tue, 19 Feb 2013 10:59:36 +0000 (10:59 +0000)]
Fix cloning box to now be over the indicator event rect.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 84209
Christopher Michael [Tue, 19 Feb 2013 10:59:33 +0000 (10:59 +0000)]
Add function prototype for monitor clone set.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 84208
Christopher Michael [Tue, 19 Feb 2013 10:59:30 +0000 (10:59 +0000)]
Add cloning support for monitor.
Tie in code for indicator toggle (enable/disable).
Add function to return a monitor's crtc id (used in randr widget).
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 84207
Christopher Michael [Tue, 19 Feb 2013 10:59:28 +0000 (10:59 +0000)]
Add support for an outputs clones in e_randr and e_randr config.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 84206
Christopher Michael [Tue, 19 Feb 2013 10:59:25 +0000 (10:59 +0000)]
Color the clip of the frame when monitor is disabled to provide more
visual indication.
NB: Someone may want to tweak the color used here ;)
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 84205
Christopher Michael [Tue, 19 Feb 2013 10:59:23 +0000 (10:59 +0000)]
Rename monitor name style
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 84204
Christopher Michael [Tue, 19 Feb 2013 10:59:20 +0000 (10:59 +0000)]
Simplify the monitor rotation code and make sure new positions are
within grid virtual space.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 84203
Christopher Michael [Tue, 19 Feb 2013 10:59:17 +0000 (10:59 +0000)]
Correctly calculate disabled monitor position(s).
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 84202
Christopher Michael [Tue, 19 Feb 2013 10:59:15 +0000 (10:59 +0000)]
Remove useless mod_dir variable (and associated code).
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 84201
Christopher Michael [Tue, 19 Feb 2013 10:59:11 +0000 (10:59 +0000)]
Remove useless defines and variables.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 84200
Christopher Michael [Tue, 19 Feb 2013 10:59:08 +0000 (10:59 +0000)]
Remove unused variable and some dead printfs.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 84199
Christopher Michael [Tue, 19 Feb 2013 10:59:06 +0000 (10:59 +0000)]
When calculating virtual size, also account for 'possible' outputs.
When we are creating the monitors, account for 'possible' outputs also.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 84198
Christopher Michael [Tue, 19 Feb 2013 10:59:03 +0000 (10:59 +0000)]
Actually, allow move/resize/rotate for disabled monitors so things can
be adjusted (NB: Will not actually mattery on Apply anyway).
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 84197
Christopher Michael [Tue, 19 Feb 2013 10:59:00 +0000 (10:59 +0000)]
Set current size and position text when we set current values.
Add function for setting current geometry.
If a monitor is disabled, do not allow rotate, resize, move events.
Fix resize start/stop functions to use current geometry.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 84196
Christopher Michael [Tue, 19 Feb 2013 10:58:57 +0000 (10:58 +0000)]
Add function prototype for setting current geometry.
Rename function prototype for grid virtual size set.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 84195
Christopher Michael [Tue, 19 Feb 2013 10:58:54 +0000 (10:58 +0000)]
Fix move_stop to use current geometry.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 84194
Christopher Michael [Tue, 19 Feb 2013 10:58:51 +0000 (10:58 +0000)]
Handle setting monitor to enabled/disabled based on crtc mode.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 84193
Christopher Michael [Tue, 19 Feb 2013 10:58:48 +0000 (10:58 +0000)]
When calculating virtual size, we only need to fetch
"screen_current_size_get" if both vw & vh are 0.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 84192
Christopher Michael [Tue, 19 Feb 2013 10:58:45 +0000 (10:58 +0000)]
Add 'current' field values so we can use these durring apply for
comparison to old values.
Fix move, resize, rotate code to use "current" values.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 84191
Christopher Michael [Tue, 19 Feb 2013 10:58:42 +0000 (10:58 +0000)]
Add code to handle manual monitor movement.
Fix up coordinate functions to not need doubles.
Update monitor position text when moving.
Fix up rotation code to allow rotating when mouse is outside the frame
(thank you Daniel) ;)
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 84190
Christopher Michael [Tue, 19 Feb 2013 10:58:39 +0000 (10:58 +0000)]
Fix grid offset
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 84189
Christopher Michael [Tue, 19 Feb 2013 10:58:36 +0000 (10:58 +0000)]
Add in refresh_rate code for filling refresh rate list and listening
for changes.
Break map_apply function into frame_map_apply and thumb_map_apply for
rotating just the wallpaper.
Fix resize code to work with a rotated monitor.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 84188
Christopher Michael [Tue, 19 Feb 2013 10:58:33 +0000 (10:58 +0000)]
Use ecore_x_randr_crtc_info_free function to free returned crtc_info.
When comparing refresh rates for mode searches, cast to int.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 84187
Christopher Michael [Tue, 19 Feb 2013 10:58:31 +0000 (10:58 +0000)]
Reduce variable usage
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 84186
Christopher Michael [Tue, 19 Feb 2013 10:58:28 +0000 (10:58 +0000)]
Fix comment.
Remove orientation comparison.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 84185
Christopher Michael [Tue, 19 Feb 2013 10:58:25 +0000 (10:58 +0000)]
Add ROTATE_FUZZ amount.
Add inline function to get orientation based on rotation amount.
Add function to apply an evas_map for rotation.
If we are rotating, we don't need to set livethumb size.
When we start rotating, set initial rotation amount to 0.
When rotation stops, update the map and monitor position where needed.
Apply map during rotation.
NB: This commit also adds a debugging red rectangle behind the
monitor. This will be removed when debugging is complete
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 84184
Christopher Michael [Tue, 19 Feb 2013 10:58:22 +0000 (10:58 +0000)]
Add current rotation to smart_data structure.
Fill in current rotation on crtc set.
Update current rotation when we get a rotation event.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 84183
Christopher Michael [Tue, 19 Feb 2013 10:58:19 +0000 (10:58 +0000)]
Add inline function to return the degree of rotation based on
orientation.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 84182
Christopher Michael [Tue, 19 Feb 2013 10:58:16 +0000 (10:58 +0000)]
Remove Big Fat Fixme warning as it's fixed now :)
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 84181
Christopher Michael [Tue, 19 Feb 2013 10:58:13 +0000 (10:58 +0000)]
Add code to check EFL version.
If we are using a newer version, then we can use the new
ecore_x_randr_crtc_info_get() function which will save us a lot of X
round-trips.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 84180
Christopher Michael [Tue, 19 Feb 2013 10:58:10 +0000 (10:58 +0000)]
Add current mode and refresh rate to crtc field.
Add function prototype for getting a mode refresh rate.
Add Big Fat FIXME for crtc_set function.
Get the crtc current mode & refresh rate when crtc is set.
Simplify monitor_mode_find function.
Add function for getting a mode refresh rate.
Start on rotation event code.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 84179
Christopher Michael [Tue, 19 Feb 2013 10:58:06 +0000 (10:58 +0000)]
Add function to get the amount of rotation from a mouse event.
Simplify mouse movement check in resize_event and add some better
comments.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 84178
Christopher Michael [Tue, 19 Feb 2013 10:58:04 +0000 (10:58 +0000)]
Turn 'crtc' field into a structure (mainly for making code easier to
read/maintain).
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 84177
Christopher Michael [Tue, 19 Feb 2013 10:58:01 +0000 (10:58 +0000)]
Add code to check if rotations for a given crtc are possible, and
disable the rotation in edje if not.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 84176
Christopher Michael [Tue, 19 Feb 2013 10:57:57 +0000 (10:57 +0000)]
Only get edid (an expensive process) if getting the output name
previously has failed.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 84175
Christopher Michael [Tue, 19 Feb 2013 10:57:55 +0000 (10:57 +0000)]
Add flag for rotating to structure.
Add & delete callbacks for rotation start & stop.
Add functions for rotate start & stop.
Add start of rotate event code.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 84174
Christopher Michael [Tue, 19 Feb 2013 10:57:52 +0000 (10:57 +0000)]
Add some comments.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 84173
Christopher Michael [Tue, 19 Feb 2013 10:57:50 +0000 (10:57 +0000)]
Remove all code which tried to maintain aspect ratio of the frame
(resize snapping to mode dimensions will handle this anyway).
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 84172
Christopher Michael [Tue, 19 Feb 2013 10:57:47 +0000 (10:57 +0000)]
Remove dead comments about layout object.
Add grid object to structure.
Add callbacks to handle when grid gets moved or resized so we can
update the monitor's copy of the grid geometry.
Update calls to monitor_grid_set to pass in geometry now.
Add monitor_virtual_size_set call.
Add code to deal with grid getting moved & resized.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 84171
Christopher Michael [Tue, 19 Feb 2013 10:57:44 +0000 (10:57 +0000)]
Change structure to store grid geometry.
Change grid_set function to accept grid geometry.
Add monitor_virtual_size_set function.
Only update livethumb preview size if we are not manually resizing.
Don't need to set the resolution text during smart_resize.
Add functions to convert coordinates to/from virtual to canvas.
Add function to find the closest randr mode to a given size.
Add function to handle user manual resizing.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 84170
Christopher Michael [Tue, 19 Feb 2013 10:57:41 +0000 (10:57 +0000)]
Change monitor_grid_set function to also accept the grid geometry
(used for virtual-->canvas coordinate functions).
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 84169
Christopher Michael [Tue, 19 Feb 2013 10:57:38 +0000 (10:57 +0000)]
Add missing LOGFN's where needed.
Add mouse_move callback on frame.
Delete mouse_move callback when we delete the frame.
Add code in frame moouse_move function to call appropriate event based
on current action.
Start of actual resize event code.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 84168
Christopher Michael [Tue, 19 Feb 2013 10:57:35 +0000 (10:57 +0000)]
Add flag to structure for resizing.
Add start of resize coordinates to structure.
If we are manually resizing the object, update the text.
When resize starts, record the current mouse position and size.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 84167
Christopher Michael [Tue, 19 Feb 2013 10:57:32 +0000 (10:57 +0000)]
Add edje callbacks to frame for resize_start & resize_stop.
Add code to delete edje callbacks from frame when object is deleted.
Add start of code for resize_start & resize_stop frame events.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 84166
Christopher Michael [Tue, 19 Feb 2013 10:57:29 +0000 (10:57 +0000)]
Fix variable type of "name" to be char (not const char).
Add code to set mouse pointer on frame events (resize, rotate, etc).
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 84165
Christopher Michael [Tue, 19 Feb 2013 10:57:26 +0000 (10:57 +0000)]
Cleanup some memory returned from ecore_x_randr when we are done with
it.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 84164
Christopher Michael [Tue, 19 Feb 2013 10:57:24 +0000 (10:57 +0000)]
Fix comment.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 84163
Christopher Michael [Tue, 19 Feb 2013 10:57:21 +0000 (10:57 +0000)]
Add function to push & pop e_pointers.
Add code to set pointer indication when mouse moves inside the
thumbnail.
Add code to set pointer indication when mouse is down on the thumbnail.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 84162
Christopher Michael [Tue, 19 Feb 2013 10:57:18 +0000 (10:57 +0000)]
Set aspect width & height on the same line
(pedantic commit just to remove 2 extra lines).
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 84161
Christopher Michael [Tue, 19 Feb 2013 10:57:14 +0000 (10:57 +0000)]
Also pass in crtc geometry to the monitor when we set crtc (because we
have previously fetched this geometry anyway).
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 84160
Christopher Michael [Tue, 19 Feb 2013 10:57:12 +0000 (10:57 +0000)]
Modifiy crtc_set function to also take the current crtc coordinates
(this saves us a round-trip function call to ecore_x_randr as we
already have the coordinates from the randr widget).
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 84159
Christopher Michael [Tue, 19 Feb 2013 10:57:09 +0000 (10:57 +0000)]
When we set the crtc of the monitor, we can update position and
resolution text.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 84158
Christopher Michael [Tue, 19 Feb 2013 10:57:06 +0000 (10:57 +0000)]
Add private functions for setting monitor position and resolution text.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 84157
Christopher Michael [Tue, 19 Feb 2013 10:57:04 +0000 (10:57 +0000)]
Add code to set the monitor name.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 84156
Christopher Michael [Tue, 19 Feb 2013 10:57:01 +0000 (10:57 +0000)]
Pack the monitor into the grid first, then do setup.
Add function call to setup initial background preview.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 84155
Christopher Michael [Tue, 19 Feb 2013 10:56:58 +0000 (10:56 +0000)]
Add note about screen_reset.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 84154
Christopher Michael [Tue, 19 Feb 2013 10:56:54 +0000 (10:56 +0000)]
Add code to handle setting of background preview on initial show.
Add code to handle setting of background preview when user changes the
bg.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 84153
Christopher Michael [Tue, 19 Feb 2013 10:56:51 +0000 (10:56 +0000)]
Remove function call to monitor_virtual_size_set.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 84152
Christopher Michael [Tue, 19 Feb 2013 10:56:48 +0000 (10:56 +0000)]
Remove virtual_size_set code (turns out, it's not needed).
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 84151
Christopher Michael [Tue, 19 Feb 2013 10:56:45 +0000 (10:56 +0000)]
Add base & grid object to randr widget.
Use ecore_x_randr functions to get crtcs & outputs (Fixes problem of
running Screen Setup dialog in Xephyr)
Add code for min_size_get function.
Remove code which used e_layout widget.
Add code to create new randr widget based on evas_object_grid.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 84150
Christopher Michael [Tue, 19 Feb 2013 10:56:43 +0000 (10:56 +0000)]
Add function prototype for min_size_get.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 84149
Christopher Michael [Tue, 19 Feb 2013 10:56:40 +0000 (10:56 +0000)]
Add function prototypes.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 84148
Christopher Michael [Tue, 19 Feb 2013 10:56:38 +0000 (10:56 +0000)]
Add min & max mode sizes to monitor structure.
Add Frame & Stand to monitor structure.
Add code to create/show/move/resize/hide the frame & stand.
Change the code to use ecore_x_randr functions so that when running in
Xephyr we get monitors that make sense.
Change output_set and crtc_set functions to take the Ecore_X_Randr
types.
Set an aspect ratio on the frame (so it maintains during resize)
Add function for telling monitor what the virtual size is.
Add function for telling monitor what grid object it belongs to.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 84147
Christopher Michael [Tue, 19 Feb 2013 10:56:35 +0000 (10:56 +0000)]
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
Christopher Michael [Tue, 19 Feb 2013 10:56:32 +0000 (10:56 +0000)]
Add a blank line to separate comments.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 84145
Christopher Michael [Tue, 19 Feb 2013 10:56:30 +0000 (10:56 +0000)]
Create new randr widget group (for the main randr widget) and give it
an "inset" look like the wallpaper preview widget.
NB: This probably could have been aliased to the wallpaper preview
widget but is separate right now in case the boss wants to change it ;)
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 84144
Christopher Michael [Tue, 19 Feb 2013 10:56:27 +0000 (10:56 +0000)]
Cfdata is unused in the apply function.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 84143