File: wxedit.h

package info (click to toggle)
golly 3.3-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 20,220 kB
  • sloc: cpp: 72,638; ansic: 25,919; python: 7,921; sh: 4,245; objc: 3,721; java: 2,781; xml: 1,362; makefile: 530; perl: 69
file content (34 lines) | stat: -rw-r--r-- 752 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
// This file is part of Golly.
// See docs/License.html for the copyright notice.

#ifndef _WXEDIT_H_
#define _WXEDIT_H_

// Edit bar routines:

void CreateEditBar(wxWindow* parent);
// Create edit bar window above given parent window,
// but underneath layer bar if present.

int EditBarHeight();
// Return height of edit bar.

void ResizeEditBar(int wd);
// Change width of edit bar.

void UpdateEditBar();
// Update state of buttons in edit bar.

void ToggleEditBar();
// Show/hide edit bar.

void ToggleAllStates();
// Show/hide all cell states in expanded edit bar.

void ShiftEditBar(int yamount);
// Shift edit bar up/down by given amount.

void CycleDrawingState(bool higher);
// Cycle current drawing state to next higher/lower state.

#endif