Lines Matching refs:units
150 * @param units, unit32 enum for units used in view
154 BRect margins, MarginUnit units)
157 fMarginUnit = units;
158 fUnitValue = kUnitFormat[units];
303 // convert to units to points
334 * @return uint32 enum, units in inches, cm, points
431 BPopUpMenu *menu = new BPopUpMenu("units");
432 BMenuField *units = new BMenuField("units", "Units:", menu);
455 settingsLayout->AddItem(units->CreateLabelLayoutItem(), 0, 4);
456 settingsLayout->AddItem(units->CreateMenuBarLayoutItem(), 1, 4);
514 * SetUnits, called by the MarginMgr when the units popup is selected
516 * @param uint32, the enum that identifies the units requested to change to.
522 // do nothing if the current units are the same as requested
527 // set the units Format
536 // convert to target units
589 // set the fields to new units