ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

void OutputWorker::output_tabbed_text ( LPDRAWITEMSTRUCT  dis,
int positions,
int  col,
LPCTSTR  str 
)

Definition at line 897 of file pane.cpp.

Referenced by Pane::draw_item().

{
    int x = dis->rcItem.left;
    RECT rt;

    rt.left   = x+positions[col]+_spaceSize.cx;
    rt.top    = dis->rcItem.top;
    rt.right  = x+positions[col+1]-_spaceSize.cx;
    rt.bottom = dis->rcItem.bottom;

/*  DRAWTEXTPARAMS dtp = {sizeof(DRAWTEXTPARAMS), 2};
    DrawTextEx(dis->hDC, (LPTSTR)str, -1, &rt, DT_SINGLELINE|DT_NOPREFIX|DT_EXPANDTABS|DT_TABSTOP, &dtp);*/

    DrawText(dis->hDC, (LPTSTR)str, -1, &rt, DT_SINGLELINE|DT_EXPANDTABS|DT_TABSTOP|(2<<8));
}

Generated on Sat May 26 2012 06:31:17 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.