All pastes #157285 Raw Edit

Unnamed

public text v1 · immutable
·published 2006-09-01 13:52 UTC
rendered paste body
		RectangleList areaList = Desktop::getInstance().getAllMonitorDisplayAreas(false);
		RectangleList workAreaList = Desktop::getInstance().getAllMonitorDisplayAreas(true);
		String areas, workAreas;
		
		for (int i = 0; i < areaList.getNumRectangles(); i++)
			areas << areaList.getRectangle(i).toString() << T(" ");
		
		for (int i = 0; i < workAreaList.getNumRectangles(); i++)
			workAreas << workAreaList.getRectangle(i).toString() << T(" ");
	
		LOG(T("areas: ") + areas);
		LOG(T("workAreas: ") + workAreas);