# company_widget.h

Go to the documentation of this file.

    00001 /* $Id: company_widget.h 23600 2011-12-19 20:46:17Z truebrain $ */
    00002
    00003 /*
    00004  * This file is part of OpenTTD.
    00005  * OpenTTD is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2.
    00006  * OpenTTD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
    00007  * See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenTTD. If not, see <http://www.gnu.org/licenses/>.
    00008  */
    00009
    00012 #ifndef WIDGETS_COMPANY_WIDGET_H
    00013 #define WIDGETS_COMPANY_WIDGET_H
    00014
    00016 enum CompanyWidgets {
    00017   WID_C_CAPTION,
    00018
    00019   WID_C_FACE,
    00020   WID_C_FACE_TITLE,
    00021
    00022   WID_C_DESC_INAUGURATION,
    00023   WID_C_DESC_COLOUR_SCHEME,
    00024   WID_C_DESC_COLOUR_SCHEME_EXAMPLE,
    00025   WID_C_DESC_VEHICLE,
    00026   WID_C_DESC_VEHICLE_COUNTS,
    00027   WID_C_DESC_COMPANY_VALUE,
    00028   WID_C_DESC_INFRASTRUCTURE,
    00029   WID_C_DESC_INFRASTRUCTURE_COUNTS,
    00030
    00031   WID_C_SELECT_DESC_OWNERS,
    00032   WID_C_DESC_OWNERS,
    00033
    00034   WID_C_SELECT_BUTTONS,
    00035   WID_C_NEW_FACE,
    00036   WID_C_COLOUR_SCHEME,
    00037   WID_C_PRESIDENT_NAME,
    00038   WID_C_COMPANY_NAME,
    00039   WID_C_BUY_SHARE,
    00040   WID_C_SELL_SHARE,
    00041
    00042   WID_C_SELECT_VIEW_BUILD_HQ,
    00043   WID_C_VIEW_HQ,
    00044   WID_C_BUILD_HQ,
    00045
    00046   WID_C_SELECT_RELOCATE,
    00047   WID_C_RELOCATE_HQ,
    00048
    00049   WID_C_VIEW_INFRASTRUCTURE,
    00050
    00051   WID_C_HAS_PASSWORD,
    00052   WID_C_SELECT_MULTIPLAYER,
    00053   WID_C_COMPANY_PASSWORD,
    00054   WID_C_COMPANY_JOIN,
    00055 };
    00056
    00058 enum CompanyFinancesWidgets {
    00059   WID_CF_CAPTION,
    00060   WID_CF_TOGGLE_SIZE,
    00061   WID_CF_SEL_PANEL,
    00062   WID_CF_EXPS_CATEGORY,
    00063   WID_CF_EXPS_PRICE1,
    00064   WID_CF_EXPS_PRICE2,
    00065   WID_CF_EXPS_PRICE3,
    00066   WID_CF_TOTAL_PANEL,
    00067   WID_CF_SEL_MAXLOAN,
    00068   WID_CF_BALANCE_VALUE,
    00069   WID_CF_LOAN_VALUE,
    00070   WID_CF_LOAN_LINE,
    00071   WID_CF_TOTAL_VALUE,
    00072   WID_CF_MAXLOAN_GAP,
    00073   WID_CF_MAXLOAN_VALUE,
    00074   WID_CF_SEL_BUTTONS,
    00075   WID_CF_INCREASE_LOAN,
    00076   WID_CF_REPAY_LOAN,
    00077   WID_CF_INFRASTRUCTURE,
    00078 };
    00079
    00080
    00082 enum SelectCompanyLiveryWidgets {
    00083   WID_SCL_CAPTION,
    00084   WID_SCL_CLASS_GENERAL,
    00085   WID_SCL_CLASS_RAIL,
    00086   WID_SCL_CLASS_ROAD,
    00087   WID_SCL_CLASS_SHIP,
    00088   WID_SCL_CLASS_AIRCRAFT,
    00089   WID_SCL_SPACER_DROPDOWN,
    00090   WID_SCL_PRI_COL_DROPDOWN,
    00091   WID_SCL_SEC_COL_DROPDOWN,
    00092   WID_SCL_MATRIX,
    00093 };
    00094
    00095
    00101 enum SelectCompanyManagerFaceWidgets {
    00102   WID_SCMF_CAPTION,
    00103   WID_SCMF_TOGGLE_LARGE_SMALL,
    00104   WID_SCMF_SELECT_FACE,
    00105   WID_SCMF_CANCEL,
    00106   WID_SCMF_ACCEPT,
    00107   WID_SCMF_MALE,
    00108   WID_SCMF_FEMALE,
    00109   WID_SCMF_MALE2,
    00110   WID_SCMF_FEMALE2,
    00111   WID_SCMF_SEL_LOADSAVE,
    00112   WID_SCMF_SEL_MALEFEMALE,
    00113   WID_SCMF_SEL_PARTS,
    00114   WID_SCMF_RANDOM_NEW_FACE,
    00115   WID_SCMF_TOGGLE_LARGE_SMALL_BUTTON,
    00116   WID_SCMF_FACE,
    00117   WID_SCMF_LOAD,
    00118   WID_SCMF_FACECODE,
    00119   WID_SCMF_SAVE,
    00120   WID_SCMF_HAS_MOUSTACHE_EARRING_TEXT,
    00121   WID_SCMF_TIE_EARRING_TEXT,
    00122   WID_SCMF_LIPS_MOUSTACHE_TEXT,
    00123   WID_SCMF_HAS_GLASSES_TEXT,
    00124   WID_SCMF_HAIR_TEXT,
    00125   WID_SCMF_EYEBROWS_TEXT,
    00126   WID_SCMF_EYECOLOUR_TEXT,
    00127   WID_SCMF_GLASSES_TEXT,
    00128   WID_SCMF_NOSE_TEXT,
    00129   WID_SCMF_CHIN_TEXT,
    00130   WID_SCMF_JACKET_TEXT,
    00131   WID_SCMF_COLLAR_TEXT,
    00132   WID_SCMF_ETHNICITY_EUR,
    00133   WID_SCMF_ETHNICITY_AFR,
    00134   WID_SCMF_HAS_MOUSTACHE_EARRING,
    00135   WID_SCMF_HAS_GLASSES,
    00136   WID_SCMF_EYECOLOUR_L,
    00137   WID_SCMF_EYECOLOUR,
    00138   WID_SCMF_EYECOLOUR_R,
    00139   WID_SCMF_CHIN_L,
    00140   WID_SCMF_CHIN,
    00141   WID_SCMF_CHIN_R,
    00142   WID_SCMF_EYEBROWS_L,
    00143   WID_SCMF_EYEBROWS,
    00144   WID_SCMF_EYEBROWS_R,
    00145   WID_SCMF_LIPS_MOUSTACHE_L,
    00146   WID_SCMF_LIPS_MOUSTACHE,
    00147   WID_SCMF_LIPS_MOUSTACHE_R,
    00148   WID_SCMF_NOSE_L,
    00149   WID_SCMF_NOSE,
    00150   WID_SCMF_NOSE_R,
    00151   WID_SCMF_HAIR_L,
    00152   WID_SCMF_HAIR,
    00153   WID_SCMF_HAIR_R,
    00154   WID_SCMF_JACKET_L,
    00155   WID_SCMF_JACKET,
    00156   WID_SCMF_JACKET_R,
    00157   WID_SCMF_COLLAR_L,
    00158   WID_SCMF_COLLAR,
    00159   WID_SCMF_COLLAR_R,
    00160   WID_SCMF_TIE_EARRING_L,
    00161   WID_SCMF_TIE_EARRING,
    00162   WID_SCMF_TIE_EARRING_R,
    00163   WID_SCMF_GLASSES_L,
    00164   WID_SCMF_GLASSES,
    00165   WID_SCMF_GLASSES_R,
    00166 };
    00167
    00169 enum CompanyInfrastructureWidgets {
    00170   WID_CI_CAPTION,
    00171   WID_CI_RAIL_DESC,
    00172   WID_CI_RAIL_COUNT,
    00173   WID_CI_ROAD_DESC,
    00174   WID_CI_ROAD_COUNT,
    00175   WID_CI_WATER_DESC,
    00176   WID_CI_WATER_COUNT,
    00177   WID_CI_STATION_DESC,
    00178   WID_CI_STATION_COUNT,
    00179   WID_CI_TOTAL_DESC,
    00180   WID_CI_TOTAL,
    00181 };
    00182
    00184 enum BuyCompanyWidgets {
    00185   WID_BC_CAPTION,
    00186   WID_BC_FACE,
    00187   WID_BC_QUESTION,
    00188   WID_BC_NO,
    00189   WID_BC_YES,
    00190 };
    00191
    00192 #endif /* WIDGETS_COMPANY_WIDGET_H */