#include "mfcpch.h"
#include <stdlib.h>
#include <string.h>
#include "grphics.h"
#include "grphshm.h"
#include "evntlst.h"
Go to the source code of this file.
#define XSIZE_INCREMENT 8 |
* (C) Copyright 1990, Hewlett-Packard Ltd. ** Licensed under the Apache License, Version 2.0 (the "License"); ** you may not use this file except in compliance with the License. ** You may obtain a copy of the License at ** http://www.apache.org/licenses/LICENSE-2.0 ** Unless required by applicable law or agreed to in writing, software ** distributed under the License is distributed on an "AS IS" BASIS, ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. ** See the License for the specific language governing permissions and ** limitations under the License.
Definition at line 62 of file _grphics.cpp.
#define YSIZE_INCREMENT 30 |
Definition at line 63 of file _grphics.cpp.
DLLSYM void def_overlap_picture_ops | ( | BOOL8 | update | ) |
flush output
Clear the output buffer without waiting for acknowledge response.
If update is TRUE, make_picture_currents are issued on all windows, but they are still not waited for.
Definition at line 916 of file _grphics.cpp.
References HEADUNION::fd, FLUSH_OUT, getshm(), ONEOP::header, kick_daemon(), MAKECURRENT, maxsbfd, NULL, sbfds, and ONEOP::type.
00918 { 00919 ONEOP *newop; /*message structure */ 00920 INT16 fd; /*file descriptor */ 00921 00922 if (update) { 00923 for (fd = 1; fd < maxsbfd; fd++) { 00924 if (sbfds[fd].used) { 00925 /*get some space */ 00926 newop = (ONEOP *) getshm (sizeof (ONEOP)); 00927 if (newop != NULL) { 00928 newop->header.fd = fd; /*send the fd */ 00929 /*send the operator */ 00930 newop->type = MAKECURRENT; 00931 } 00932 } 00933 } 00934 } 00935 kick_daemon(FLUSH_OUT); /*empty shm */ 00936 }
WINCREATEFUNC create_func = WINFD::create |
Definition at line 67 of file _grphics.cpp.
void(*) overlap_func(BOOL8) = def_overlap_picture_ops |
Definition at line 68 of file _grphics.cpp.