#include "display.h"Go to the source code of this file.
Defines | |
| #define | PBCSHIFT(a, shift, origin) if(enable_pbc){a-=origin;a/=2;a+=shift;a-=rint(a);a*=2;a+=origin;} |
| #define | INFO_Printf printf |
| #define | _DoDraw(_1, _2, _3, _4, _5, _6) |
| #define | _XDrawLine(a, b, Z0, c, d, Z1) |
| #define | _XDash XSetLineAttributes(theDisplay, gc, 1, LineOnOffDash, CapButt, JoinMiter) |
| #define | _XSold XSetLineAttributes(theDisplay, gc, 1, LineSolid, CapButt, JoinMiter) |
| #define | _XSetLine(a, b) {if((a)&& !(b)) _XDash; else if(!(a)&&(b)) _XSold;} |
| #define | _toler 1.0e-6 |
Variables | |
| unsigned long | colorconvert_16 [3][6] |
| unsigned long | colorconvert_32 [3][6] |
| #define _DoDraw | ( | _1, | |||
| _2, | |||||
| _3, | |||||
| _4, | |||||
| _5, | |||||
| _6 | ) |
| #define _toler 1.0e-6 |
Referenced by YWindow::rotateTo().
| #define _XDash XSetLineAttributes(theDisplay, gc, 1, LineOnOffDash, CapButt, JoinMiter) |
Referenced by YWindow::drawBoxFrame().
| #define _XDrawLine | ( | a, | |||
| b, | |||||
| Z0, | |||||
| c, | |||||
| d, | |||||
| Z1 | ) |
| #define _XSetLine | ( | a, | |||
| b | ) | {if((a)&& !(b)) _XDash; else if(!(a)&&(b)) _XSold;} |
Referenced by YWindow::drawBoxFrame().
| #define _XSold XSetLineAttributes(theDisplay, gc, 1, LineSolid, CapButt, JoinMiter) |
Referenced by YWindow::drawBoxFrame().
| #define INFO_Printf printf |
Referenced by CGRelax(), RODSFrame::connect_nodes(), SYWindow::importgif(), LJDIMERFrame::initLJ(), LJ2Frame::initLJ(), SIEDIPFrame::initvars(), EAMFrame::kraeam(), MEAMFrame::MEAM(), MDFrame::NVT_VVerlet_Implicit(), Organizer::printEndInfo(), EAMFrame::readeam(), VaspBox::readoutcarstress(), EAMFrame::rhoeam(), LFile::SubHomeDir(), SYWindow::SYWindow(), and SYWindow::testcolor().
| #define PBCSHIFT | ( | a, | |||
| shift, | |||||
| origin | ) | if(enable_pbc){a-=origin;a/=2;a+=shift;a-=rint(a);a*=2;a+=origin;} |
| unsigned long colorconvert_16[3][6] |
Initial value:
{{0xF8,8,0,0xF800,11,0x1F},
{0xF8,3,0,0x7C0, 6,0x1F},
{0xF8,0,0,0x1F, 0,0x1F}}
Definition at line 20 of file display.cpp.
Referenced by SYWindow::SYWindow().
| unsigned long colorconvert_32[3][6] |
Initial value:
{{0xFF,16,0,0xFF0000,16,0xFF},
{0xFF, 8,0,0xFF00, 8,0xFF},
{0xFF, 0,0,0xFF, 0,0xFF}}
Definition at line 23 of file display.cpp.
Referenced by SYWindow::SYWindow().
1.5.7.1